Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-3652

Users who do not have global access to hbase cluster can't connect to phoenix

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.8.0
    • 4.10.0, 4.8.3
    • None
    • None

    Description

      when I upgrade the namespaceMapping feature.I found some one can't connect to cluster.when error echo:"Caused by: org.apache.hadoop.hbase.security.AccessDeniedException: org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient permissions for user 'xxx' (global, action=ADMIN)"

      I foud the reason "at org.apache.phoenix.query.ConnectionQueryServicesImpl$13.ensureSystemTablesUpgraded(ConnectionQueryServicesImpl.java:2603)
      at org.apache.phoenix.query.ConnectionQueryServicesImpl$13.call(ConnectionQueryServicesImpl.java:2337)"

      each time new client connect to server where ensureSystemTableUpgraded who list empty "SYSTEM.*" table when error occur

      Attachments

        1. PHOENIX-3652_addendum3.patch
          2 kB
          Ankit Singhal
        2. PHOENIX-3652_addendum2.patch
          2 kB
          Ankit Singhal
        3. PHOENIX-3652.addendum.patch
          2 kB
          Josh Elser
        4. PHOENIX-3652_4.8.patch
          3 kB
          Ankit Singhal
        5. PHOENIX-3652.patch
          3 kB
          Ankit Singhal

        Issue Links

          Activity

            People

              ankit@apache.org Ankit Singhal
              kirayuan Kang Yuan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: