hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sur...@apache.org
Subject svn commit: r1482709 - in /hadoop/common/trunk/hadoop-common-project/hadoop-common: CHANGES.txt src/main/java/org/apache/hadoop/util/PlatformName.java
Date Wed, 15 May 2013 07:42:06 GMT
Author: suresh
Date: Wed May 15 07:42:06 2013
New Revision: 1482709

URL: http://svn.apache.org/r1482709
Log:
HADOOP-9563. Fix incompatibility introduced by HADOOP-9523. Contributed by Tian Hong Wang.

Modified:
    hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
    hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/PlatformName.java

Modified: hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt?rev=1482709&r1=1482708&r2=1482709&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt (original)
+++ hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt Wed May 15 07:42:06
2013
@@ -723,6 +723,9 @@ Release 2.0.5-beta - UNRELEASED
     HADOOP-9220. Unnecessary transition to standby in ActiveStandbyElector.
     (tom and todd via todd)
 
+    HADOOP-9563. Fix incompatibility introduced by HADOOP-9523.
+    (Tian Hong Wang via suresh)
+
 Release 2.0.4-alpha - 2013-04-25 
 
   INCOMPATIBLE CHANGES

Modified: hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/PlatformName.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/PlatformName.java?rev=1482709&r1=1482708&r2=1482709&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/PlatformName.java
(original)
+++ hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/PlatformName.java
Wed May 15 07:42:06 2013
@@ -25,7 +25,7 @@ import org.apache.hadoop.classification.
  * A helper class for getting build-info of the java-vm. 
  * 
  */
-@InterfaceAudience.Private
+@InterfaceAudience.LimitedPrivate({"HBase"})
 @InterfaceStability.Unstable
 public class PlatformName {
   /**
@@ -49,7 +49,6 @@ public class PlatformName {
   public static final boolean IBM_JAVA = JAVA_VENDOR_NAME.contains("IBM");
   
   public static void main(String[] args) {
-    System.out.println("platform name: " + PLATFORM_NAME);
-    System.out.println("java vendor name: " + JAVA_VENDOR_NAME);
+    System.out.println(PLATFORM_NAME);
   }
 }



Mime
View raw message