You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Yongzhi Chen (JIRA)" <ji...@apache.org> on 2016/11/30 15:30:59 UTC
[jira] [Created] (HIVE-15320) Cross Realm hive query is failing
with KERBEROS authentication error
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)