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

Cross Realm hive query is failing with KERBEROS authentication error

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Security
    • None

    Description

      Executing cross realm query and it is failing.
      Authentication against remote NN is tried with SIMPLE, not KERBEROS.
      It looks Hive does not obtain needed ticket for remote NN.

      insert overwrite directory 'hdfs://differentrealmhost:8020/hive/test' select * from currentrealmtable where ...;
      It will fail with
      java.io.IOException: org.apache.hadoop.security.AccessControlException: Client cannot authenticate via:[TOKEN, KERBEROS]

      hdfs command distcp works fine.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ychena Yongzhi Chen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: