Yongzhi Chen created HIVE-15320:
-----------------------------------
Summary: Cross Realm hive query is failing with KERBEROS
authentication error
Key: HIVE-15320
URL: https://issues.apache.org/jira/browse/HIVE-15320
Project: Hive
Issue Type: Improvement
Components: Security
Reporter: Yongzhi Chen
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)