Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1AEC2200D04 for ; Mon, 11 Sep 2017 09:42:37 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 19D141609CB; Mon, 11 Sep 2017 07:42:37 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0A9661609C5 for ; Mon, 11 Sep 2017 09:42:35 +0200 (CEST) Received: (qmail 3275 invoked by uid 500); 11 Sep 2017 07:42:34 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 97969 invoked by uid 99); 11 Sep 2017 07:42:30 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Sep 2017 07:42:30 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 38D93F5755; Mon, 11 Sep 2017 07:42:29 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: busbey@apache.org To: commits@hbase.apache.org Date: Mon, 11 Sep 2017 07:43:04 -0000 Message-Id: <3eee5134f17c4f63956f30134ba8f308@git.apache.org> In-Reply-To: <9a073cac3035449e87c647186a7253db@git.apache.org> References: <9a073cac3035449e87c647186a7253db@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [37/50] [abbrv] hbase git commit: HBASE-18782 Module untangling work archived-at: Mon, 11 Sep 2017 07:42:37 -0000 HBASE-18782 Module untangling work Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/591d86ab Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/591d86ab Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/591d86ab Branch: refs/heads/HBASE-18467 Commit: 591d86ab29bfebe1e87657c030319d17c7c8ef44 Parents: b12d071 Author: Michael Stack Authored: Fri Sep 8 21:00:30 2017 -0700 Committer: Michael Stack Committed: Sun Sep 10 18:10:56 2017 -0700 ---------------------------------------------------------------------- hbase-archetypes/hbase-client-project/pom.xml | 7 ------ hbase-examples/pom.xml | 16 ------------- hbase-external-blockcache/pom.xml | 4 ---- .../hbase/io/hfile/MemcachedBlockCache.java | 7 ++++-- hbase-it/pom.xml | 10 -------- hbase-protocol-shaded/pom.xml | 10 -------- .../hadoop/hbase/util/ForeignExceptionUtil.java | 10 ++++---- hbase-protocol/pom.xml | 10 -------- .../apache/hadoop/hbase/util/ByteStringer.java | 7 ++++-- hbase-rest/pom.xml | 24 -------------------- hbase-spark-it/pom.xml | 10 -------- 11 files changed, 16 insertions(+), 99 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/591d86ab/hbase-archetypes/hbase-client-project/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-archetypes/hbase-client-project/pom.xml b/hbase-archetypes/hbase-client-project/pom.xml index bfb8d7b..489446a 100644 --- a/hbase-archetypes/hbase-client-project/pom.xml +++ b/hbase-archetypes/hbase-client-project/pom.xml @@ -63,13 +63,6 @@ org.apache.hbase - hbase-annotations - ${project.version} - test-jar - test - - - org.apache.hbase hbase-common ${project.version} http://git-wip-us.apache.org/repos/asf/hbase/blob/591d86ab/hbase-examples/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-examples/pom.xml b/hbase-examples/pom.xml index 3227e39..c72a874 100644 --- a/hbase-examples/pom.xml +++ b/hbase-examples/pom.xml @@ -128,12 +128,6 @@ org.apache.hbase - hbase-annotations - test-jar - test - - - org.apache.hbase hbase-common @@ -287,16 +281,6 @@ org.apache.hadoop - hadoop-annotations - - - jdk.tools - jdk.tools - - - - - org.apache.hadoop hadoop-minicluster http://git-wip-us.apache.org/repos/asf/hbase/blob/591d86ab/hbase-external-blockcache/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-external-blockcache/pom.xml b/hbase-external-blockcache/pom.xml index f832e46..53708d8 100644 --- a/hbase-external-blockcache/pom.xml +++ b/hbase-external-blockcache/pom.xml @@ -156,10 +156,6 @@ org.apache.hbase - hbase-annotations - - - org.apache.hbase hbase-common http://git-wip-us.apache.org/repos/asf/hbase/blob/591d86ab/hbase-external-blockcache/src/main/java/org/apache/hadoop/hbase/io/hfile/MemcachedBlockCache.java ---------------------------------------------------------------------- diff --git a/hbase-external-blockcache/src/main/java/org/apache/hadoop/hbase/io/hfile/MemcachedBlockCache.java b/hbase-external-blockcache/src/main/java/org/apache/hadoop/hbase/io/hfile/MemcachedBlockCache.java index 3df9d08..2fb8fdb 100644 --- a/hbase-external-blockcache/src/main/java/org/apache/hadoop/hbase/io/hfile/MemcachedBlockCache.java +++ b/hbase-external-blockcache/src/main/java/org/apache/hadoop/hbase/io/hfile/MemcachedBlockCache.java @@ -28,7 +28,6 @@ import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HConstants; -import org.apache.hadoop.hbase.classification.InterfaceAudience; import org.apache.hadoop.hbase.io.hfile.Cacheable.MemoryType; import org.apache.hadoop.hbase.nio.ByteBuff; import org.apache.hadoop.hbase.nio.SingleByteBuff; @@ -52,7 +51,11 @@ import java.util.concurrent.ExecutionException; * good network connection to the HBase regionservers. Any other use will likely slow down HBase * greatly. */ -@InterfaceAudience.Private +// @InterfaceAudience.Private +// This class has NO InterfaceAudience. It is commented out. We do not want to import +// InterfaceAudience. This would be only class in this module with the IA import and we do not want +// to have this module depend annotations module just for one class. +// NO InterfaceAudience defaults to mean InterfaceAudience.Private! public class MemcachedBlockCache implements BlockCache { private static final Log LOG = LogFactory.getLog(MemcachedBlockCache.class.getName()); http://git-wip-us.apache.org/repos/asf/hbase/blob/591d86ab/hbase-it/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-it/pom.xml b/hbase-it/pom.xml index d813cd8..5642e3c 100644 --- a/hbase-it/pom.xml +++ b/hbase-it/pom.xml @@ -228,16 +228,6 @@ org.apache.hbase - hbase-hadoop-compat - - - com.google.guava - guava - - - - - org.apache.hbase ${compat.module} ${project.version} http://git-wip-us.apache.org/repos/asf/hbase/blob/591d86ab/hbase-protocol-shaded/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-protocol-shaded/pom.xml b/hbase-protocol-shaded/pom.xml index 77f5f12..ea7ed7a 100644 --- a/hbase-protocol-shaded/pom.xml +++ b/hbase-protocol-shaded/pom.xml @@ -226,16 +226,6 @@ hbase-shaded-protobuf - org.apache.hbase - hbase-annotations - - - jdk.tools - jdk.tools - - - - junit junit test http://git-wip-us.apache.org/repos/asf/hbase/blob/591d86ab/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/util/ForeignExceptionUtil.java ---------------------------------------------------------------------- diff --git a/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/util/ForeignExceptionUtil.java b/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/util/ForeignExceptionUtil.java index 28b3909..db47945 100644 --- a/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/util/ForeignExceptionUtil.java +++ b/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/util/ForeignExceptionUtil.java @@ -23,8 +23,6 @@ import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.List; -import org.apache.hadoop.hbase.classification.InterfaceAudience; -import org.apache.hadoop.hbase.classification.InterfaceStability; import org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage; import org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage; import org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage; @@ -33,8 +31,12 @@ import org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.Sta * Helper to convert Exceptions and StackTraces from/to protobuf. * (see ErrorHandling.proto for the internal of the proto messages) */ -@InterfaceAudience.Private -@InterfaceStability.Evolving +// @InterfaceAudience.Private +// @InterfaceStability.Evolving +// This class has NO InterfaceAudience. It is commented out. We do not want to import +// InterfaceAudience. This would be only class in this module with the IA import and we do not want +// to have this module depend annotations module just for one class. +// NO InterfaceAudience defaults to mean InterfaceAudience.Private! public final class ForeignExceptionUtil { private ForeignExceptionUtil() { } http://git-wip-us.apache.org/repos/asf/hbase/blob/591d86ab/hbase-protocol/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-protocol/pom.xml b/hbase-protocol/pom.xml index 9e5661a..c55f82c 100644 --- a/hbase-protocol/pom.xml +++ b/hbase-protocol/pom.xml @@ -115,16 +115,6 @@ - - org.apache.hbase - hbase-annotations - - - jdk.tools - jdk.tools - - - com.google.protobuf http://git-wip-us.apache.org/repos/asf/hbase/blob/591d86ab/hbase-protocol/src/main/java/org/apache/hadoop/hbase/util/ByteStringer.java ---------------------------------------------------------------------- diff --git a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/util/ByteStringer.java b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/util/ByteStringer.java index afa9297..f36c44a 100644 --- a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/util/ByteStringer.java +++ b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/util/ByteStringer.java @@ -19,7 +19,6 @@ package org.apache.hadoop.hbase.util; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; -import org.apache.hadoop.hbase.classification.InterfaceAudience; import com.google.protobuf.ByteString; import com.google.protobuf.HBaseZeroCopyByteString; @@ -27,7 +26,11 @@ import com.google.protobuf.HBaseZeroCopyByteString; /** * Hack to workaround HBASE-10304 issue that keeps bubbling up when a mapreduce context. */ -@InterfaceAudience.Private +// @InterfaceAudience.Private +// This class has NO InterfaceAudience. It is commented out. We do not want to import +// InterfaceAudience. This would be only class in this module with the IA import and we do not want +// to have this module depend annotations module just for one class. +// NO InterfaceAudience defaults to mean InterfaceAudience.Private! public class ByteStringer { private static final Log LOG = LogFactory.getLog(ByteStringer.class); http://git-wip-us.apache.org/repos/asf/hbase/blob/591d86ab/hbase-rest/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-rest/pom.xml b/hbase-rest/pom.xml index 7ce6d57..5141eb5 100644 --- a/hbase-rest/pom.xml +++ b/hbase-rest/pom.xml @@ -229,30 +229,6 @@ org.apache.hbase - hbase-hadoop-compat - - - org.apache.hbase - hbase-hadoop-compat - test-jar - test - - - - org.apache.hbase hbase-server test-jar test http://git-wip-us.apache.org/repos/asf/hbase/blob/591d86ab/hbase-spark-it/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-spark-it/pom.xml b/hbase-spark-it/pom.xml index 761ab7f..a71c9b8 100644 --- a/hbase-spark-it/pom.xml +++ b/hbase-spark-it/pom.xml @@ -216,16 +216,6 @@ org.apache.hbase - hbase-hadoop-compat - - - com.google.guava - guava - - - - - org.apache.hbase ${compat.module} ${project.version}