You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2014/10/07 08:22:32 UTC
[1/4] HBASE-12106 Move test annotations to test artifact (Enis
Soztutar)
Repository: hbase
Updated Branches:
refs/heads/0.98 401996efd -> 9efe35479
refs/heads/branch-1 de15b1fd9 -> 695261c4a
refs/heads/master eb6f19639 -> 3557a3235
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/SmallTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/SmallTests.java b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/SmallTests.java
new file mode 100644
index 0000000..1552617
--- /dev/null
+++ b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/SmallTests.java
@@ -0,0 +1,34 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hadoop.hbase.testclassification;
+
+/**
+ * Tag a test as 'small', meaning that the test class has the following
+ * characteristics:
+ * - can be run simultaneously with other small tests in the same JVM
+ * - ideally, last less than 15 seconds
+ * - does not use a cluster
+ *
+ * @see MediumTests
+ * @see LargeTests
+ * @see IntegrationTests
+ */
+public interface SmallTests {
+}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/VerySlowMapReduceTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/VerySlowMapReduceTests.java b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/VerySlowMapReduceTests.java
new file mode 100644
index 0000000..96a5e9a
--- /dev/null
+++ b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/VerySlowMapReduceTests.java
@@ -0,0 +1,42 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * Tag a test as related to mapreduce and taking longer than 5 minutes to run on public build
+ * infrastructure.
+ * @see org.apache.hadoop.hbase.testclassification.ClientTests
+ * @see org.apache.hadoop.hbase.testclassification.CoprocessorTests
+ * @see org.apache.hadoop.hbase.testclassification.FilterTests
+ * @see org.apache.hadoop.hbase.testclassification.FlakeyTests
+ * @see org.apache.hadoop.hbase.testclassification.IOTests
+ * @see org.apache.hadoop.hbase.testclassification.MapReduceTests
+ * @see org.apache.hadoop.hbase.testclassification.MasterTests
+ * @see org.apache.hadoop.hbase.testclassification.MiscTests
+ * @see org.apache.hadoop.hbase.testclassification.RegionServerTests
+ * @see org.apache.hadoop.hbase.testclassification.ReplicationTests
+ * @see org.apache.hadoop.hbase.testclassification.RPCTests
+ * @see org.apache.hadoop.hbase.testclassification.SecurityTests
+ * @see org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
+ * @see org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
+ */
+package org.apache.hadoop.hbase.testclassification;
+
+
+public interface VerySlowMapReduceTests {
+}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/VerySlowRegionServerTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/VerySlowRegionServerTests.java b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/VerySlowRegionServerTests.java
new file mode 100644
index 0000000..3caa218
--- /dev/null
+++ b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/VerySlowRegionServerTests.java
@@ -0,0 +1,42 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+/**
+ * Tag a test as region tests which takes longer than 5 minutes to run on public build
+ * infrastructure.
+ * @see org.apache.hadoop.hbase.testclassification.ClientTests
+ * @see org.apache.hadoop.hbase.testclassification.CoprocessorTests
+ * @see org.apache.hadoop.hbase.testclassification.FilterTests
+ * @see org.apache.hadoop.hbase.testclassification.FlakeyTests
+ * @see org.apache.hadoop.hbase.testclassification.IOTests
+ * @see org.apache.hadoop.hbase.testclassification.MapReduceTests
+ * @see org.apache.hadoop.hbase.testclassification.MasterTests
+ * @see org.apache.hadoop.hbase.testclassification.MiscTests
+ * @see org.apache.hadoop.hbase.testclassification.RegionServerTests
+ * @see org.apache.hadoop.hbase.testclassification.ReplicationTests
+ * @see org.apache.hadoop.hbase.testclassification.RPCTests
+ * @see org.apache.hadoop.hbase.testclassification.SecurityTests
+ * @see org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
+ * @see org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
+ */
+package org.apache.hadoop.hbase.testclassification;
+
+public interface VerySlowRegionServerTests {
+}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-client/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-client/pom.xml b/hbase-client/pom.xml
index 60b39e6..d361e55 100644
--- a/hbase-client/pom.xml
+++ b/hbase-client/pom.xml
@@ -82,6 +82,12 @@
</dependency>
<dependency>
<groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-annotations</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hbase</groupId>
<artifactId>hbase-common</artifactId>
</dependency>
<dependency>
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-common/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-common/pom.xml b/hbase-common/pom.xml
index f242128..2c51cd4 100644
--- a/hbase-common/pom.xml
+++ b/hbase-common/pom.xml
@@ -181,6 +181,12 @@
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-annotations</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-annotations</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
<!-- General dependencies -->
<dependency>
<groupId>com.google.guava</groupId>
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-examples/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-examples/pom.xml b/hbase-examples/pom.xml
index 9aa19a8..52c3163 100644
--- a/hbase-examples/pom.xml
+++ b/hbase-examples/pom.xml
@@ -64,6 +64,12 @@
</build>
<dependencies>
<dependency>
+ <groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-annotations</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-common</artifactId>
</dependency>
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-it/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-it/pom.xml b/hbase-it/pom.xml
index 710a393..f4b6b2e 100644
--- a/hbase-it/pom.xml
+++ b/hbase-it/pom.xml
@@ -139,6 +139,12 @@
<!-- Intra-project dependencies -->
<dependency>
<groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-annotations</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hbase</groupId>
<artifactId>hbase-common</artifactId>
<type>jar</type>
</dependency>
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-prefix-tree/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-prefix-tree/pom.xml b/hbase-prefix-tree/pom.xml
index 0704eb8..2c0dd36 100644
--- a/hbase-prefix-tree/pom.xml
+++ b/hbase-prefix-tree/pom.xml
@@ -80,6 +80,12 @@
<version>${project.version}</version>
<classifier>tests</classifier>
</dependency>
+ <dependency>
+ <groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-annotations</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-common</artifactId>
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-server/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-server/pom.xml b/hbase-server/pom.xml
index d5054a9..c114cba 100644
--- a/hbase-server/pom.xml
+++ b/hbase-server/pom.xml
@@ -306,6 +306,12 @@
<scope>test</scope>
</dependency>
<dependency>
+ <groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-annotations</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
</dependency>
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-shell/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-shell/pom.xml b/hbase-shell/pom.xml
index 692e8e5..79ebdca 100644
--- a/hbase-shell/pom.xml
+++ b/hbase-shell/pom.xml
@@ -160,6 +160,12 @@
</dependency>
<dependency>
<groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-annotations</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hbase</groupId>
<artifactId>hbase-protocol</artifactId>
</dependency>
<dependency>
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-thrift/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-thrift/pom.xml b/hbase-thrift/pom.xml
index 7126407..6d573d5 100644
--- a/hbase-thrift/pom.xml
+++ b/hbase-thrift/pom.xml
@@ -144,6 +144,12 @@
</dependency>
<dependency>
<groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-annotations</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hbase</groupId>
<artifactId>hbase-protocol</artifactId>
</dependency>
<dependency>
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 2d43c95..abca205 100644
--- a/pom.xml
+++ b/pom.xml
@@ -991,6 +991,13 @@
</dependency>
<dependency>
<groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-annotations</artifactId>
+ <version>${project.version}</version>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hbase</groupId>
<artifactId>hbase-common</artifactId>
<version>${project.version}</version>
</dependency>
[4/4] git commit: HBASE-12106 Move test annotations to test artifact
(Enis Soztutar)
Posted by ap...@apache.org.
HBASE-12106 Move test annotations to test artifact (Enis Soztutar)
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/9efe3547
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/9efe3547
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/9efe3547
Branch: refs/heads/0.98
Commit: 9efe354798d75f6b68c9e5e9cdef5fdff66b6e7c
Parents: 401996e
Author: Andrew Purtell <ap...@apache.org>
Authored: Mon Oct 6 23:16:58 2014 -0700
Committer: Andrew Purtell <ap...@apache.org>
Committed: Mon Oct 6 23:17:35 2014 -0700
----------------------------------------------------------------------
.../apache/hadoop/hbase/IntegrationTests.java | 39 --------------------
.../org/apache/hadoop/hbase/LargeTests.java | 38 -------------------
.../org/apache/hadoop/hbase/MediumTests.java | 37 -------------------
.../org/apache/hadoop/hbase/SmallTests.java | 34 -----------------
.../apache/hadoop/hbase/IntegrationTests.java | 39 ++++++++++++++++++++
.../org/apache/hadoop/hbase/LargeTests.java | 38 +++++++++++++++++++
.../org/apache/hadoop/hbase/MediumTests.java | 37 +++++++++++++++++++
.../org/apache/hadoop/hbase/SmallTests.java | 34 +++++++++++++++++
hbase-client/pom.xml | 6 +++
hbase-common/pom.xml | 6 +++
hbase-examples/pom.xml | 6 +++
hbase-it/pom.xml | 6 +++
hbase-prefix-tree/pom.xml | 6 +++
hbase-server/pom.xml | 6 +++
hbase-shell/pom.xml | 6 +++
hbase-thrift/pom.xml | 6 +++
pom.xml | 7 ++++
17 files changed, 203 insertions(+), 148 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/9efe3547/hbase-annotations/src/main/java/org/apache/hadoop/hbase/IntegrationTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/IntegrationTests.java b/hbase-annotations/src/main/java/org/apache/hadoop/hbase/IntegrationTests.java
deleted file mode 100644
index d429e24..0000000
--- a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/IntegrationTests.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.hadoop.hbase;
-
-/**
- * Tag a test as 'integration/system' test, meaning that the test class has the following
- * characteristics: <ul>
- * <li> Possibly takes hours to complete</li>
- * <li> Can be run on a mini cluster or an actual cluster</li>
- * <li> Can make changes to the given cluster (starting stopping daemons, etc)</li>
- * <li> Should not be run in parallel of other integration tests</li>
- * </ul>
- *
- * Integration / System tests should have a class name starting with "IntegrationTest", and
- * should be annotated with @Category(IntegrationTests.class). Integration tests can be run
- * using the IntegrationTestsDriver class or from mvn verify.
- *
- * @see SmallTests
- * @see MediumTests
- * @see LargeTests
- */
-public interface IntegrationTests {
-}
http://git-wip-us.apache.org/repos/asf/hbase/blob/9efe3547/hbase-annotations/src/main/java/org/apache/hadoop/hbase/LargeTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/LargeTests.java b/hbase-annotations/src/main/java/org/apache/hadoop/hbase/LargeTests.java
deleted file mode 100644
index 958ffd7..0000000
--- a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/LargeTests.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.hadoop.hbase;
-
-/**
- * Tag a test as 'large', meaning that the test class has the following
- * characteristics:
- * - executed in an isolated JVM. Tests can however be executed in different
- * JVM on the same machine simultaneously.
- * - will not have to be executed by the developer before submitting a bug
- * - ideally, last less than 2 minutes to help parallelization
- *
- * It the worst case compared to small or medium, use it only for tests that
- * you cannot put in the other categories
- *
- * @see SmallTests
- * @see MediumTests
- * @see IntegrationTests
- */
-public interface LargeTests {
-}
http://git-wip-us.apache.org/repos/asf/hbase/blob/9efe3547/hbase-annotations/src/main/java/org/apache/hadoop/hbase/MediumTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/MediumTests.java b/hbase-annotations/src/main/java/org/apache/hadoop/hbase/MediumTests.java
deleted file mode 100644
index a51a2c9..0000000
--- a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/MediumTests.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.hadoop.hbase;
-
-/**
- * Tag a test as 'Medium', meaning that the test class has the following
- * characteristics:
- * - executed in an isolated JVM. Tests can however be executed in different
- * JVM on the same machine simultaneously.
- * - will have to be executed by the developer before submitting a bug
- * - ideally, last less than 1 minutes to help parallelization
- *
- * Use it for tests that cannot be tagged as 'Small'.
- *
- * @see SmallTests
- * @see LargeTests
- * @see IntegrationTests
- */
-public interface MediumTests {
-}
http://git-wip-us.apache.org/repos/asf/hbase/blob/9efe3547/hbase-annotations/src/main/java/org/apache/hadoop/hbase/SmallTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/SmallTests.java b/hbase-annotations/src/main/java/org/apache/hadoop/hbase/SmallTests.java
deleted file mode 100644
index 6953667..0000000
--- a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/SmallTests.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.hadoop.hbase;
-
-/**
- * Tag a test as 'small', meaning that the test class has the following
- * characteristics:
- * - can be run simultaneously with other small tests in the same JVM
- * - ideally, last less than 15 seconds
- * - does not use a cluster
- *
- * @see MediumTests
- * @see LargeTests
- * @see IntegrationTests
- */
-public interface SmallTests {
-}
http://git-wip-us.apache.org/repos/asf/hbase/blob/9efe3547/hbase-annotations/src/test/java/org/apache/hadoop/hbase/IntegrationTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/test/java/org/apache/hadoop/hbase/IntegrationTests.java b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/IntegrationTests.java
new file mode 100644
index 0000000..d429e24
--- /dev/null
+++ b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/IntegrationTests.java
@@ -0,0 +1,39 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hadoop.hbase;
+
+/**
+ * Tag a test as 'integration/system' test, meaning that the test class has the following
+ * characteristics: <ul>
+ * <li> Possibly takes hours to complete</li>
+ * <li> Can be run on a mini cluster or an actual cluster</li>
+ * <li> Can make changes to the given cluster (starting stopping daemons, etc)</li>
+ * <li> Should not be run in parallel of other integration tests</li>
+ * </ul>
+ *
+ * Integration / System tests should have a class name starting with "IntegrationTest", and
+ * should be annotated with @Category(IntegrationTests.class). Integration tests can be run
+ * using the IntegrationTestsDriver class or from mvn verify.
+ *
+ * @see SmallTests
+ * @see MediumTests
+ * @see LargeTests
+ */
+public interface IntegrationTests {
+}
http://git-wip-us.apache.org/repos/asf/hbase/blob/9efe3547/hbase-annotations/src/test/java/org/apache/hadoop/hbase/LargeTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/test/java/org/apache/hadoop/hbase/LargeTests.java b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/LargeTests.java
new file mode 100644
index 0000000..958ffd7
--- /dev/null
+++ b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/LargeTests.java
@@ -0,0 +1,38 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hadoop.hbase;
+
+/**
+ * Tag a test as 'large', meaning that the test class has the following
+ * characteristics:
+ * - executed in an isolated JVM. Tests can however be executed in different
+ * JVM on the same machine simultaneously.
+ * - will not have to be executed by the developer before submitting a bug
+ * - ideally, last less than 2 minutes to help parallelization
+ *
+ * It the worst case compared to small or medium, use it only for tests that
+ * you cannot put in the other categories
+ *
+ * @see SmallTests
+ * @see MediumTests
+ * @see IntegrationTests
+ */
+public interface LargeTests {
+}
http://git-wip-us.apache.org/repos/asf/hbase/blob/9efe3547/hbase-annotations/src/test/java/org/apache/hadoop/hbase/MediumTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/test/java/org/apache/hadoop/hbase/MediumTests.java b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/MediumTests.java
new file mode 100644
index 0000000..a51a2c9
--- /dev/null
+++ b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/MediumTests.java
@@ -0,0 +1,37 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hadoop.hbase;
+
+/**
+ * Tag a test as 'Medium', meaning that the test class has the following
+ * characteristics:
+ * - executed in an isolated JVM. Tests can however be executed in different
+ * JVM on the same machine simultaneously.
+ * - will have to be executed by the developer before submitting a bug
+ * - ideally, last less than 1 minutes to help parallelization
+ *
+ * Use it for tests that cannot be tagged as 'Small'.
+ *
+ * @see SmallTests
+ * @see LargeTests
+ * @see IntegrationTests
+ */
+public interface MediumTests {
+}
http://git-wip-us.apache.org/repos/asf/hbase/blob/9efe3547/hbase-annotations/src/test/java/org/apache/hadoop/hbase/SmallTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/test/java/org/apache/hadoop/hbase/SmallTests.java b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/SmallTests.java
new file mode 100644
index 0000000..6953667
--- /dev/null
+++ b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/SmallTests.java
@@ -0,0 +1,34 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hadoop.hbase;
+
+/**
+ * Tag a test as 'small', meaning that the test class has the following
+ * characteristics:
+ * - can be run simultaneously with other small tests in the same JVM
+ * - ideally, last less than 15 seconds
+ * - does not use a cluster
+ *
+ * @see MediumTests
+ * @see LargeTests
+ * @see IntegrationTests
+ */
+public interface SmallTests {
+}
http://git-wip-us.apache.org/repos/asf/hbase/blob/9efe3547/hbase-client/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-client/pom.xml b/hbase-client/pom.xml
index b635fa1..bc7a801 100644
--- a/hbase-client/pom.xml
+++ b/hbase-client/pom.xml
@@ -82,6 +82,12 @@
</dependency>
<dependency>
<groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-annotations</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hbase</groupId>
<artifactId>hbase-common</artifactId>
</dependency>
<dependency>
http://git-wip-us.apache.org/repos/asf/hbase/blob/9efe3547/hbase-common/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-common/pom.xml b/hbase-common/pom.xml
index a714cad..fffe9d6 100644
--- a/hbase-common/pom.xml
+++ b/hbase-common/pom.xml
@@ -181,6 +181,12 @@
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-annotations</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-annotations</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
<!-- General dependencies -->
<dependency>
<groupId>com.google.guava</groupId>
http://git-wip-us.apache.org/repos/asf/hbase/blob/9efe3547/hbase-examples/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-examples/pom.xml b/hbase-examples/pom.xml
index 1bc0a0c..676892d 100644
--- a/hbase-examples/pom.xml
+++ b/hbase-examples/pom.xml
@@ -64,6 +64,12 @@
</build>
<dependencies>
<dependency>
+ <groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-annotations</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-common</artifactId>
</dependency>
http://git-wip-us.apache.org/repos/asf/hbase/blob/9efe3547/hbase-it/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-it/pom.xml b/hbase-it/pom.xml
index 84c45c7..f5c857e 100644
--- a/hbase-it/pom.xml
+++ b/hbase-it/pom.xml
@@ -139,6 +139,12 @@
<!-- Intra-project dependencies -->
<dependency>
<groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-annotations</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hbase</groupId>
<artifactId>hbase-common</artifactId>
<type>jar</type>
</dependency>
http://git-wip-us.apache.org/repos/asf/hbase/blob/9efe3547/hbase-prefix-tree/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-prefix-tree/pom.xml b/hbase-prefix-tree/pom.xml
index 997ef5e..08b4f5e 100644
--- a/hbase-prefix-tree/pom.xml
+++ b/hbase-prefix-tree/pom.xml
@@ -80,6 +80,12 @@
<version>${project.version}</version>
<classifier>tests</classifier>
</dependency>
+ <dependency>
+ <groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-annotations</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-common</artifactId>
http://git-wip-us.apache.org/repos/asf/hbase/blob/9efe3547/hbase-server/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-server/pom.xml b/hbase-server/pom.xml
index 6fb1f0c..970bbcb 100644
--- a/hbase-server/pom.xml
+++ b/hbase-server/pom.xml
@@ -299,6 +299,12 @@
<type>test-jar</type>
</dependency>
<dependency>
+ <groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-annotations</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
</dependency>
http://git-wip-us.apache.org/repos/asf/hbase/blob/9efe3547/hbase-shell/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-shell/pom.xml b/hbase-shell/pom.xml
index 57fbc58..1738063 100644
--- a/hbase-shell/pom.xml
+++ b/hbase-shell/pom.xml
@@ -160,6 +160,12 @@
</dependency>
<dependency>
<groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-annotations</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hbase</groupId>
<artifactId>hbase-protocol</artifactId>
</dependency>
<dependency>
http://git-wip-us.apache.org/repos/asf/hbase/blob/9efe3547/hbase-thrift/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-thrift/pom.xml b/hbase-thrift/pom.xml
index 0b5e92b..1f4a626 100644
--- a/hbase-thrift/pom.xml
+++ b/hbase-thrift/pom.xml
@@ -144,6 +144,12 @@
</dependency>
<dependency>
<groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-annotations</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hbase</groupId>
<artifactId>hbase-protocol</artifactId>
</dependency>
<dependency>
http://git-wip-us.apache.org/repos/asf/hbase/blob/9efe3547/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 42be9f7..0f5abd9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1011,6 +1011,13 @@
</dependency>
<dependency>
<groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-annotations</artifactId>
+ <version>${project.version}</version>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hbase</groupId>
<artifactId>hbase-common</artifactId>
<version>${project.version}</version>
</dependency>
[3/4] git commit: HBASE-12106 Move test annotations to test artifact
(Enis Soztutar)
Posted by ap...@apache.org.
HBASE-12106 Move test annotations to test artifact (Enis Soztutar)
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/695261c4
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/695261c4
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/695261c4
Branch: refs/heads/branch-1
Commit: 695261c4a9704f043fb006caa24a8eada1656ae1
Parents: de15b1f
Author: Andrew Purtell <ap...@apache.org>
Authored: Mon Oct 6 23:16:58 2014 -0700
Committer: Andrew Purtell <ap...@apache.org>
Committed: Mon Oct 6 23:16:58 2014 -0700
----------------------------------------------------------------------
.../apache/hadoop/hbase/IntegrationTests.java | 39 --------------------
.../org/apache/hadoop/hbase/LargeTests.java | 38 -------------------
.../org/apache/hadoop/hbase/MediumTests.java | 37 -------------------
.../org/apache/hadoop/hbase/SmallTests.java | 34 -----------------
.../apache/hadoop/hbase/IntegrationTests.java | 39 ++++++++++++++++++++
.../org/apache/hadoop/hbase/LargeTests.java | 38 +++++++++++++++++++
.../org/apache/hadoop/hbase/MediumTests.java | 37 +++++++++++++++++++
.../org/apache/hadoop/hbase/SmallTests.java | 34 +++++++++++++++++
hbase-client/pom.xml | 6 +++
hbase-common/pom.xml | 6 +++
hbase-examples/pom.xml | 6 +++
hbase-it/pom.xml | 6 +++
hbase-prefix-tree/pom.xml | 6 +++
hbase-server/pom.xml | 6 +++
hbase-shell/pom.xml | 6 +++
hbase-thrift/pom.xml | 6 +++
pom.xml | 7 ++++
17 files changed, 203 insertions(+), 148 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/695261c4/hbase-annotations/src/main/java/org/apache/hadoop/hbase/IntegrationTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/IntegrationTests.java b/hbase-annotations/src/main/java/org/apache/hadoop/hbase/IntegrationTests.java
deleted file mode 100644
index d429e24..0000000
--- a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/IntegrationTests.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.hadoop.hbase;
-
-/**
- * Tag a test as 'integration/system' test, meaning that the test class has the following
- * characteristics: <ul>
- * <li> Possibly takes hours to complete</li>
- * <li> Can be run on a mini cluster or an actual cluster</li>
- * <li> Can make changes to the given cluster (starting stopping daemons, etc)</li>
- * <li> Should not be run in parallel of other integration tests</li>
- * </ul>
- *
- * Integration / System tests should have a class name starting with "IntegrationTest", and
- * should be annotated with @Category(IntegrationTests.class). Integration tests can be run
- * using the IntegrationTestsDriver class or from mvn verify.
- *
- * @see SmallTests
- * @see MediumTests
- * @see LargeTests
- */
-public interface IntegrationTests {
-}
http://git-wip-us.apache.org/repos/asf/hbase/blob/695261c4/hbase-annotations/src/main/java/org/apache/hadoop/hbase/LargeTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/LargeTests.java b/hbase-annotations/src/main/java/org/apache/hadoop/hbase/LargeTests.java
deleted file mode 100644
index 958ffd7..0000000
--- a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/LargeTests.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.hadoop.hbase;
-
-/**
- * Tag a test as 'large', meaning that the test class has the following
- * characteristics:
- * - executed in an isolated JVM. Tests can however be executed in different
- * JVM on the same machine simultaneously.
- * - will not have to be executed by the developer before submitting a bug
- * - ideally, last less than 2 minutes to help parallelization
- *
- * It the worst case compared to small or medium, use it only for tests that
- * you cannot put in the other categories
- *
- * @see SmallTests
- * @see MediumTests
- * @see IntegrationTests
- */
-public interface LargeTests {
-}
http://git-wip-us.apache.org/repos/asf/hbase/blob/695261c4/hbase-annotations/src/main/java/org/apache/hadoop/hbase/MediumTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/MediumTests.java b/hbase-annotations/src/main/java/org/apache/hadoop/hbase/MediumTests.java
deleted file mode 100644
index a51a2c9..0000000
--- a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/MediumTests.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.hadoop.hbase;
-
-/**
- * Tag a test as 'Medium', meaning that the test class has the following
- * characteristics:
- * - executed in an isolated JVM. Tests can however be executed in different
- * JVM on the same machine simultaneously.
- * - will have to be executed by the developer before submitting a bug
- * - ideally, last less than 1 minutes to help parallelization
- *
- * Use it for tests that cannot be tagged as 'Small'.
- *
- * @see SmallTests
- * @see LargeTests
- * @see IntegrationTests
- */
-public interface MediumTests {
-}
http://git-wip-us.apache.org/repos/asf/hbase/blob/695261c4/hbase-annotations/src/main/java/org/apache/hadoop/hbase/SmallTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/SmallTests.java b/hbase-annotations/src/main/java/org/apache/hadoop/hbase/SmallTests.java
deleted file mode 100644
index 6953667..0000000
--- a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/SmallTests.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.hadoop.hbase;
-
-/**
- * Tag a test as 'small', meaning that the test class has the following
- * characteristics:
- * - can be run simultaneously with other small tests in the same JVM
- * - ideally, last less than 15 seconds
- * - does not use a cluster
- *
- * @see MediumTests
- * @see LargeTests
- * @see IntegrationTests
- */
-public interface SmallTests {
-}
http://git-wip-us.apache.org/repos/asf/hbase/blob/695261c4/hbase-annotations/src/test/java/org/apache/hadoop/hbase/IntegrationTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/test/java/org/apache/hadoop/hbase/IntegrationTests.java b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/IntegrationTests.java
new file mode 100644
index 0000000..d429e24
--- /dev/null
+++ b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/IntegrationTests.java
@@ -0,0 +1,39 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hadoop.hbase;
+
+/**
+ * Tag a test as 'integration/system' test, meaning that the test class has the following
+ * characteristics: <ul>
+ * <li> Possibly takes hours to complete</li>
+ * <li> Can be run on a mini cluster or an actual cluster</li>
+ * <li> Can make changes to the given cluster (starting stopping daemons, etc)</li>
+ * <li> Should not be run in parallel of other integration tests</li>
+ * </ul>
+ *
+ * Integration / System tests should have a class name starting with "IntegrationTest", and
+ * should be annotated with @Category(IntegrationTests.class). Integration tests can be run
+ * using the IntegrationTestsDriver class or from mvn verify.
+ *
+ * @see SmallTests
+ * @see MediumTests
+ * @see LargeTests
+ */
+public interface IntegrationTests {
+}
http://git-wip-us.apache.org/repos/asf/hbase/blob/695261c4/hbase-annotations/src/test/java/org/apache/hadoop/hbase/LargeTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/test/java/org/apache/hadoop/hbase/LargeTests.java b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/LargeTests.java
new file mode 100644
index 0000000..958ffd7
--- /dev/null
+++ b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/LargeTests.java
@@ -0,0 +1,38 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hadoop.hbase;
+
+/**
+ * Tag a test as 'large', meaning that the test class has the following
+ * characteristics:
+ * - executed in an isolated JVM. Tests can however be executed in different
+ * JVM on the same machine simultaneously.
+ * - will not have to be executed by the developer before submitting a bug
+ * - ideally, last less than 2 minutes to help parallelization
+ *
+ * It the worst case compared to small or medium, use it only for tests that
+ * you cannot put in the other categories
+ *
+ * @see SmallTests
+ * @see MediumTests
+ * @see IntegrationTests
+ */
+public interface LargeTests {
+}
http://git-wip-us.apache.org/repos/asf/hbase/blob/695261c4/hbase-annotations/src/test/java/org/apache/hadoop/hbase/MediumTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/test/java/org/apache/hadoop/hbase/MediumTests.java b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/MediumTests.java
new file mode 100644
index 0000000..a51a2c9
--- /dev/null
+++ b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/MediumTests.java
@@ -0,0 +1,37 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hadoop.hbase;
+
+/**
+ * Tag a test as 'Medium', meaning that the test class has the following
+ * characteristics:
+ * - executed in an isolated JVM. Tests can however be executed in different
+ * JVM on the same machine simultaneously.
+ * - will have to be executed by the developer before submitting a bug
+ * - ideally, last less than 1 minutes to help parallelization
+ *
+ * Use it for tests that cannot be tagged as 'Small'.
+ *
+ * @see SmallTests
+ * @see LargeTests
+ * @see IntegrationTests
+ */
+public interface MediumTests {
+}
http://git-wip-us.apache.org/repos/asf/hbase/blob/695261c4/hbase-annotations/src/test/java/org/apache/hadoop/hbase/SmallTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/test/java/org/apache/hadoop/hbase/SmallTests.java b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/SmallTests.java
new file mode 100644
index 0000000..6953667
--- /dev/null
+++ b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/SmallTests.java
@@ -0,0 +1,34 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hadoop.hbase;
+
+/**
+ * Tag a test as 'small', meaning that the test class has the following
+ * characteristics:
+ * - can be run simultaneously with other small tests in the same JVM
+ * - ideally, last less than 15 seconds
+ * - does not use a cluster
+ *
+ * @see MediumTests
+ * @see LargeTests
+ * @see IntegrationTests
+ */
+public interface SmallTests {
+}
http://git-wip-us.apache.org/repos/asf/hbase/blob/695261c4/hbase-client/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-client/pom.xml b/hbase-client/pom.xml
index 24248e4..28b8143 100644
--- a/hbase-client/pom.xml
+++ b/hbase-client/pom.xml
@@ -82,6 +82,12 @@
</dependency>
<dependency>
<groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-annotations</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hbase</groupId>
<artifactId>hbase-common</artifactId>
</dependency>
<dependency>
http://git-wip-us.apache.org/repos/asf/hbase/blob/695261c4/hbase-common/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-common/pom.xml b/hbase-common/pom.xml
index 3b908de..ad78b50 100644
--- a/hbase-common/pom.xml
+++ b/hbase-common/pom.xml
@@ -181,6 +181,12 @@
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-annotations</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-annotations</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
<!-- General dependencies -->
<dependency>
<groupId>com.google.guava</groupId>
http://git-wip-us.apache.org/repos/asf/hbase/blob/695261c4/hbase-examples/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-examples/pom.xml b/hbase-examples/pom.xml
index 849683e..1f9a2a1 100644
--- a/hbase-examples/pom.xml
+++ b/hbase-examples/pom.xml
@@ -64,6 +64,12 @@
</build>
<dependencies>
<dependency>
+ <groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-annotations</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-common</artifactId>
</dependency>
http://git-wip-us.apache.org/repos/asf/hbase/blob/695261c4/hbase-it/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-it/pom.xml b/hbase-it/pom.xml
index d5fbc58..80d9b9c 100644
--- a/hbase-it/pom.xml
+++ b/hbase-it/pom.xml
@@ -139,6 +139,12 @@
<!-- Intra-project dependencies -->
<dependency>
<groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-annotations</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hbase</groupId>
<artifactId>hbase-common</artifactId>
<type>jar</type>
</dependency>
http://git-wip-us.apache.org/repos/asf/hbase/blob/695261c4/hbase-prefix-tree/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-prefix-tree/pom.xml b/hbase-prefix-tree/pom.xml
index 655fa01..e38abf0 100644
--- a/hbase-prefix-tree/pom.xml
+++ b/hbase-prefix-tree/pom.xml
@@ -80,6 +80,12 @@
<version>${project.version}</version>
<classifier>tests</classifier>
</dependency>
+ <dependency>
+ <groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-annotations</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-common</artifactId>
http://git-wip-us.apache.org/repos/asf/hbase/blob/695261c4/hbase-server/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-server/pom.xml b/hbase-server/pom.xml
index 3b25466..6d3697e 100644
--- a/hbase-server/pom.xml
+++ b/hbase-server/pom.xml
@@ -306,6 +306,12 @@
<scope>test</scope>
</dependency>
<dependency>
+ <groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-annotations</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
</dependency>
http://git-wip-us.apache.org/repos/asf/hbase/blob/695261c4/hbase-shell/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-shell/pom.xml b/hbase-shell/pom.xml
index cb63bc2..49ef6c2 100644
--- a/hbase-shell/pom.xml
+++ b/hbase-shell/pom.xml
@@ -160,6 +160,12 @@
</dependency>
<dependency>
<groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-annotations</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hbase</groupId>
<artifactId>hbase-protocol</artifactId>
</dependency>
<dependency>
http://git-wip-us.apache.org/repos/asf/hbase/blob/695261c4/hbase-thrift/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-thrift/pom.xml b/hbase-thrift/pom.xml
index 456172b..1643f07 100644
--- a/hbase-thrift/pom.xml
+++ b/hbase-thrift/pom.xml
@@ -144,6 +144,12 @@
</dependency>
<dependency>
<groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-annotations</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hbase</groupId>
<artifactId>hbase-protocol</artifactId>
</dependency>
<dependency>
http://git-wip-us.apache.org/repos/asf/hbase/blob/695261c4/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 5ee37d3..3c93ac7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1032,6 +1032,13 @@
</dependency>
<dependency>
<groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-annotations</artifactId>
+ <version>${project.version}</version>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hbase</groupId>
<artifactId>hbase-common</artifactId>
<version>${project.version}</version>
</dependency>
[2/4] git commit: HBASE-12106 Move test annotations to test artifact
(Enis Soztutar)
Posted by ap...@apache.org.
HBASE-12106 Move test annotations to test artifact (Enis Soztutar)
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/3557a323
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/3557a323
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/3557a323
Branch: refs/heads/master
Commit: 3557a3235210b178d9c6cd3355c68d0a7155243e
Parents: eb6f196
Author: Andrew Purtell <ap...@apache.org>
Authored: Mon Oct 6 23:16:22 2014 -0700
Committer: Andrew Purtell <ap...@apache.org>
Committed: Mon Oct 6 23:16:22 2014 -0700
----------------------------------------------------------------------
.../hbase/testclassification/ClientTests.java | 41 -------------------
.../testclassification/CoprocessorTests.java | 41 -------------------
.../hbase/testclassification/FilterTests.java | 41 -------------------
.../hbase/testclassification/FlakeyTests.java | 40 -------------------
.../hbase/testclassification/IOTests.java | 41 -------------------
.../testclassification/IntegrationTests.java | 39 ------------------
.../hbase/testclassification/LargeTests.java | 38 ------------------
.../testclassification/MapReduceTests.java | 40 -------------------
.../hbase/testclassification/MasterTests.java | 40 -------------------
.../hbase/testclassification/MediumTests.java | 37 -----------------
.../hbase/testclassification/MiscTests.java | 40 -------------------
.../hbase/testclassification/RPCTests.java | 40 -------------------
.../testclassification/RegionServerTests.java | 41 -------------------
.../testclassification/ReplicationTests.java | 40 -------------------
.../hbase/testclassification/RestTests.java | 41 -------------------
.../hbase/testclassification/SecurityTests.java | 42 --------------------
.../hbase/testclassification/SmallTests.java | 34 ----------------
.../VerySlowMapReduceTests.java | 42 --------------------
.../VerySlowRegionServerTests.java | 42 --------------------
.../hbase/testclassification/ClientTests.java | 41 +++++++++++++++++++
.../testclassification/CoprocessorTests.java | 41 +++++++++++++++++++
.../hbase/testclassification/FilterTests.java | 41 +++++++++++++++++++
.../hbase/testclassification/FlakeyTests.java | 40 +++++++++++++++++++
.../hbase/testclassification/IOTests.java | 41 +++++++++++++++++++
.../testclassification/IntegrationTests.java | 39 ++++++++++++++++++
.../hbase/testclassification/LargeTests.java | 38 ++++++++++++++++++
.../testclassification/MapReduceTests.java | 40 +++++++++++++++++++
.../hbase/testclassification/MasterTests.java | 40 +++++++++++++++++++
.../hbase/testclassification/MediumTests.java | 37 +++++++++++++++++
.../hbase/testclassification/MiscTests.java | 40 +++++++++++++++++++
.../hbase/testclassification/RPCTests.java | 40 +++++++++++++++++++
.../testclassification/RegionServerTests.java | 41 +++++++++++++++++++
.../testclassification/ReplicationTests.java | 40 +++++++++++++++++++
.../hbase/testclassification/RestTests.java | 41 +++++++++++++++++++
.../hbase/testclassification/SecurityTests.java | 42 ++++++++++++++++++++
.../hbase/testclassification/SmallTests.java | 34 ++++++++++++++++
.../VerySlowMapReduceTests.java | 42 ++++++++++++++++++++
.../VerySlowRegionServerTests.java | 42 ++++++++++++++++++++
hbase-client/pom.xml | 6 +++
hbase-common/pom.xml | 6 +++
hbase-examples/pom.xml | 6 +++
hbase-it/pom.xml | 6 +++
hbase-prefix-tree/pom.xml | 6 +++
hbase-server/pom.xml | 6 +++
hbase-shell/pom.xml | 6 +++
hbase-thrift/pom.xml | 6 +++
pom.xml | 7 ++++
47 files changed, 815 insertions(+), 760 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/ClientTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/ClientTests.java b/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/ClientTests.java
deleted file mode 100644
index ab39591..0000000
--- a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/ClientTests.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * Tag a test as related to the client, This tests the hbase-client package and all of the client tests in
- * hbase-server.
- * @see org.apache.hadoop.hbase.testclassification.ClientTests
- * @see org.apache.hadoop.hbase.testclassification.CoprocessorTests
- * @see org.apache.hadoop.hbase.testclassification.FilterTests
- * @see org.apache.hadoop.hbase.testclassification.FlakeyTests
- * @see org.apache.hadoop.hbase.testclassification.IOTests
- * @see org.apache.hadoop.hbase.testclassification.MapReduceTests
- * @see org.apache.hadoop.hbase.testclassification.MasterTests
- * @see org.apache.hadoop.hbase.testclassification.MiscTests
- * @see org.apache.hadoop.hbase.testclassification.RegionServerTests
- * @see org.apache.hadoop.hbase.testclassification.ReplicationTests
- * @see org.apache.hadoop.hbase.testclassification.RPCTests
- * @see org.apache.hadoop.hbase.testclassification.SecurityTests
- * @see org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
- * @see org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
- */
-package org.apache.hadoop.hbase.testclassification;
-
-public interface ClientTests {
-}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/CoprocessorTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/CoprocessorTests.java b/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/CoprocessorTests.java
deleted file mode 100644
index ff65995..0000000
--- a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/CoprocessorTests.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * Tag a test as related to coprocessors.
- * @see org.apache.hadoop.hbase.testclassification.ClientTests
- * @see org.apache.hadoop.hbase.testclassification.CoprocessorTests
- * @see org.apache.hadoop.hbase.testclassification.FilterTests
- * @see org.apache.hadoop.hbase.testclassification.FlakeyTests
- * @see org.apache.hadoop.hbase.testclassification.IOTests
- * @see org.apache.hadoop.hbase.testclassification.MapReduceTests
- * @see org.apache.hadoop.hbase.testclassification.MasterTests
- * @see org.apache.hadoop.hbase.testclassification.MiscTests
- * @see org.apache.hadoop.hbase.testclassification.RegionServerTests
- * @see org.apache.hadoop.hbase.testclassification.ReplicationTests
- * @see org.apache.hadoop.hbase.testclassification.RPCTests
- * @see org.apache.hadoop.hbase.testclassification.SecurityTests
- * @see org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
- * @see org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
- */
-package org.apache.hadoop.hbase.testclassification;
-
-
-public interface CoprocessorTests {
-}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/FilterTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/FilterTests.java b/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/FilterTests.java
deleted file mode 100644
index b4e9c35..0000000
--- a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/FilterTests.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * Tag a test as related to the filter package.
- * @see org.apache.hadoop.hbase.testclassification.ClientTests
- * @see org.apache.hadoop.hbase.testclassification.CoprocessorTests
- * @see org.apache.hadoop.hbase.testclassification.FilterTests
- * @see org.apache.hadoop.hbase.testclassification.FlakeyTests
- * @see org.apache.hadoop.hbase.testclassification.IOTests
- * @see org.apache.hadoop.hbase.testclassification.MapReduceTests
- * @see org.apache.hadoop.hbase.testclassification.MasterTests
- * @see org.apache.hadoop.hbase.testclassification.MiscTests
- * @see org.apache.hadoop.hbase.testclassification.RegionServerTests
- * @see org.apache.hadoop.hbase.testclassification.ReplicationTests
- * @see org.apache.hadoop.hbase.testclassification.RPCTests
- * @see org.apache.hadoop.hbase.testclassification.SecurityTests
- * @see org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
- * @see org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
- */
-package org.apache.hadoop.hbase.testclassification;
-
-
-public interface FilterTests {
-}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/FlakeyTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/FlakeyTests.java b/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/FlakeyTests.java
deleted file mode 100644
index ddd92b1..0000000
--- a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/FlakeyTests.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * Tag a test as failing commonly on public build infrastructure.
- * @see org.apache.hadoop.hbase.testclassification.ClientTests
- * @see org.apache.hadoop.hbase.testclassification.CoprocessorTests
- * @see org.apache.hadoop.hbase.testclassification.FilterTests
- * @see org.apache.hadoop.hbase.testclassification.FlakeyTests
- * @see org.apache.hadoop.hbase.testclassification.IOTests
- * @see org.apache.hadoop.hbase.testclassification.MapReduceTests
- * @see org.apache.hadoop.hbase.testclassification.MasterTests
- * @see org.apache.hadoop.hbase.testclassification.MiscTests
- * @see org.apache.hadoop.hbase.testclassification.RegionServerTests
- * @see org.apache.hadoop.hbase.testclassification.ReplicationTests
- * @see org.apache.hadoop.hbase.testclassification.RPCTests
- * @see org.apache.hadoop.hbase.testclassification.SecurityTests
- * @see org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
- * @see org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
- */
-package org.apache.hadoop.hbase.testclassification;
-
-public interface FlakeyTests {
-}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/IOTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/IOTests.java b/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/IOTests.java
deleted file mode 100644
index cf8bffa..0000000
--- a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/IOTests.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * Tag a test as related to the io package. Things like HFile and the like.
- * @see org.apache.hadoop.hbase.testclassification.ClientTests
- * @see org.apache.hadoop.hbase.testclassification.CoprocessorTests
- * @see org.apache.hadoop.hbase.testclassification.FilterTests
- * @see org.apache.hadoop.hbase.testclassification.FlakeyTests
- * @see org.apache.hadoop.hbase.testclassification.IOTests
- * @see org.apache.hadoop.hbase.testclassification.MapReduceTests
- * @see org.apache.hadoop.hbase.testclassification.MasterTests
- * @see org.apache.hadoop.hbase.testclassification.MiscTests
- * @see org.apache.hadoop.hbase.testclassification.RegionServerTests
- * @see org.apache.hadoop.hbase.testclassification.ReplicationTests
- * @see org.apache.hadoop.hbase.testclassification.RPCTests
- * @see org.apache.hadoop.hbase.testclassification.SecurityTests
- * @see org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
- * @see org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
- */
-package org.apache.hadoop.hbase.testclassification;
-
-
-public interface IOTests {
-}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/IntegrationTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/IntegrationTests.java b/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/IntegrationTests.java
deleted file mode 100644
index ce6af67..0000000
--- a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/IntegrationTests.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.hadoop.hbase.testclassification;
-
-/**
- * Tag a test as 'integration/system' test, meaning that the test class has the following
- * characteristics: <ul>
- * <li> Possibly takes hours to complete</li>
- * <li> Can be run on a mini cluster or an actual cluster</li>
- * <li> Can make changes to the given cluster (starting stopping daemons, etc)</li>
- * <li> Should not be run in parallel of other integration tests</li>
- * </ul>
- *
- * Integration / System tests should have a class name starting with "IntegrationTest", and
- * should be annotated with @Category(IntegrationTests.class). Integration tests can be run
- * using the IntegrationTestsDriver class or from mvn verify.
- *
- * @see SmallTests
- * @see MediumTests
- * @see LargeTests
- */
-public interface IntegrationTests {
-}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/LargeTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/LargeTests.java b/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/LargeTests.java
deleted file mode 100644
index b8f6ba3..0000000
--- a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/LargeTests.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.hadoop.hbase.testclassification;
-
-/**
- * Tag a test as 'large', meaning that the test class has the following
- * characteristics:
- * - executed in an isolated JVM. Tests can however be executed in different
- * JVM on the same machine simultaneously.
- * - will not have to be executed by the developer before submitting a bug
- * - ideally, last less than 2 minutes to help parallelization
- *
- * It the worst case compared to small or medium, use it only for tests that
- * you cannot put in the other categories
- *
- * @see SmallTests
- * @see MediumTests
- * @see IntegrationTests
- */
-public interface LargeTests {
-}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/MapReduceTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/MapReduceTests.java b/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/MapReduceTests.java
deleted file mode 100644
index 5f8c9b7..0000000
--- a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/MapReduceTests.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * Tag a test as related to mapred or mapreduce,
- * @see org.apache.hadoop.hbase.testclassification.ClientTests
- * @see org.apache.hadoop.hbase.testclassification.CoprocessorTests
- * @see org.apache.hadoop.hbase.testclassification.FilterTests
- * @see org.apache.hadoop.hbase.testclassification.FlakeyTests
- * @see org.apache.hadoop.hbase.testclassification.IOTests
- * @see org.apache.hadoop.hbase.testclassification.MapReduceTests
- * @see org.apache.hadoop.hbase.testclassification.MasterTests
- * @see org.apache.hadoop.hbase.testclassification.MiscTests
- * @see org.apache.hadoop.hbase.testclassification.RegionServerTests
- * @see org.apache.hadoop.hbase.testclassification.ReplicationTests
- * @see org.apache.hadoop.hbase.testclassification.RPCTests
- * @see org.apache.hadoop.hbase.testclassification.SecurityTests
- * @see org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
- * @see org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
- */
-package org.apache.hadoop.hbase.testclassification;
-
-public interface MapReduceTests {
-}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/MasterTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/MasterTests.java b/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/MasterTests.java
deleted file mode 100644
index 19a95f2..0000000
--- a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/MasterTests.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * Tag a test as related to the master.
- * @see org.apache.hadoop.hbase.testclassification.ClientTests
- * @see org.apache.hadoop.hbase.testclassification.CoprocessorTests
- * @see org.apache.hadoop.hbase.testclassification.FilterTests
- * @see org.apache.hadoop.hbase.testclassification.FlakeyTests
- * @see org.apache.hadoop.hbase.testclassification.IOTests
- * @see org.apache.hadoop.hbase.testclassification.MapReduceTests
- * @see org.apache.hadoop.hbase.testclassification.MasterTests
- * @see org.apache.hadoop.hbase.testclassification.MiscTests
- * @see org.apache.hadoop.hbase.testclassification.RegionServerTests
- * @see org.apache.hadoop.hbase.testclassification.ReplicationTests
- * @see org.apache.hadoop.hbase.testclassification.RPCTests
- * @see org.apache.hadoop.hbase.testclassification.SecurityTests
- * @see org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
- * @see org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
- */
-package org.apache.hadoop.hbase.testclassification;
-
-public interface MasterTests {
-}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/MediumTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/MediumTests.java b/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/MediumTests.java
deleted file mode 100644
index 0b79b3d..0000000
--- a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/MediumTests.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.hadoop.hbase.testclassification;
-
-/**
- * Tag a test as 'Medium', meaning that the test class has the following
- * characteristics:
- * - executed in an isolated JVM. Tests can however be executed in different
- * JVM on the same machine simultaneously.
- * - will have to be executed by the developer before submitting a bug
- * - ideally, last less than 1 minutes to help parallelization
- *
- * Use it for tests that cannot be tagged as 'Small'.
- *
- * @see SmallTests
- * @see LargeTests
- * @see IntegrationTests
- */
-public interface MediumTests {
-}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/MiscTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/MiscTests.java b/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/MiscTests.java
deleted file mode 100644
index ef4d3f9..0000000
--- a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/MiscTests.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * Tag a test as not easily falling into any of the below categories.
- * @see org.apache.hadoop.hbase.testclassification.ClientTests
- * @see org.apache.hadoop.hbase.testclassification.CoprocessorTests
- * @see org.apache.hadoop.hbase.testclassification.FilterTests
- * @see org.apache.hadoop.hbase.testclassification.FlakeyTests
- * @see org.apache.hadoop.hbase.testclassification.IOTests
- * @see org.apache.hadoop.hbase.testclassification.MapReduceTests
- * @see org.apache.hadoop.hbase.testclassification.MasterTests
- * @see org.apache.hadoop.hbase.testclassification.MiscTests
- * @see org.apache.hadoop.hbase.testclassification.RegionServerTests
- * @see org.apache.hadoop.hbase.testclassification.ReplicationTests
- * @see org.apache.hadoop.hbase.testclassification.RPCTests
- * @see org.apache.hadoop.hbase.testclassification.SecurityTests
- * @see org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
- * @see org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
- */
-package org.apache.hadoop.hbase.testclassification;
-
-public interface MiscTests {
-}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/RPCTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/RPCTests.java b/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/RPCTests.java
deleted file mode 100644
index eab3375..0000000
--- a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/RPCTests.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/**
- * Tag a test as related to RPC.
- * @see org.apache.hadoop.hbase.testclassification.ClientTests
- * @see org.apache.hadoop.hbase.testclassification.CoprocessorTests
- * @see org.apache.hadoop.hbase.testclassification.FilterTests
- * @see org.apache.hadoop.hbase.testclassification.FlakeyTests
- * @see org.apache.hadoop.hbase.testclassification.IOTests
- * @see org.apache.hadoop.hbase.testclassification.MapReduceTests
- * @see org.apache.hadoop.hbase.testclassification.MasterTests
- * @see org.apache.hadoop.hbase.testclassification.MiscTests
- * @see org.apache.hadoop.hbase.testclassification.RegionServerTests
- * @see org.apache.hadoop.hbase.testclassification.ReplicationTests
- * @see org.apache.hadoop.hbase.testclassification.RPCTests
- * @see org.apache.hadoop.hbase.testclassification.SecurityTests
- * @see org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
- * @see org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
- */
-package org.apache.hadoop.hbase.testclassification;
-
-
-public interface RPCTests {
-}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/RegionServerTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/RegionServerTests.java b/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/RegionServerTests.java
deleted file mode 100644
index 3b03194..0000000
--- a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/RegionServerTests.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * Tag a test as related to the regionserver,
- * @see org.apache.hadoop.hbase.testclassification.ClientTests
- * @see org.apache.hadoop.hbase.testclassification.CoprocessorTests
- * @see org.apache.hadoop.hbase.testclassification.FilterTests
- * @see org.apache.hadoop.hbase.testclassification.FlakeyTests
- * @see org.apache.hadoop.hbase.testclassification.IOTests
- * @see org.apache.hadoop.hbase.testclassification.MapReduceTests
- * @see org.apache.hadoop.hbase.testclassification.MasterTests
- * @see org.apache.hadoop.hbase.testclassification.MiscTests
- * @see org.apache.hadoop.hbase.testclassification.RegionServerTests
- * @see org.apache.hadoop.hbase.testclassification.ReplicationTests
- * @see org.apache.hadoop.hbase.testclassification.RPCTests
- * @see org.apache.hadoop.hbase.testclassification.SecurityTests
- * @see org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
- * @see org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
- */
-package org.apache.hadoop.hbase.testclassification;
-
-
-public interface RegionServerTests {
-}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/ReplicationTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/ReplicationTests.java b/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/ReplicationTests.java
deleted file mode 100644
index 4f86404..0000000
--- a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/ReplicationTests.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * Tag a test as related to replication,
- * @see org.apache.hadoop.hbase.testclassification.ClientTests
- * @see org.apache.hadoop.hbase.testclassification.CoprocessorTests
- * @see org.apache.hadoop.hbase.testclassification.FilterTests
- * @see org.apache.hadoop.hbase.testclassification.FlakeyTests
- * @see org.apache.hadoop.hbase.testclassification.IOTests
- * @see org.apache.hadoop.hbase.testclassification.MapReduceTests
- * @see org.apache.hadoop.hbase.testclassification.MasterTests
- * @see org.apache.hadoop.hbase.testclassification.MiscTests
- * @see org.apache.hadoop.hbase.testclassification.RegionServerTests
- * @see org.apache.hadoop.hbase.testclassification.ReplicationTests
- * @see org.apache.hadoop.hbase.testclassification.RPCTests
- * @see org.apache.hadoop.hbase.testclassification.SecurityTests
- * @see org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
- * @see org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
- */
-package org.apache.hadoop.hbase.testclassification;
-
-public interface ReplicationTests {
-}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/RestTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/RestTests.java b/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/RestTests.java
deleted file mode 100644
index 16fe1f7..0000000
--- a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/RestTests.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * Tag a test as related to the rest capability of HBase.
- *
- * @see org.apache.hadoop.hbase.testclassification.ClientTests
- * @see org.apache.hadoop.hbase.testclassification.CoprocessorTests
- * @see org.apache.hadoop.hbase.testclassification.FilterTests
- * @see org.apache.hadoop.hbase.testclassification.FlakeyTests
- * @see org.apache.hadoop.hbase.testclassification.IOTests
- * @see org.apache.hadoop.hbase.testclassification.MapReduceTests
- * @see org.apache.hadoop.hbase.testclassification.MasterTests
- * @see org.apache.hadoop.hbase.testclassification.MiscTests
- * @see org.apache.hadoop.hbase.testclassification.RegionServerTests
- * @see org.apache.hadoop.hbase.testclassification.ReplicationTests
- * @see org.apache.hadoop.hbase.testclassification.RPCTests
- * @see org.apache.hadoop.hbase.testclassification.SecurityTests
- * @see org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
- * @see org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
- */
-package org.apache.hadoop.hbase.testclassification;
-
-public interface RestTests {
-}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/SecurityTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/SecurityTests.java b/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/SecurityTests.java
deleted file mode 100644
index 907ae7a..0000000
--- a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/SecurityTests.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * Tag a test as related to security.
- *
- * @see org.apache.hadoop.hbase.testclassification.ClientTests
- * @see org.apache.hadoop.hbase.testclassification.CoprocessorTests
- * @see org.apache.hadoop.hbase.testclassification.FilterTests
- * @see org.apache.hadoop.hbase.testclassification.FlakeyTests
- * @see org.apache.hadoop.hbase.testclassification.IOTests
- * @see org.apache.hadoop.hbase.testclassification.MapReduceTests
- * @see org.apache.hadoop.hbase.testclassification.MasterTests
- * @see org.apache.hadoop.hbase.testclassification.MiscTests
- * @see org.apache.hadoop.hbase.testclassification.RegionServerTests
- * @see org.apache.hadoop.hbase.testclassification.ReplicationTests
- * @see org.apache.hadoop.hbase.testclassification.RPCTests
- * @see org.apache.hadoop.hbase.testclassification.SecurityTests
- * @see org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
- * @see org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
- */
-package org.apache.hadoop.hbase.testclassification;
-
-
-public interface SecurityTests {
-}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/SmallTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/SmallTests.java b/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/SmallTests.java
deleted file mode 100644
index 1552617..0000000
--- a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/SmallTests.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.hadoop.hbase.testclassification;
-
-/**
- * Tag a test as 'small', meaning that the test class has the following
- * characteristics:
- * - can be run simultaneously with other small tests in the same JVM
- * - ideally, last less than 15 seconds
- * - does not use a cluster
- *
- * @see MediumTests
- * @see LargeTests
- * @see IntegrationTests
- */
-public interface SmallTests {
-}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/VerySlowMapReduceTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/VerySlowMapReduceTests.java b/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/VerySlowMapReduceTests.java
deleted file mode 100644
index 96a5e9a..0000000
--- a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/VerySlowMapReduceTests.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * Tag a test as related to mapreduce and taking longer than 5 minutes to run on public build
- * infrastructure.
- * @see org.apache.hadoop.hbase.testclassification.ClientTests
- * @see org.apache.hadoop.hbase.testclassification.CoprocessorTests
- * @see org.apache.hadoop.hbase.testclassification.FilterTests
- * @see org.apache.hadoop.hbase.testclassification.FlakeyTests
- * @see org.apache.hadoop.hbase.testclassification.IOTests
- * @see org.apache.hadoop.hbase.testclassification.MapReduceTests
- * @see org.apache.hadoop.hbase.testclassification.MasterTests
- * @see org.apache.hadoop.hbase.testclassification.MiscTests
- * @see org.apache.hadoop.hbase.testclassification.RegionServerTests
- * @see org.apache.hadoop.hbase.testclassification.ReplicationTests
- * @see org.apache.hadoop.hbase.testclassification.RPCTests
- * @see org.apache.hadoop.hbase.testclassification.SecurityTests
- * @see org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
- * @see org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
- */
-package org.apache.hadoop.hbase.testclassification;
-
-
-public interface VerySlowMapReduceTests {
-}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/VerySlowRegionServerTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/VerySlowRegionServerTests.java b/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/VerySlowRegionServerTests.java
deleted file mode 100644
index 3caa218..0000000
--- a/hbase-annotations/src/main/java/org/apache/hadoop/hbase/testclassification/VerySlowRegionServerTests.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-/**
- * Tag a test as region tests which takes longer than 5 minutes to run on public build
- * infrastructure.
- * @see org.apache.hadoop.hbase.testclassification.ClientTests
- * @see org.apache.hadoop.hbase.testclassification.CoprocessorTests
- * @see org.apache.hadoop.hbase.testclassification.FilterTests
- * @see org.apache.hadoop.hbase.testclassification.FlakeyTests
- * @see org.apache.hadoop.hbase.testclassification.IOTests
- * @see org.apache.hadoop.hbase.testclassification.MapReduceTests
- * @see org.apache.hadoop.hbase.testclassification.MasterTests
- * @see org.apache.hadoop.hbase.testclassification.MiscTests
- * @see org.apache.hadoop.hbase.testclassification.RegionServerTests
- * @see org.apache.hadoop.hbase.testclassification.ReplicationTests
- * @see org.apache.hadoop.hbase.testclassification.RPCTests
- * @see org.apache.hadoop.hbase.testclassification.SecurityTests
- * @see org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
- * @see org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
- */
-package org.apache.hadoop.hbase.testclassification;
-
-public interface VerySlowRegionServerTests {
-}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/ClientTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/ClientTests.java b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/ClientTests.java
new file mode 100644
index 0000000..ab39591
--- /dev/null
+++ b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/ClientTests.java
@@ -0,0 +1,41 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * Tag a test as related to the client, This tests the hbase-client package and all of the client tests in
+ * hbase-server.
+ * @see org.apache.hadoop.hbase.testclassification.ClientTests
+ * @see org.apache.hadoop.hbase.testclassification.CoprocessorTests
+ * @see org.apache.hadoop.hbase.testclassification.FilterTests
+ * @see org.apache.hadoop.hbase.testclassification.FlakeyTests
+ * @see org.apache.hadoop.hbase.testclassification.IOTests
+ * @see org.apache.hadoop.hbase.testclassification.MapReduceTests
+ * @see org.apache.hadoop.hbase.testclassification.MasterTests
+ * @see org.apache.hadoop.hbase.testclassification.MiscTests
+ * @see org.apache.hadoop.hbase.testclassification.RegionServerTests
+ * @see org.apache.hadoop.hbase.testclassification.ReplicationTests
+ * @see org.apache.hadoop.hbase.testclassification.RPCTests
+ * @see org.apache.hadoop.hbase.testclassification.SecurityTests
+ * @see org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
+ * @see org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
+ */
+package org.apache.hadoop.hbase.testclassification;
+
+public interface ClientTests {
+}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/CoprocessorTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/CoprocessorTests.java b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/CoprocessorTests.java
new file mode 100644
index 0000000..ff65995
--- /dev/null
+++ b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/CoprocessorTests.java
@@ -0,0 +1,41 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * Tag a test as related to coprocessors.
+ * @see org.apache.hadoop.hbase.testclassification.ClientTests
+ * @see org.apache.hadoop.hbase.testclassification.CoprocessorTests
+ * @see org.apache.hadoop.hbase.testclassification.FilterTests
+ * @see org.apache.hadoop.hbase.testclassification.FlakeyTests
+ * @see org.apache.hadoop.hbase.testclassification.IOTests
+ * @see org.apache.hadoop.hbase.testclassification.MapReduceTests
+ * @see org.apache.hadoop.hbase.testclassification.MasterTests
+ * @see org.apache.hadoop.hbase.testclassification.MiscTests
+ * @see org.apache.hadoop.hbase.testclassification.RegionServerTests
+ * @see org.apache.hadoop.hbase.testclassification.ReplicationTests
+ * @see org.apache.hadoop.hbase.testclassification.RPCTests
+ * @see org.apache.hadoop.hbase.testclassification.SecurityTests
+ * @see org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
+ * @see org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
+ */
+package org.apache.hadoop.hbase.testclassification;
+
+
+public interface CoprocessorTests {
+}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/FilterTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/FilterTests.java b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/FilterTests.java
new file mode 100644
index 0000000..b4e9c35
--- /dev/null
+++ b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/FilterTests.java
@@ -0,0 +1,41 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * Tag a test as related to the filter package.
+ * @see org.apache.hadoop.hbase.testclassification.ClientTests
+ * @see org.apache.hadoop.hbase.testclassification.CoprocessorTests
+ * @see org.apache.hadoop.hbase.testclassification.FilterTests
+ * @see org.apache.hadoop.hbase.testclassification.FlakeyTests
+ * @see org.apache.hadoop.hbase.testclassification.IOTests
+ * @see org.apache.hadoop.hbase.testclassification.MapReduceTests
+ * @see org.apache.hadoop.hbase.testclassification.MasterTests
+ * @see org.apache.hadoop.hbase.testclassification.MiscTests
+ * @see org.apache.hadoop.hbase.testclassification.RegionServerTests
+ * @see org.apache.hadoop.hbase.testclassification.ReplicationTests
+ * @see org.apache.hadoop.hbase.testclassification.RPCTests
+ * @see org.apache.hadoop.hbase.testclassification.SecurityTests
+ * @see org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
+ * @see org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
+ */
+package org.apache.hadoop.hbase.testclassification;
+
+
+public interface FilterTests {
+}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/FlakeyTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/FlakeyTests.java b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/FlakeyTests.java
new file mode 100644
index 0000000..ddd92b1
--- /dev/null
+++ b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/FlakeyTests.java
@@ -0,0 +1,40 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * Tag a test as failing commonly on public build infrastructure.
+ * @see org.apache.hadoop.hbase.testclassification.ClientTests
+ * @see org.apache.hadoop.hbase.testclassification.CoprocessorTests
+ * @see org.apache.hadoop.hbase.testclassification.FilterTests
+ * @see org.apache.hadoop.hbase.testclassification.FlakeyTests
+ * @see org.apache.hadoop.hbase.testclassification.IOTests
+ * @see org.apache.hadoop.hbase.testclassification.MapReduceTests
+ * @see org.apache.hadoop.hbase.testclassification.MasterTests
+ * @see org.apache.hadoop.hbase.testclassification.MiscTests
+ * @see org.apache.hadoop.hbase.testclassification.RegionServerTests
+ * @see org.apache.hadoop.hbase.testclassification.ReplicationTests
+ * @see org.apache.hadoop.hbase.testclassification.RPCTests
+ * @see org.apache.hadoop.hbase.testclassification.SecurityTests
+ * @see org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
+ * @see org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
+ */
+package org.apache.hadoop.hbase.testclassification;
+
+public interface FlakeyTests {
+}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/IOTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/IOTests.java b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/IOTests.java
new file mode 100644
index 0000000..cf8bffa
--- /dev/null
+++ b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/IOTests.java
@@ -0,0 +1,41 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * Tag a test as related to the io package. Things like HFile and the like.
+ * @see org.apache.hadoop.hbase.testclassification.ClientTests
+ * @see org.apache.hadoop.hbase.testclassification.CoprocessorTests
+ * @see org.apache.hadoop.hbase.testclassification.FilterTests
+ * @see org.apache.hadoop.hbase.testclassification.FlakeyTests
+ * @see org.apache.hadoop.hbase.testclassification.IOTests
+ * @see org.apache.hadoop.hbase.testclassification.MapReduceTests
+ * @see org.apache.hadoop.hbase.testclassification.MasterTests
+ * @see org.apache.hadoop.hbase.testclassification.MiscTests
+ * @see org.apache.hadoop.hbase.testclassification.RegionServerTests
+ * @see org.apache.hadoop.hbase.testclassification.ReplicationTests
+ * @see org.apache.hadoop.hbase.testclassification.RPCTests
+ * @see org.apache.hadoop.hbase.testclassification.SecurityTests
+ * @see org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
+ * @see org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
+ */
+package org.apache.hadoop.hbase.testclassification;
+
+
+public interface IOTests {
+}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/IntegrationTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/IntegrationTests.java b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/IntegrationTests.java
new file mode 100644
index 0000000..ce6af67
--- /dev/null
+++ b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/IntegrationTests.java
@@ -0,0 +1,39 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hadoop.hbase.testclassification;
+
+/**
+ * Tag a test as 'integration/system' test, meaning that the test class has the following
+ * characteristics: <ul>
+ * <li> Possibly takes hours to complete</li>
+ * <li> Can be run on a mini cluster or an actual cluster</li>
+ * <li> Can make changes to the given cluster (starting stopping daemons, etc)</li>
+ * <li> Should not be run in parallel of other integration tests</li>
+ * </ul>
+ *
+ * Integration / System tests should have a class name starting with "IntegrationTest", and
+ * should be annotated with @Category(IntegrationTests.class). Integration tests can be run
+ * using the IntegrationTestsDriver class or from mvn verify.
+ *
+ * @see SmallTests
+ * @see MediumTests
+ * @see LargeTests
+ */
+public interface IntegrationTests {
+}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/LargeTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/LargeTests.java b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/LargeTests.java
new file mode 100644
index 0000000..b8f6ba3
--- /dev/null
+++ b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/LargeTests.java
@@ -0,0 +1,38 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hadoop.hbase.testclassification;
+
+/**
+ * Tag a test as 'large', meaning that the test class has the following
+ * characteristics:
+ * - executed in an isolated JVM. Tests can however be executed in different
+ * JVM on the same machine simultaneously.
+ * - will not have to be executed by the developer before submitting a bug
+ * - ideally, last less than 2 minutes to help parallelization
+ *
+ * It the worst case compared to small or medium, use it only for tests that
+ * you cannot put in the other categories
+ *
+ * @see SmallTests
+ * @see MediumTests
+ * @see IntegrationTests
+ */
+public interface LargeTests {
+}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/MapReduceTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/MapReduceTests.java b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/MapReduceTests.java
new file mode 100644
index 0000000..5f8c9b7
--- /dev/null
+++ b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/MapReduceTests.java
@@ -0,0 +1,40 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * Tag a test as related to mapred or mapreduce,
+ * @see org.apache.hadoop.hbase.testclassification.ClientTests
+ * @see org.apache.hadoop.hbase.testclassification.CoprocessorTests
+ * @see org.apache.hadoop.hbase.testclassification.FilterTests
+ * @see org.apache.hadoop.hbase.testclassification.FlakeyTests
+ * @see org.apache.hadoop.hbase.testclassification.IOTests
+ * @see org.apache.hadoop.hbase.testclassification.MapReduceTests
+ * @see org.apache.hadoop.hbase.testclassification.MasterTests
+ * @see org.apache.hadoop.hbase.testclassification.MiscTests
+ * @see org.apache.hadoop.hbase.testclassification.RegionServerTests
+ * @see org.apache.hadoop.hbase.testclassification.ReplicationTests
+ * @see org.apache.hadoop.hbase.testclassification.RPCTests
+ * @see org.apache.hadoop.hbase.testclassification.SecurityTests
+ * @see org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
+ * @see org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
+ */
+package org.apache.hadoop.hbase.testclassification;
+
+public interface MapReduceTests {
+}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/MasterTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/MasterTests.java b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/MasterTests.java
new file mode 100644
index 0000000..19a95f2
--- /dev/null
+++ b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/MasterTests.java
@@ -0,0 +1,40 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * Tag a test as related to the master.
+ * @see org.apache.hadoop.hbase.testclassification.ClientTests
+ * @see org.apache.hadoop.hbase.testclassification.CoprocessorTests
+ * @see org.apache.hadoop.hbase.testclassification.FilterTests
+ * @see org.apache.hadoop.hbase.testclassification.FlakeyTests
+ * @see org.apache.hadoop.hbase.testclassification.IOTests
+ * @see org.apache.hadoop.hbase.testclassification.MapReduceTests
+ * @see org.apache.hadoop.hbase.testclassification.MasterTests
+ * @see org.apache.hadoop.hbase.testclassification.MiscTests
+ * @see org.apache.hadoop.hbase.testclassification.RegionServerTests
+ * @see org.apache.hadoop.hbase.testclassification.ReplicationTests
+ * @see org.apache.hadoop.hbase.testclassification.RPCTests
+ * @see org.apache.hadoop.hbase.testclassification.SecurityTests
+ * @see org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
+ * @see org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
+ */
+package org.apache.hadoop.hbase.testclassification;
+
+public interface MasterTests {
+}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/MediumTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/MediumTests.java b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/MediumTests.java
new file mode 100644
index 0000000..0b79b3d
--- /dev/null
+++ b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/MediumTests.java
@@ -0,0 +1,37 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hadoop.hbase.testclassification;
+
+/**
+ * Tag a test as 'Medium', meaning that the test class has the following
+ * characteristics:
+ * - executed in an isolated JVM. Tests can however be executed in different
+ * JVM on the same machine simultaneously.
+ * - will have to be executed by the developer before submitting a bug
+ * - ideally, last less than 1 minutes to help parallelization
+ *
+ * Use it for tests that cannot be tagged as 'Small'.
+ *
+ * @see SmallTests
+ * @see LargeTests
+ * @see IntegrationTests
+ */
+public interface MediumTests {
+}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/MiscTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/MiscTests.java b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/MiscTests.java
new file mode 100644
index 0000000..ef4d3f9
--- /dev/null
+++ b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/MiscTests.java
@@ -0,0 +1,40 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * Tag a test as not easily falling into any of the below categories.
+ * @see org.apache.hadoop.hbase.testclassification.ClientTests
+ * @see org.apache.hadoop.hbase.testclassification.CoprocessorTests
+ * @see org.apache.hadoop.hbase.testclassification.FilterTests
+ * @see org.apache.hadoop.hbase.testclassification.FlakeyTests
+ * @see org.apache.hadoop.hbase.testclassification.IOTests
+ * @see org.apache.hadoop.hbase.testclassification.MapReduceTests
+ * @see org.apache.hadoop.hbase.testclassification.MasterTests
+ * @see org.apache.hadoop.hbase.testclassification.MiscTests
+ * @see org.apache.hadoop.hbase.testclassification.RegionServerTests
+ * @see org.apache.hadoop.hbase.testclassification.ReplicationTests
+ * @see org.apache.hadoop.hbase.testclassification.RPCTests
+ * @see org.apache.hadoop.hbase.testclassification.SecurityTests
+ * @see org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
+ * @see org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
+ */
+package org.apache.hadoop.hbase.testclassification;
+
+public interface MiscTests {
+}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/RPCTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/RPCTests.java b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/RPCTests.java
new file mode 100644
index 0000000..eab3375
--- /dev/null
+++ b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/RPCTests.java
@@ -0,0 +1,40 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ * Tag a test as related to RPC.
+ * @see org.apache.hadoop.hbase.testclassification.ClientTests
+ * @see org.apache.hadoop.hbase.testclassification.CoprocessorTests
+ * @see org.apache.hadoop.hbase.testclassification.FilterTests
+ * @see org.apache.hadoop.hbase.testclassification.FlakeyTests
+ * @see org.apache.hadoop.hbase.testclassification.IOTests
+ * @see org.apache.hadoop.hbase.testclassification.MapReduceTests
+ * @see org.apache.hadoop.hbase.testclassification.MasterTests
+ * @see org.apache.hadoop.hbase.testclassification.MiscTests
+ * @see org.apache.hadoop.hbase.testclassification.RegionServerTests
+ * @see org.apache.hadoop.hbase.testclassification.ReplicationTests
+ * @see org.apache.hadoop.hbase.testclassification.RPCTests
+ * @see org.apache.hadoop.hbase.testclassification.SecurityTests
+ * @see org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
+ * @see org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
+ */
+package org.apache.hadoop.hbase.testclassification;
+
+
+public interface RPCTests {
+}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/RegionServerTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/RegionServerTests.java b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/RegionServerTests.java
new file mode 100644
index 0000000..3b03194
--- /dev/null
+++ b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/RegionServerTests.java
@@ -0,0 +1,41 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * Tag a test as related to the regionserver,
+ * @see org.apache.hadoop.hbase.testclassification.ClientTests
+ * @see org.apache.hadoop.hbase.testclassification.CoprocessorTests
+ * @see org.apache.hadoop.hbase.testclassification.FilterTests
+ * @see org.apache.hadoop.hbase.testclassification.FlakeyTests
+ * @see org.apache.hadoop.hbase.testclassification.IOTests
+ * @see org.apache.hadoop.hbase.testclassification.MapReduceTests
+ * @see org.apache.hadoop.hbase.testclassification.MasterTests
+ * @see org.apache.hadoop.hbase.testclassification.MiscTests
+ * @see org.apache.hadoop.hbase.testclassification.RegionServerTests
+ * @see org.apache.hadoop.hbase.testclassification.ReplicationTests
+ * @see org.apache.hadoop.hbase.testclassification.RPCTests
+ * @see org.apache.hadoop.hbase.testclassification.SecurityTests
+ * @see org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
+ * @see org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
+ */
+package org.apache.hadoop.hbase.testclassification;
+
+
+public interface RegionServerTests {
+}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/ReplicationTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/ReplicationTests.java b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/ReplicationTests.java
new file mode 100644
index 0000000..4f86404
--- /dev/null
+++ b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/ReplicationTests.java
@@ -0,0 +1,40 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * Tag a test as related to replication,
+ * @see org.apache.hadoop.hbase.testclassification.ClientTests
+ * @see org.apache.hadoop.hbase.testclassification.CoprocessorTests
+ * @see org.apache.hadoop.hbase.testclassification.FilterTests
+ * @see org.apache.hadoop.hbase.testclassification.FlakeyTests
+ * @see org.apache.hadoop.hbase.testclassification.IOTests
+ * @see org.apache.hadoop.hbase.testclassification.MapReduceTests
+ * @see org.apache.hadoop.hbase.testclassification.MasterTests
+ * @see org.apache.hadoop.hbase.testclassification.MiscTests
+ * @see org.apache.hadoop.hbase.testclassification.RegionServerTests
+ * @see org.apache.hadoop.hbase.testclassification.ReplicationTests
+ * @see org.apache.hadoop.hbase.testclassification.RPCTests
+ * @see org.apache.hadoop.hbase.testclassification.SecurityTests
+ * @see org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
+ * @see org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
+ */
+package org.apache.hadoop.hbase.testclassification;
+
+public interface ReplicationTests {
+}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/RestTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/RestTests.java b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/RestTests.java
new file mode 100644
index 0000000..16fe1f7
--- /dev/null
+++ b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/RestTests.java
@@ -0,0 +1,41 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * Tag a test as related to the rest capability of HBase.
+ *
+ * @see org.apache.hadoop.hbase.testclassification.ClientTests
+ * @see org.apache.hadoop.hbase.testclassification.CoprocessorTests
+ * @see org.apache.hadoop.hbase.testclassification.FilterTests
+ * @see org.apache.hadoop.hbase.testclassification.FlakeyTests
+ * @see org.apache.hadoop.hbase.testclassification.IOTests
+ * @see org.apache.hadoop.hbase.testclassification.MapReduceTests
+ * @see org.apache.hadoop.hbase.testclassification.MasterTests
+ * @see org.apache.hadoop.hbase.testclassification.MiscTests
+ * @see org.apache.hadoop.hbase.testclassification.RegionServerTests
+ * @see org.apache.hadoop.hbase.testclassification.ReplicationTests
+ * @see org.apache.hadoop.hbase.testclassification.RPCTests
+ * @see org.apache.hadoop.hbase.testclassification.SecurityTests
+ * @see org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
+ * @see org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
+ */
+package org.apache.hadoop.hbase.testclassification;
+
+public interface RestTests {
+}
http://git-wip-us.apache.org/repos/asf/hbase/blob/3557a323/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/SecurityTests.java
----------------------------------------------------------------------
diff --git a/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/SecurityTests.java b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/SecurityTests.java
new file mode 100644
index 0000000..907ae7a
--- /dev/null
+++ b/hbase-annotations/src/test/java/org/apache/hadoop/hbase/testclassification/SecurityTests.java
@@ -0,0 +1,42 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * Tag a test as related to security.
+ *
+ * @see org.apache.hadoop.hbase.testclassification.ClientTests
+ * @see org.apache.hadoop.hbase.testclassification.CoprocessorTests
+ * @see org.apache.hadoop.hbase.testclassification.FilterTests
+ * @see org.apache.hadoop.hbase.testclassification.FlakeyTests
+ * @see org.apache.hadoop.hbase.testclassification.IOTests
+ * @see org.apache.hadoop.hbase.testclassification.MapReduceTests
+ * @see org.apache.hadoop.hbase.testclassification.MasterTests
+ * @see org.apache.hadoop.hbase.testclassification.MiscTests
+ * @see org.apache.hadoop.hbase.testclassification.RegionServerTests
+ * @see org.apache.hadoop.hbase.testclassification.ReplicationTests
+ * @see org.apache.hadoop.hbase.testclassification.RPCTests
+ * @see org.apache.hadoop.hbase.testclassification.SecurityTests
+ * @see org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
+ * @see org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
+ */
+package org.apache.hadoop.hbase.testclassification;
+
+
+public interface SecurityTests {
+}