You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2019/02/12 00:09:00 UTC

[jira] [Created] (HIVE-21247) Webhcat beeline in secure mode

Daniel Dai created HIVE-21247:
---------------------------------

             Summary: Webhcat beeline in secure mode
                 Key: HIVE-21247
                 URL: https://issues.apache.org/jira/browse/HIVE-21247
             Project: Hive
          Issue Type: Improvement
          Components: WebHCat
            Reporter: Daniel Dai
            Assignee: Daniel Dai


Follow up HIVE-20550, we need to make beeline work in secure mode. That means, we need to get a delegation token from hiveserver2, and pass that to beeline. This is similar to HIVE-5133, I make two changes:
1. Make a jdbc connection to hs2, pull delegation token from HiveConnection, and pass along
2. In hive jdbc driver, check for token file in HADOOP_TOKEN_FILE_LOCATION, and extract delegation token if exists



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)