Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7D93C200B99 for ; Wed, 5 Oct 2016 18:53:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7C143160ADE; Wed, 5 Oct 2016 16:53:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C0DB8160AC9 for ; Wed, 5 Oct 2016 18:53:21 +0200 (CEST) Received: (qmail 26673 invoked by uid 500); 5 Oct 2016 16:53:21 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 26660 invoked by uid 99); 5 Oct 2016 16:53:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Oct 2016 16:53:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6BB4E2C0032 for ; Wed, 5 Oct 2016 16:53:20 +0000 (UTC) Date: Wed, 5 Oct 2016 16:53:20 +0000 (UTC) From: "Hive QA (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-14888) SparkClientImpl checks for "kerberos" string in hiveconf only when determining whether to use keytab file. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 05 Oct 2016 16:53:22 -0000 [ https://issues.apache.org/jira/browse/HIVE-14888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15549303#comment-15549303 ] Hive QA commented on HIVE-14888: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12831773/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/1405/testReport Console output: http://ec2-54-177-240-2.us-west-1.compute.amazonaws.com/job/PreCommit-HIVE-Build/1405/console Test logs: http://ec2-50-18-27-0.us-west-1.compute.amazonaws.com/logs/PreCommit-HIVE-Build-1405/ 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 16:53:19.795 + [[ -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-1405/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 16:53:19.797 + cd apache-git-source-source + git fetch origin From https://github.com/apache/hive 481d7cd..96bcee86 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 16:53:24.635 + 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 fatal: corrupt patch at line 21 The patch does not appear to apply with p0, p1, or p2 + exit 1 ' {noformat} This message is automatically generated. ATTACHMENT ID: 12831773 - 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)