Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-13103

Creating Table Over HBase Should not Require HBase Create Permissions if Table Exists

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.1.0
    • None
    • None
    • None

    Description

      Today a user who only has READ permissions on HBase tried to create a hive table over an existing HBase table. The result was:

      Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:org.apache.hadoop.hbase.security.AccessDeniedException: org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient permissions (user=user_name, scope=default:table_name, params=[table=default:table_name],action=CREATE) at ...
      

      If the table exists in HBase already, I think that READ should be good enough to create the table in Hive.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jackowaya Alan Jackoway
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: