hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From li...@apache.org
Subject svn commit: r1426610 - /hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/MiniHBaseCluster.java
Date Fri, 28 Dec 2012 19:18:46 GMT
Author: liyin
Date: Fri Dec 28 19:18:46 2012
New Revision: 1426610

URL: http://svn.apache.org/viewvc?rev=1426610&view=rev
Log:
[HBASE-7444] Change the default user name in the HBase unit test

Author: liyintang

Summary: After moving to baboon,  a large set of HBase unit tests are failed due to the previous
hbase user name format.

Test Plan: tested on previous failed unit tests such as org.apache.hadoop.hbase.TestGlobalMemStoreSize

Reviewers: adela, pritam

Reviewed By: adela

CC: hbase-eng@

Differential Revision: https://phabricator.fb.com/D667427

Task ID: 1984003

Modified:
    hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/MiniHBaseCluster.java

Modified: hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/MiniHBaseCluster.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/MiniHBaseCluster.java?rev=1426610&r1=1426609&r2=1426610&view=diff
==============================================================================
--- hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/MiniHBaseCluster.java (original)
+++ hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/MiniHBaseCluster.java Fri
Dec 28 19:18:46 2012
@@ -199,7 +199,7 @@ public class MiniHBaseCluster {
       // Else distributed filesystem.  Make a new instance per daemon.  Below
       // code is taken from the AppendTestUtil over in hdfs.
       Configuration c2 = new Configuration(c);
-      String username = UGI.getUserName() + ".hrs." + index++;
+      String username = UGI.getUserName() + "-hrs-" + index++;
       UnixUserGroupInformation.saveToConf(c2,
         UnixUserGroupInformation.UGI_PROPERTY_NAME,
         new UnixUserGroupInformation(username, new String[]{"supergroup"}));



Mime
View raw message