hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject svn commit: r1575485 - /hbase/branches/0.98/hbase-it/src/test/java/org/apache/hadoop/hbase/test/IntegrationTestWithCellVisibilityLoadAndVerify.java
Date Sat, 08 Mar 2014 05:00:58 GMT
Author: tedyu
Date: Sat Mar  8 05:00:57 2014
New Revision: 1575485

URL: http://svn.apache.org/r1575485
Log:
HBASE-10700 IntegrationTestWithCellVisibilityLoadAndVerify should allow current user to be
the admin


Modified:
    hbase/branches/0.98/hbase-it/src/test/java/org/apache/hadoop/hbase/test/IntegrationTestWithCellVisibilityLoadAndVerify.java

Modified: hbase/branches/0.98/hbase-it/src/test/java/org/apache/hadoop/hbase/test/IntegrationTestWithCellVisibilityLoadAndVerify.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.98/hbase-it/src/test/java/org/apache/hadoop/hbase/test/IntegrationTestWithCellVisibilityLoadAndVerify.java?rev=1575485&r1=1575484&r2=1575485&view=diff
==============================================================================
--- hbase/branches/0.98/hbase-it/src/test/java/org/apache/hadoop/hbase/test/IntegrationTestWithCellVisibilityLoadAndVerify.java
(original)
+++ hbase/branches/0.98/hbase-it/src/test/java/org/apache/hadoop/hbase/test/IntegrationTestWithCellVisibilityLoadAndVerify.java
Sat Mar  8 05:00:57 2014
@@ -113,9 +113,10 @@ public class IntegrationTestWithCellVisi
     conf.setInt(HFile.FORMAT_VERSION_KEY, 3);
     conf.set("hbase.coprocessor.master.classes", VisibilityController.class.getName());
     conf.set("hbase.coprocessor.region.classes", VisibilityController.class.getName());
-    conf.set("hbase.superuser", "admin," + User.getCurrent().getName());
+    String adminName = User.getCurrent().getName();
+    conf.set("hbase.superuser", adminName);
     super.setUpCluster();
-    ADMIN = User.createUserForTesting(conf, "admin", new String[] { "supergroup" });
+    ADMIN = User.createUserForTesting(conf, adminName, new String[] { "supergroup" });
     NORMAL_USER = User.createUserForTesting(conf, "user1", new String[] {});
     addLabelsAndAuths();
   }



Mime
View raw message