Description
When we ran IntegrationTestWithCellVisibilityLoadAndVerify on secure cluster, we observed:
2014-03-06 05:00:29,210|beaver.machine|INFO|2014-03-06 05:00:29,209 WARN [main] security.UserGroupInformation: PriviledgedActionException as:admin (auth:SIMPLE) cause:org.apache.hadoop.security.AccessControlException: Client cannot authenticate via:[TOKEN, KERBEROS] 2014-03-06 05:00:29,211|beaver.machine|INFO|2014-03-06 05:00:29,211 WARN [main] ipc.Client: Exception encountered while connecting to the server : org.apache.hadoop.security.AccessControlException: Client cannot authenticate via:[TOKEN, KERBEROS] 2014-03-06 05:00:29,211|beaver.machine|INFO|2014-03-06 05:00:29,211 WARN [main] security.UserGroupInformation: PriviledgedActionException as:admin (auth:SIMPLE) cause:java.io.IOException: org.apache.hadoop.security.AccessControlException: Client cannot authenticate via:[TOKEN, KERBEROS] 2014-03-06 05:00:29,214|beaver.machine|INFO|2014-03-06 05:00:29,214 WARN [main] security.UserGroupInformation: PriviledgedActionException as:admin (auth:SIMPLE) cause:java.io.IOException: Failed on local exception: java.io.IOException: org.apache.hadoop.security.AccessControlException: Client cannot authenticate via:[TOKEN, KERBEROS]; Host Details : local host is: "17n27.net/206.190.52.46"; destination host is: "17n26.net":8020;
This was due to the test using "admin" as super user but this user wasn't setup on secure cluster.
user "hbase" has been setup and was used to run the test.
The test should use current user to be the admin, if it is different from "admin".