[ https://issues.apache.org/jira/browse/HIVE-14888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15549378#comment-15549378 ]
Hive QA commented on HIVE-14888: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12831776/HIVE-14888.1-spark.patch {color:red}ERROR:{color} -1 due to build exiting with an error Test results: http://ec2-54-177-240-2.us-west-1.compute.amazonaws.com/job/PreCommit-HIVE-Build/1406/testReport Console output: http://ec2-54-177-240-2.us-west-1.compute.amazonaws.com/job/PreCommit-HIVE-Build/1406/console Test logs: http://ec2-50-18-27-0.us-west-1.compute.amazonaws.com/logs/PreCommit-HIVE-Build-1406/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Tests exited with: NonZeroExitCodeException Command 'bash /data/hive-ptest/working/scratch/source-prep.sh' failed with exit status 1 and output '+ date '+%Y-%m-%d %T.%3N' 2016-10-05 17:15:02.987 + [[ -n /usr/java/jdk1.8.0_25 ]] + export JAVA_HOME=/usr/java/jdk1.8.0_25 + JAVA_HOME=/usr/java/jdk1.8.0_25 + export PATH=/usr/java/jdk1.8.0_25/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games + PATH=/usr/java/jdk1.8.0_25/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games + export 'ANT_OPTS=-Xmx1g -XX:MaxPermSize=256m ' + ANT_OPTS='-Xmx1g -XX:MaxPermSize=256m ' + export 'M2_OPTS=-Xmx1g -XX:MaxPermSize=256m -Dhttp.proxyHost=localhost -Dhttp.proxyPort=3128' + M2_OPTS='-Xmx1g -XX:MaxPermSize=256m -Dhttp.proxyHost=localhost -Dhttp.proxyPort=3128' + cd /data/hive-ptest/working/ + tee /data/hive-ptest/logs/PreCommit-HIVE-Build-1406/source-prep.txt + [[ false == \t\r\u\e ]] + mkdir -p maven ivy + [[ git = \s\v\n ]] + [[ git = \g\i\t ]] + [[ -z spark ]] + [[ -d apache-git-source-source ]] + [[ ! -d apache-git-source-source/.git ]] + [[ ! -d apache-git-source-source ]] + date '+%Y-%m-%d %T.%3N' 2016-10-05 17:15:02.989 + cd apache-git-source-source + git fetch origin >From https://github.com/apache/hive 96bcee86..5953988 master -> origin/master + git reset --hard HEAD HEAD is now at 078dbac HIVE-12205: Unify metric collection for local and remote spark client. (Chinna via Chengxiang) + git clean -f -d + git checkout spark Already on 'spark' Your branch is up-to-date with 'origin/spark'. + git reset --hard origin/spark HEAD is now at 078dbac HIVE-12205: Unify metric collection for local and remote spark client. (Chinna via Chengxiang) + git merge --ff-only origin/spark Already up-to-date. + date '+%Y-%m-%d %T.%3N' 2016-10-05 17:15:04.847 + 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 error: patch failed: spark-client/src/main/java/org/apache/hive/spark/client/SparkClientImpl.java:365 error: spark-client/src/main/java/org/apache/hive/spark/client/SparkClientImpl.java: patch does not apply The patch does not appear to apply with p0, p1, or p2 + exit 1 ' {noformat} This message is automatically generated. ATTACHMENT ID: 12831776 - PreCommit-HIVE-Build > SparkClientImpl checks for "kerberos" string in hiveconf only when > determining whether to use keytab file. > ---------------------------------------------------------------------------------------------------------- > > Key: HIVE-14888 > URL: https://issues.apache.org/jira/browse/HIVE-14888 > Project: Hive > Issue Type: Bug > Components: spark-branch > Affects Versions: 2.1.0 > Reporter: Thomas Rega > Assignee: Thomas Rega > Attachments: HIVE-14888.1-spark.patch > > Original Estimate: 5m > Remaining Estimate: 5m > > The SparkClientImpl will only provide a principal and keytab argument if the > HADOOP_SECURITY_AUTHENTICATION in hive conf is set to "kerberos". This will > not work on clusters with Hadoop security enabled that are not configured as > "kerberos", for example, a cluster which is configured for "ldap". > The solution is to call UserGroupInformation.isSecurityEnabled() instead. -- This message was sent by Atlassian JIRA (v6.3.4#6332)