[ 
https://issues.apache.org/jira/browse/HIVE-5133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13799673#comment-13799673
 ] 

Hive QA commented on HIVE-5133:
-------------------------------



{color:red}Overall{color}: -1 no tests executed

Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12609078/HIVE-5133.6.patch

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/1162/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/1162/console

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Tests failed with: NonZeroExitCodeException: Command 'bash 
/data/hive-ptest/working/scratch/source-prep.sh' failed with exit status 1 and 
output '+ [[ -n '' ]]
+ export 'ANT_OPTS=-Xmx1g -XX:MaxPermSize=256m -Dhttp.proxyHost=localhost 
-Dhttp.proxyPort=3128'
+ ANT_OPTS='-Xmx1g -XX:MaxPermSize=256m -Dhttp.proxyHost=localhost 
-Dhttp.proxyPort=3128'
+ export 'M2_OPTS=-Xmx1g -XX:MaxPermSize=256m '
+ M2_OPTS='-Xmx1g -XX:MaxPermSize=256m '
+ cd /data/hive-ptest/working/
+ tee /data/hive-ptest/logs/PreCommit-HIVE-Build-1162/source-prep.txt
+ [[ true == \t\r\u\e ]]
+ rm -rf ivy maven
+ mkdir -p maven ivy
+ [[ svn = \s\v\n ]]
+ [[ -n '' ]]
+ [[ -d apache-svn-trunk-source ]]
+ [[ ! -d apache-svn-trunk-source/.svn ]]
+ [[ ! -d apache-svn-trunk-source ]]
+ cd apache-svn-trunk-source
+ svn revert -R .
Reverted 'common/src/java/org/apache/hadoop/hive/conf/HiveConf.java'
Reverted 'common/src/java/org/apache/hadoop/hive/common/ObjectPair.java'
Reverted 'ql/src/test/results/clientpositive/auto_sortmerge_join_9.q.out'
Reverted 
'ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/PhysicalOptimizer.java'
Reverted 'ql/src/java/org/apache/hadoop/hive/ql/plan/ExplainWork.java'
Reverted 
'ql/src/java/org/apache/hadoop/hive/ql/parse/ExplainSemanticAnalyzer.java'
Reverted 'ql/src/java/org/apache/hadoop/hive/ql/exec/Task.java'
Reverted 'ql/src/java/org/apache/hadoop/hive/ql/exec/ExplainTask.java'
++ awk '{print $2}'
++ egrep -v '^X|^Performing status on external'
++ svn status --no-ignore
+ rm -rf build hcatalog/build hcatalog/core/build 
hcatalog/storage-handlers/hbase/build hcatalog/server-extensions/build 
hcatalog/webhcat/svr/build hcatalog/webhcat/java-client/build 
hcatalog/hcatalog-pig-adapter/build common/src/gen 
ql/src/test/results/clientpositive/explain_rearrange.q.out 
ql/src/test/queries/clientpositive/explain_rearrange.q 
ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/StageIDsRearranger.java
+ svn update
U    hcatalog/src/test/e2e/templeton/tests/jobsubmission.conf
A    hcatalog/src/test/e2e/templeton/inpdir/hcatloadstore.pig
U    
hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/CompleteDelegator.java
U    
hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/JarDelegator.java
U    
hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/PigDelegator.java
U    
hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/HiveDelegator.java
U    
hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/LauncherDelegator.java
A    
hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/tool/DelegationTokenCache.java
U    
hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/tool/TempletonControllerJob.java
U    
hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/Server.java
U    
hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/StreamingDelegator.java
U    
hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/SecureProxySupport.java

Fetching external item into 'hcatalog/src/test/e2e/harness'
Updated external to revision 1533667.

Updated to revision 1533667.
+ patchCommandPath=/data/hive-ptest/working/scratch/smart-apply-patch.sh
+ patchFilePath=/data/hive-ptest/working/scratch/build.patch
+ [[ -f /data/hive-ptest/working/scratch/build.patch ]]
+ chmod +x /data/hive-ptest/working/scratch/smart-apply-patch.sh
+ /data/hive-ptest/working/scratch/smart-apply-patch.sh 
/data/hive-ptest/working/scratch/build.patch
The patch does not appear to apply with p0 to p2
+ exit 1
'
{noformat}

This message is automatically generated.

> webhcat jobs that need to access metastore fails in secure mode
> ---------------------------------------------------------------
>
>                 Key: HIVE-5133
>                 URL: https://issues.apache.org/jira/browse/HIVE-5133
>             Project: Hive
>          Issue Type: Bug
>          Components: WebHCat
>    Affects Versions: 0.11.0
>            Reporter: Thejas M Nair
>            Assignee: Eugene Koifman
>             Fix For: 0.13.0
>
>         Attachments: HIVE-5133.1.patch, HIVE-5133.1.test.patch, 
> HIVE-5133.2.patch, HIVE-5133.3.patch, HIVE-5133.5.patch, HIVE-5133.6.patch
>
>
> Webhcat job submission requests result in the pig/hive/mr job being run from 
> a map task that it launches. In secure mode, for the pig/hive/mr job that is 
> run to be authorized to perform actions on metastore, it has to have the 
> delegation tokens from the hive metastore.
> In case of pig/MR job this is needed if hcatalog is being used in the 
> script/job.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to