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

Log workAgile BoardRank to TopRank to BottomAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

              Dates

              • Created:
                Updated:

                Issue deployment