Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-10700

IntegrationTestWithCellVisibilityLoadAndVerify should allow current user to be the admin

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.98.1, 0.99.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      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".

        Attachments

        1. 10700-v2.txt
          1 kB
          Ted Yu
        2. 10700-v1.txt
          1 kB
          Ted Yu

          Activity

            People

            • Assignee:
              yuzhihong@gmail.com Ted Yu
              Reporter:
              yuzhihong@gmail.com Ted Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: