[
https://issues.apache.org/jira/browse/HBASE-10700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ted Yu resolved HBASE-10700.
----------------------------
Resolution: Fixed
> IntegrationTestWithCellVisibilityLoadAndVerify should allow current user to
> be the admin
> ----------------------------------------------------------------------------------------
>
> Key: HBASE-10700
> URL: https://issues.apache.org/jira/browse/HBASE-10700
> Project: HBase
> Issue Type: Task
> Reporter: Ted Yu
> Assignee: Ted Yu
> Fix For: 0.98.1, 0.99.0
>
> Attachments: 10700-v1.txt, 10700-v2.txt
>
>
> When we ran IntegrationTestWithCellVisibilityLoadAndVerify on secure cluster,
> we observed:
> {code}
> 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;
> {code}
> 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".
--
This message was sent by Atlassian JIRA
(v6.2#6252)