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

Hive QA commented on HIVE-21009:
--------------------------------



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

{color:red}ERROR:{color} -1 due to build exiting with an error

Test results: 
https://builds.apache.org/job/PreCommit-HIVE-Build/15933/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/15933/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-15933/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Tests exited with: NonZeroExitCodeException
Command 'bash /data/hiveptest/working/scratch/source-prep.sh' failed with exit 
status 1 and output '+ date '+%Y-%m-%d %T.%3N'
2019-02-05 01:36:14.804
+ [[ -n /usr/lib/jvm/java-8-openjdk-amd64 ]]
+ export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
+ JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
+ export 
PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ 
PATH=/usr/lib/jvm/java-8-openjdk-amd64/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 'MAVEN_OPTS=-Xmx1g '
+ MAVEN_OPTS='-Xmx1g '
+ cd /data/hiveptest/working/
+ tee /data/hiveptest/logs/PreCommit-HIVE-Build-15933/source-prep.txt
+ [[ false == \t\r\u\e ]]
+ mkdir -p maven ivy
+ [[ git = \s\v\n ]]
+ [[ git = \g\i\t ]]
+ [[ -z master ]]
+ [[ -d apache-github-source-source ]]
+ [[ ! -d apache-github-source-source/.git ]]
+ [[ ! -d apache-github-source-source ]]
+ date '+%Y-%m-%d %T.%3N'
2019-02-05 01:36:14.807
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
HEAD is now at 4a4b9ca HIVE-21159 Modify Merge statement logic to perform 
Update split early (Eugene Koifman, reviewed by Vaibhav Gumashta)
+ git clean -f -d
Removing ${project.basedir}/
Removing itests/${project.basedir}/
Removing standalone-metastore/metastore-server/src/gen/
+ git checkout master
Already on 'master'
Your branch is up-to-date with 'origin/master'.
+ git reset --hard origin/master
HEAD is now at 4a4b9ca HIVE-21159 Modify Merge statement logic to perform 
Update split early (Eugene Koifman, reviewed by Vaibhav Gumashta)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2019-02-05 01:36:15.514
+ rm -rf ../yetus_PreCommit-HIVE-Build-15933
+ mkdir ../yetus_PreCommit-HIVE-Build-15933
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-15933
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-15933/yetus
+ patchCommandPath=/data/hiveptest/working/scratch/smart-apply-patch.sh
+ patchFilePath=/data/hiveptest/working/scratch/build.patch
+ [[ -f /data/hiveptest/working/scratch/build.patch ]]
+ chmod +x /data/hiveptest/working/scratch/smart-apply-patch.sh
+ /data/hiveptest/working/scratch/smart-apply-patch.sh 
/data/hiveptest/working/scratch/build.patch
fatal: git diff header lacks filename information when removing 0 leading 
pathname components (line 229)
error: cannot apply binary patch to 
'service/src/test/resources/creds/test.jceks' without full index line
Falling back to three-way merge...
error: cannot apply binary patch to 
'service/src/test/resources/creds/test.jceks' without full index line
error: service/src/test/resources/creds/test.jceks: patch does not apply
error: src/java/org/apache/hadoop/hive/conf/HiveConf.java: does not exist in 
index
error: patch failed: pom.xml:323
Falling back to three-way merge...
Applied patch to 'pom.xml' with conflicts.
error: 
src/java/org/apache/hive/service/auth/LdapAuthenticationProviderImpl.java: does 
not exist in index
error: 
src/test/org/apache/hive/service/auth/TestLdapAuthenticationProviderImpl.java: 
does not exist in index
error: cannot apply binary patch to 'src/test/resources/creds/test.jceks' 
without full index line
Falling back to three-way merge...
error: cannot apply binary patch to 'src/test/resources/creds/test.jceks' 
without full index line
error: src/test/resources/creds/test.jceks: patch does not apply
The patch does not appear to apply with p0, p1, or p2
+ result=1
+ '[' 1 -ne 0 ']'
+ rm -rf yetus_PreCommit-HIVE-Build-15933
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12957564 - PreCommit-HIVE-Build

> LDAP - Specify binddn for ldap-search
> -------------------------------------
>
>                 Key: HIVE-21009
>                 URL: https://issues.apache.org/jira/browse/HIVE-21009
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>    Affects Versions: 2.1.0, 2.1.1, 2.2.0, 2.3.0, 2.3.1, 2.3.2
>            Reporter: Thomas Uhren
>            Assignee: David McGinnis
>            Priority: Major
>              Labels: features, newbie, security
>         Attachments: HIVE-21009.01.patch, HIVE-21009.02.patch, 
> HIVE-21009.patch
>
>
> When user accounts cannot do an LDAP search, there is currently no way of 
> specifying a custom binddn to use for the ldap-search.
> So I'm missing something like that:
> {code}
> hive.server2.authentication.ldap.bindn=cn=ldapuser,ou=user,dc=example
> hive.server2.authentication.ldap.bindnpw=password
> {code}



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

Reply via email to