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

Delegation token can't be passed through from Hive to HBase when required by UDF

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.1.1
    • Fix Version/s: None
    • Component/s: CLI
    • Labels:
      None

      Description

      When using Hive CLI to query a Hive table with UDF which needs to access HBase with Kerberos, the delegation token can't be passed through to HBase from Hive CLI. Usually, if we access a Hbase directly from Hive CLI, Hive CLI will get the delegation token before the job starting.  But in this case hive CLI don't know this job need a HBase delegation token until the UDF was running in the map task and then error happened in the map job:
      GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos ...)]

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ibenny iBenny
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: