Amend HBASE-16538 Changes the way version information is stored during build

Generated Version class needs an interface audience annotation


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/520c3cc4
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/520c3cc4
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/520c3cc4

Branch: refs/heads/master
Commit: 520c3cc4e93112d7cf685df25ed8900836c0fbe8
Parents: 008091f
Author: Andrew Purtell <apurt...@apache.org>
Authored: Fri Sep 2 19:51:33 2016 -0700
Committer: Andrew Purtell <apurt...@apache.org>
Committed: Fri Sep 2 19:54:05 2016 -0700

----------------------------------------------------------------------
 hbase-common/src/saveVersion.sh | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/520c3cc4/hbase-common/src/saveVersion.sh
----------------------------------------------------------------------
diff --git a/hbase-common/src/saveVersion.sh b/hbase-common/src/saveVersion.sh
index 4c21829..b335039 100644
--- a/hbase-common/src/saveVersion.sh
+++ b/hbase-common/src/saveVersion.sh
@@ -61,6 +61,9 @@ cat >"$outputDirectory/org/apache/hadoop/hbase/Version.java" 
<<EOF
  */
 package org.apache.hadoop.hbase;
 
+import org.apache.hadoop.hbase.classification.InterfaceAudience;
+
+@InterfaceAudience.Private
 public class Version {
   public static final String version = "$version";
   public static final String revision = "$revision";

Reply via email to