[ https://issues.apache.org/jira/browse/HIVE-21247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16778998#comment-16778998 ]
Hive QA commented on HIVE-21247: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12958323/HIVE-21247.1.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:red}ERROR:{color} -1 due to 5 failed/errored test(s), 15819 tests executed *Failed tests:* {noformat} org.apache.hive.hcatalog.templeton.TestWebHCatE2e.getHadoopVersion (batchId=205) org.apache.hive.hcatalog.templeton.TestWebHCatE2e.getHiveVersion (batchId=205) org.apache.hive.hcatalog.templeton.TestWebHCatE2e.getPigVersion (batchId=205) org.apache.hive.hcatalog.templeton.TestWebHCatE2e.getStatus (batchId=205) org.apache.hive.hcatalog.templeton.TestWebHCatE2e.invalidPath (batchId=205) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/16262/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/16262/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-16262/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.YetusPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 5 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12958323 - PreCommit-HIVE-Build > 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 > Priority: Major > Fix For: 4.0.0 > > Attachments: HIVE-21247.1.patch > > > 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 > There's one config needed in webhcat-site.xml, to point > "templeton.hive.hs2.url" to hive jdbc url. -- This message was sent by Atlassian JIRA (v7.6.3#76005)