[jira] [Commented] (HIVE-21009) LDAP - Specify binddn for ldap-search
[ https://issues.apache.org/jira/browse/HIVE-21009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16762210#comment-16762210 ] David McGinnis commented on HIVE-21009: --- [~prasanth_j] Added! > 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: > 0001-HIVE-21009-Adding-ability-for-user-to-set-bind-user-.patch, > HIVE-21009.01.patch, HIVE-21009.02.patch, HIVE-21009.03.patch, > HIVE-21009.04.patch, HIVE-21009.05.patch, HIVE-21009.06.patch, > HIVE-21009.07.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)
[jira] [Commented] (HIVE-21009) LDAP - Specify binddn for ldap-search
[ https://issues.apache.org/jira/browse/HIVE-21009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16762201#comment-16762201 ] Prasanth Jayachandran commented on HIVE-21009: -- [~mcginnda] can you please upload git format-patch to properly attribute the commit to your email? > 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.03.patch, HIVE-21009.04.patch, HIVE-21009.05.patch, > HIVE-21009.06.patch, HIVE-21009.07.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)
[jira] [Commented] (HIVE-21009) LDAP - Specify binddn for ldap-search
[ https://issues.apache.org/jira/browse/HIVE-21009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16761990#comment-16761990 ] Prasanth Jayachandran commented on HIVE-21009: -- Yeah. Make sense. If it is not related to this patch then we don't have to handle it in this ticket. The test run looks clean, I will go ahead and commit the patch shortly. > 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.03.patch, HIVE-21009.04.patch, HIVE-21009.05.patch, > HIVE-21009.06.patch, HIVE-21009.07.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)
[jira] [Commented] (HIVE-21009) LDAP - Specify binddn for ldap-search
[ https://issues.apache.org/jira/browse/HIVE-21009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16761976#comment-16761976 ] David McGinnis commented on HIVE-21009: --- [~prasanth_j]: I looked in that pom, and it should be covered by the line which excludes anything inside of a resources folder (which the jceks file is). I believe we are seeing that error due to a commit a few days ago of [https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFValidateAcidSortOrder.java] which does not have a license at the top of the file. My understanding of the desired process is that you shouldn't make changes outside of the bug you are working on (and simple cleanup of the code around it), so I'm not sure I'm supposed to add the license to the file as part of this change, as part of a separate change, or just ignore it until someone else fixes it. Feel free to give me guidance on this. > 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.03.patch, HIVE-21009.04.patch, HIVE-21009.05.patch, > HIVE-21009.06.patch, HIVE-21009.07.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)
[jira] [Commented] (HIVE-21009) LDAP - Specify binddn for ldap-search
[ https://issues.apache.org/jira/browse/HIVE-21009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16761959#comment-16761959 ] Prasanth Jayachandran commented on HIVE-21009: -- You may have to add apache rat exclusion for jceks file to [https://github.com/apache/hive/blob/master/pom.xml#L1350-L1353] to avoid the asflicense issue. > 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.03.patch, HIVE-21009.04.patch, HIVE-21009.05.patch, > HIVE-21009.06.patch, HIVE-21009.07.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)
[jira] [Commented] (HIVE-21009) LDAP - Specify binddn for ldap-search
[ https://issues.apache.org/jira/browse/HIVE-21009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16761672#comment-16761672 ] Hive QA commented on HIVE-21009: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12957719/HIVE-21009.07.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:green}SUCCESS:{color} +1 due to 15777 tests passed Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/15962/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/15962/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-15962/ 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 {noformat} This message is automatically generated. ATTACHMENT ID: 12957719 - 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.03.patch, HIVE-21009.04.patch, HIVE-21009.05.patch, > HIVE-21009.06.patch, HIVE-21009.07.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)
[jira] [Commented] (HIVE-21009) LDAP - Specify binddn for ldap-search
[ https://issues.apache.org/jira/browse/HIVE-21009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16761653#comment-16761653 ] Hive QA commented on HIVE-21009: | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || || || || || {color:brown} Prechecks {color} || | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s{color} | {color:green} The patch does not contain any @author tags. {color} | || || || || {color:brown} master Compile Tests {color} || | {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue} 1m 22s{color} | {color:blue} Maven dependency ordering for branch {color} | | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 6m 29s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 37s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 26s{color} | {color:green} master passed {color} | | {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue} 0m 29s{color} | {color:blue} common in master has 65 extant Findbugs warnings. {color} | | {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue} 0m 35s{color} | {color:blue} service in master has 48 extant Findbugs warnings. {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 28s{color} | {color:green} master passed {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue} 0m 25s{color} | {color:blue} Maven dependency ordering for patch {color} | | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 0m 38s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 37s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 0m 37s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 26s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s{color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} xml {color} | {color:green} 0m 1s{color} | {color:green} The patch has no ill-formed XML file. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 1m 19s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 28s{color} | {color:green} the patch passed {color} | || || || || {color:brown} Other Tests {color} || | {color:red}-1{color} | {color:red} asflicense {color} | {color:red} 0m 13s{color} | {color:red} The patch generated 1 ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 15m 9s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Optional Tests | asflicense javac javadoc findbugs checkstyle compile xml | | uname | Linux hiveptest-server-upstream 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux | | Build tool | maven | | Personality | /data/hiveptest/working/yetus_PreCommit-HIVE-Build-15962/dev-support/hive-personality.sh | | git revision | master / 269dc5d | | Default Java | 1.8.0_111 | | findbugs | v3.0.0 | | asflicense | http://104.198.109.242/logs//PreCommit-HIVE-Build-15962/yetus/patch-asflicense-problems.txt | | modules | C: common service U: . | | Console output | http://104.198.109.242/logs//PreCommit-HIVE-Build-15962/yetus.txt | | Powered by | Apache Yetushttp://yetus.apache.org | This message was automatically generated. > 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.03.patch, HIVE-21009.04.patch, HIVE-21009.05.patch, > HIVE-21009.06.patch, HIVE-21009.07.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=pass
[jira] [Commented] (HIVE-21009) LDAP - Specify binddn for ldap-search
[ https://issues.apache.org/jira/browse/HIVE-21009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16761461#comment-16761461 ] David McGinnis commented on HIVE-21009: --- Tests are passing, but for whatever reason I am still seeing build failures as if the changes to hive-common are not being recognized. Trying to replicate locally, but if anyone has an idea why we would be seeing this, I'd appreciate some help here... > 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.03.patch, HIVE-21009.04.patch, HIVE-21009.05.patch, > HIVE-21009.06.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)
[jira] [Commented] (HIVE-21009) LDAP - Specify binddn for ldap-search
[ https://issues.apache.org/jira/browse/HIVE-21009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16761439#comment-16761439 ] Hive QA commented on HIVE-21009: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12957702/HIVE-21009.06.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:green}SUCCESS:{color} +1 due to 15735 tests passed Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/15956/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/15956/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-15956/ 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 {noformat} This message is automatically generated. ATTACHMENT ID: 12957702 - 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.03.patch, HIVE-21009.04.patch, HIVE-21009.05.patch, > HIVE-21009.06.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)
[jira] [Commented] (HIVE-21009) LDAP - Specify binddn for ldap-search
[ https://issues.apache.org/jira/browse/HIVE-21009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16761398#comment-16761398 ] Hive QA commented on HIVE-21009: | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || || || || || {color:brown} Prechecks {color} || | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s{color} | {color:green} The patch does not contain any @author tags. {color} | || || || || {color:brown} master Compile Tests {color} || | {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue} 1m 19s{color} | {color:blue} Maven dependency ordering for branch {color} | | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 6m 17s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 37s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 25s{color} | {color:green} master passed {color} | | {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue} 0m 30s{color} | {color:blue} common in master has 65 extant Findbugs warnings. {color} | | {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue} 0m 37s{color} | {color:blue} service in master has 48 extant Findbugs warnings. {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 26s{color} | {color:green} master passed {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue} 0m 24s{color} | {color:blue} Maven dependency ordering for patch {color} | | {color:red}-1{color} | {color:red} mvninstall {color} | {color:red} 0m 20s{color} | {color:red} service in the patch failed. {color} | | {color:red}-1{color} | {color:red} compile {color} | {color:red} 0m 18s{color} | {color:red} service in the patch failed. {color} | | {color:red}-1{color} | {color:red} javac {color} | {color:red} 0m 18s{color} | {color:red} service in the patch failed. {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 25s{color} | {color:green} the patch passed {color} | | {color:red}-1{color} | {color:red} whitespace {color} | {color:red} 0m 0s{color} | {color:red} The patch has 2 line(s) that end in whitespace. Use git apply --whitespace=fix <>. Refer https://git-scm.com/docs/git-apply {color} | | {color:green}+1{color} | {color:green} xml {color} | {color:green} 0m 1s{color} | {color:green} The patch has no ill-formed XML file. {color} | | {color:red}-1{color} | {color:red} findbugs {color} | {color:red} 0m 18s{color} | {color:red} service in the patch failed. {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 27s{color} | {color:green} the patch passed {color} | || || || || {color:brown} Other Tests {color} || | {color:red}-1{color} | {color:red} asflicense {color} | {color:red} 0m 12s{color} | {color:red} The patch generated 1 ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 14m 12s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Optional Tests | asflicense javac javadoc findbugs checkstyle compile xml | | uname | Linux hiveptest-server-upstream 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux | | Build tool | maven | | Personality | /data/hiveptest/working/yetus_PreCommit-HIVE-Build-15956/dev-support/hive-personality.sh | | git revision | master / 313e49f | | Default Java | 1.8.0_111 | | findbugs | v3.0.0 | | mvninstall | http://104.198.109.242/logs//PreCommit-HIVE-Build-15956/yetus/patch-mvninstall-service.txt | | compile | http://104.198.109.242/logs//PreCommit-HIVE-Build-15956/yetus/patch-compile-service.txt | | javac | http://104.198.109.242/logs//PreCommit-HIVE-Build-15956/yetus/patch-compile-service.txt | | whitespace | http://104.198.109.242/logs//PreCommit-HIVE-Build-15956/yetus/whitespace-eol.txt | | findbugs | http://104.198.109.242/logs//PreCommit-HIVE-Build-15956/yetus/patch-findbugs-service.txt | | asflicense | http://104.198.109.242/logs//PreCommit-HIVE-Build-15956/yetus/patch-asflicense-problems.txt | | modules | C: common service U: . | | Console output | http://104.198.109.242/logs//PreCommit-HIVE-Build-15956/yetus.txt | | Powered by | Apache Yetushttp://yetus.apache.org | This message was automatically generated. > 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
[jira] [Commented] (HIVE-21009) LDAP - Specify binddn for ldap-search
[ https://issues.apache.org/jira/browse/HIVE-21009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16761020#comment-16761020 ] Hive QA commented on HIVE-21009: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12957653/HIVE-21009.05.patch {color:red}ERROR:{color} -1 due to build exiting with an error Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/15947/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/15947/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-15947/ 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 16:53:23.660 + [[ -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-15947/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 16:53:23.663 + cd apache-github-source-source + git fetch origin + git reset --hard HEAD HEAD is now at 313e49f HIVE-20699: Query based compactor for full CRUD Acid tables (Vaibhav Gumashta reviewed by Eugene Koifman) + 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 313e49f HIVE-20699: Query based compactor for full CRUD Acid tables (Vaibhav Gumashta reviewed by Eugene Koifman) + git merge --ff-only origin/master Already up-to-date. + date '+%Y-%m-%d %T.%3N' 2019-02-05 16:53:24.629 + rm -rf ../yetus_PreCommit-HIVE-Build-15947 + mkdir ../yetus_PreCommit-HIVE-Build-15947 + git gc + cp -R . ../yetus_PreCommit-HIVE-Build-15947 + mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-15947/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 error: patch failed: common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:2705 Falling back to three-way merge... Applied patch to 'common/src/java/org/apache/hadoop/hive/conf/HiveConf.java' with conflicts. Going to apply patch with: git apply -p0 /data/hiveptest/working/scratch/build.patch:221: trailing whitespace. /data/hiveptest/working/scratch/build.patch:238: trailing whitespace. error: patch failed: common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:2705 Falling back to three-way merge... Applied patch to 'common/src/java/org/apache/hadoop/hive/conf/HiveConf.java' with conflicts. U common/src/java/org/apache/hadoop/hive/conf/HiveConf.java warning: 2 lines add whitespace errors. + result=1 + '[' 1 -ne 0 ']' + rm -rf yetus_PreCommit-HIVE-Build-15947 + exit 1 ' {noformat} This message is automatically generated. ATTACHMENT ID: 12957653 - 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.03.patch, HIVE-21009.04.patch, HIVE-21009.05.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
[jira] [Commented] (HIVE-21009) LDAP - Specify binddn for ldap-search
[ https://issues.apache.org/jira/browse/HIVE-21009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16760532#comment-16760532 ] Hive QA commented on HIVE-21009: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12957582/HIVE-21009.04.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:green}SUCCESS:{color} +1 due to 15735 tests passed Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/15939/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/15939/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-15939/ 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 {noformat} This message is automatically generated. ATTACHMENT ID: 12957582 - 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.03.patch, HIVE-21009.04.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)
[jira] [Commented] (HIVE-21009) LDAP - Specify binddn for ldap-search
[ https://issues.apache.org/jira/browse/HIVE-21009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16760505#comment-16760505 ] Hive QA commented on HIVE-21009: | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || || || || || {color:brown} Prechecks {color} || | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s{color} | {color:green} The patch does not contain any @author tags. {color} | || || || || {color:brown} master Compile Tests {color} || | {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue} 1m 24s{color} | {color:blue} Maven dependency ordering for branch {color} | | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 6m 3s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 35s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 24s{color} | {color:green} master passed {color} | | {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue} 0m 27s{color} | {color:blue} common in master has 65 extant Findbugs warnings. {color} | | {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue} 0m 33s{color} | {color:blue} service in master has 48 extant Findbugs warnings. {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 26s{color} | {color:green} master passed {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue} 0m 24s{color} | {color:blue} Maven dependency ordering for patch {color} | | {color:red}-1{color} | {color:red} mvninstall {color} | {color:red} 0m 20s{color} | {color:red} service in the patch failed. {color} | | {color:red}-1{color} | {color:red} compile {color} | {color:red} 0m 20s{color} | {color:red} service in the patch failed. {color} | | {color:red}-1{color} | {color:red} javac {color} | {color:red} 0m 20s{color} | {color:red} service in the patch failed. {color} | | {color:red}-1{color} | {color:red} checkstyle {color} | {color:red} 0m 14s{color} | {color:red} common: The patch generated 2 new + 428 unchanged - 0 fixed = 430 total (was 428) {color} | | {color:red}-1{color} | {color:red} checkstyle {color} | {color:red} 0m 10s{color} | {color:red} service: The patch generated 5 new + 24 unchanged - 0 fixed = 29 total (was 24) {color} | | {color:red}-1{color} | {color:red} whitespace {color} | {color:red} 0m 0s{color} | {color:red} The patch has 4 line(s) that end in whitespace. Use git apply --whitespace=fix <>. Refer https://git-scm.com/docs/git-apply {color} | | {color:green}+1{color} | {color:green} xml {color} | {color:green} 0m 1s{color} | {color:green} The patch has no ill-formed XML file. {color} | | {color:red}-1{color} | {color:red} findbugs {color} | {color:red} 0m 16s{color} | {color:red} service in the patch failed. {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 27s{color} | {color:green} the patch passed {color} | || || || || {color:brown} Other Tests {color} || | {color:red}-1{color} | {color:red} asflicense {color} | {color:red} 0m 11s{color} | {color:red} The patch generated 1 ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 13m 51s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Optional Tests | asflicense javac javadoc findbugs checkstyle compile xml | | uname | Linux hiveptest-server-upstream 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux | | Build tool | maven | | Personality | /data/hiveptest/working/yetus_PreCommit-HIVE-Build-15939/dev-support/hive-personality.sh | | git revision | master / 313e49f | | Default Java | 1.8.0_111 | | findbugs | v3.0.0 | | mvninstall | http://104.198.109.242/logs//PreCommit-HIVE-Build-15939/yetus/patch-mvninstall-service.txt | | compile | http://104.198.109.242/logs//PreCommit-HIVE-Build-15939/yetus/patch-compile-service.txt | | javac | http://104.198.109.242/logs//PreCommit-HIVE-Build-15939/yetus/patch-compile-service.txt | | checkstyle | http://104.198.109.242/logs//PreCommit-HIVE-Build-15939/yetus/diff-checkstyle-common.txt | | checkstyle | http://104.198.109.242/logs//PreCommit-HIVE-Build-15939/yetus/diff-checkstyle-service.txt | | whitespace | http://104.198.109.242/logs//PreCommit-HIVE-Build-15939/yetus/whitespace-eol.txt | | findbugs | http://104.198.109.242/logs//PreCommit-HIVE-Build-15939/yetus/patch-findbugs-service.txt | | asflicense | http://104.198.109.242/logs//PreCommit-HIVE-Build-15939/yetus/patch-asflicense-problems.txt | | modules | C: common service U: . | | Console output | http://104.198.109.242/logs//PreCommit-HIVE-Build-15939/yetus.txt | | Powered
[jira] [Commented] (HIVE-21009) LDAP - Specify binddn for ldap-search
[ https://issues.apache.org/jira/browse/HIVE-21009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16760427#comment-16760427 ] Hive QA commented on HIVE-21009: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12957571/HIVE-21009.03.patch {color:red}ERROR:{color} -1 due to build exiting with an error Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/15935/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/15935/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-15935/ 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 03:52:00.728 + [[ -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-15935/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 03:52:00.731 + cd apache-github-source-source + git fetch origin >From https://github.com/apache/hive 4a4b9ca..313e49f master -> origin/master + 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 standalone-metastore/metastore-server/src/gen/ + git checkout master Already on 'master' Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded. (use "git pull" to update your local branch) + git reset --hard origin/master HEAD is now at 313e49f HIVE-20699: Query based compactor for full CRUD Acid tables (Vaibhav Gumashta reviewed by Eugene Koifman) + git merge --ff-only origin/master Already up-to-date. + date '+%Y-%m-%d %T.%3N' 2019-02-05 03:52:02.658 + rm -rf ../yetus_PreCommit-HIVE-Build-15935 + mkdir ../yetus_PreCommit-HIVE-Build-15935 + git gc + cp -R . ../yetus_PreCommit-HIVE-Build-15935 + mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-15935/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-15935 + exit 1 ' {noformat} This message is automatically generated. ATTACHMENT ID: 12957571 - 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:
[jira] [Commented] (HIVE-21009) LDAP - Specify binddn for ldap-search
[ 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 >
[jira] [Commented] (HIVE-21009) LDAP - Specify binddn for ldap-search
[ https://issues.apache.org/jira/browse/HIVE-21009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16760340#comment-16760340 ] Prasanth Jayachandran commented on HIVE-21009: -- Thanks for the updated patch [~mcginnda] . +1 still. Will get it committed after pre-commit test results. > 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 > 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)
[jira] [Commented] (HIVE-21009) LDAP - Specify binddn for ldap-search
[ https://issues.apache.org/jira/browse/HIVE-21009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16760329#comment-16760329 ] David McGinnis commented on HIVE-21009: --- [~prasanth_j]: Thanks for the catch! Not surprised this already exists, should've looked before. I've got a change made and am running tests currently. Will upload patch once the tests finish successfully. > 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 > Attachments: HIVE-21009.01.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)
[jira] [Commented] (HIVE-21009) LDAP - Specify binddn for ldap-search
[ https://issues.apache.org/jira/browse/HIVE-21009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16760321#comment-16760321 ] Prasanth Jayachandran commented on HIVE-21009: -- nit: Hadoop configuration getPassword() seems to be iterating over credentials provider and fallsback to config. which seems similar to what you are doing, isn't it? [https://hadoop.apache.org/docs/r2.6.4/api/org/apache/hadoop/conf/Configuration.html#getPassword(java.lang.String)] > 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 > Attachments: HIVE-21009.01.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)
[jira] [Commented] (HIVE-21009) LDAP - Specify binddn for ldap-search
[ https://issues.apache.org/jira/browse/HIVE-21009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16760314#comment-16760314 ] Prasanth Jayachandran commented on HIVE-21009: -- lgtm, +1 > 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 > Attachments: HIVE-21009.01.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)
[jira] [Commented] (HIVE-21009) LDAP - Specify binddn for ldap-search
[ https://issues.apache.org/jira/browse/HIVE-21009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16760300#comment-16760300 ] Prasanth Jayachandran commented on HIVE-21009: -- To get password, using conf.getPassword() is more secure as it reads using hadoop's credentials provider (which could be jceks file). > 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 > Attachments: 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)
[jira] [Commented] (HIVE-21009) LDAP - Specify binddn for ldap-search
[ https://issues.apache.org/jira/browse/HIVE-21009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16751407#comment-16751407 ] David McGinnis commented on HIVE-21009: --- [~tuhren]: I had to make a patch recently for a client to do this exact thing in the LDAPAuthenticationProviderImpl class, so I'm open to spruce it up and contribute it back to the project. Will assign this to myself and clean up the patch to get it ready for contribution. > 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 >Priority: Major > > 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)