Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-3577

[hbase] Investigate exception thrown due to faulty permissions check

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.9.0
    • Fix Version/s: 3.11.0
    • Component/s: con.hbase
    • Labels:
      None
    • Sprint:
      April 11-22, 2016, May 2-13, 2016, May 23 - Jun 10, 2016

      Description

      From Mark Wang:

      Is there a reason that Hbase is expecting Hue users to have CREATE permissions when reading a table?

      Exception in Hue UI when user clicks on an Hbase Table:
      Api Error: org.apache.hadoop.hbase.security.AccessDeniedException: org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient permissions (user=admin, scope=default:analytics_demo, params=[table=default:analytics_demo],action=CREATE) at org.apache.hadoop.hbase.security.access.AccessController.requirePermission(AccessController.java:429)

      After closing the exception window in Hue, the user can read the table fine.

      I confirmed this on CDH 5.5.x with admin user after granting these permissions in Hue and installing the Hbase examples:

      grant 'hue', 'RWC', '@default'
      grant 'admin', 'R', '@default'

        Attachments

          Activity

            People

            • Assignee:
              jennykim Jenny Kim
              Reporter:
              jennykim Jenny Kim
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: