aboutsummaryrefslogtreecommitdiff
path: root/dev/sparktestsupport
diff options
context:
space:
mode:
authorSean Owen <sowen@cloudera.com>2016-05-17 09:55:53 +0100
committerSean Owen <sowen@cloudera.com>2016-05-17 09:55:53 +0100
commit122302cbf5cbf1133067a5acdffd6ab96765dafe (patch)
treefa0d66fc0db3ab4e54e07d004759e43f5631a21c /dev/sparktestsupport
parent8ad9f08c94e98317a9095dd53d737c1b8df6e29c (diff)
downloadspark-122302cbf5cbf1133067a5acdffd6ab96765dafe.tar.gz
spark-122302cbf5cbf1133067a5acdffd6ab96765dafe.tar.bz2
spark-122302cbf5cbf1133067a5acdffd6ab96765dafe.zip
[SPARK-15290][BUILD] Move annotations, like @Since / @DeveloperApi, into spark-tags
## What changes were proposed in this pull request? (See https://github.com/apache/spark/pull/12416 where most of this was already reviewed and committed; this is just the module structure and move part. This change does not move the annotations into test scope, which was the apparently problem last time.) Rename `spark-test-tags` -> `spark-tags`; move common annotations like `Since` to `spark-tags` ## How was this patch tested? Jenkins tests. Author: Sean Owen <sowen@cloudera.com> Closes #13074 from srowen/SPARK-15290.
Diffstat (limited to 'dev/sparktestsupport')
-rw-r--r--dev/sparktestsupport/modules.py19
1 files changed, 13 insertions, 6 deletions
diff --git a/dev/sparktestsupport/modules.py b/dev/sparktestsupport/modules.py
index f81db8e44a..d7eb44d7a5 100644
--- a/dev/sparktestsupport/modules.py
+++ b/dev/sparktestsupport/modules.py
@@ -92,10 +92,17 @@ class Module(object):
def __hash__(self):
return hash(self.name)
+tags = Module(
+ name="tags",
+ dependencies=[],
+ source_file_regexes=[
+ "common/tags/",
+ ]
+)
catalyst = Module(
name="catalyst",
- dependencies=[],
+ dependencies=[tags],
source_file_regexes=[
"sql/catalyst/",
],
@@ -165,7 +172,7 @@ hivecontext_compatibility = Module(
sketch = Module(
name="sketch",
- dependencies=[],
+ dependencies=[tags],
source_file_regexes=[
"common/sketch/",
],
@@ -177,7 +184,7 @@ sketch = Module(
graphx = Module(
name="graphx",
- dependencies=[],
+ dependencies=[tags],
source_file_regexes=[
"graphx/",
],
@@ -189,7 +196,7 @@ graphx = Module(
streaming = Module(
name="streaming",
- dependencies=[],
+ dependencies=[tags],
source_file_regexes=[
"streaming",
],
@@ -205,7 +212,7 @@ streaming = Module(
# fail other PRs.
streaming_kinesis_asl = Module(
name="streaming-kinesis-asl",
- dependencies=[],
+ dependencies=[tags],
source_file_regexes=[
"external/kinesis-asl/",
"external/kinesis-asl-assembly/",
@@ -270,7 +277,7 @@ streaming_flume_assembly = Module(
mllib_local = Module(
name="mllib-local",
- dependencies=[],
+ dependencies=[tags],
source_file_regexes=[
"mllib-local",
],