hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-12885) LDAP Authenticator improvements
Date Fri, 05 Feb 2016 21:22:39 GMT

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

Hive QA commented on HIVE-12885:
--------------------------------



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

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

Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-BRANCH_1-Build/21/testReport
Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-BRANCH_1-Build/21/console
Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-BRANCH_1-Build-21/

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 '+ [[ -n /usr/java/jdk1.7.0_45-cloudera ]]
+ export JAVA_HOME=/usr/java/jdk1.7.0_45-cloudera
+ JAVA_HOME=/usr/java/jdk1.7.0_45-cloudera
+ export PATH=/usr/java/jdk1.7.0_45-cloudera/bin/:/usr/local/apache-maven-3.0.5/bin:/usr/java/jdk1.7.0_45-cloudera/bin:/usr/local/apache-ant-1.9.1/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/hiveptest/bin
+ PATH=/usr/java/jdk1.7.0_45-cloudera/bin/:/usr/local/apache-maven-3.0.5/bin:/usr/java/jdk1.7.0_45-cloudera/bin:/usr/local/apache-ant-1.9.1/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/hiveptest/bin
+ 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-BRANCH_1-Build-21/source-prep.txt
+ [[ false == \t\r\u\e ]]
+ mkdir -p maven ivy
+ [[ git = \s\v\n ]]
+ [[ git = \g\i\t ]]
+ [[ -z branch-1 ]]
+ [[ -d apache-github-branch1-source ]]
+ [[ ! -d apache-github-branch1-source/.git ]]
+ [[ ! -d apache-github-branch1-source ]]
+ cd apache-github-branch1-source
+ git fetch origin
>From https://github.com/apache/hive
   aa35e21..f3df2dc  branch-1   -> origin/branch-1
   d649379..0b9b1d8  branch-1.2 -> origin/branch-1.2
   0ffef3f..1b31f40  branch-2.0 -> origin/branch-2.0
   165430b..9bb7850  master     -> origin/master
   8e0a10c..e078260  spark      -> origin/spark
>From https://github.com/apache/hive
 * [new tag]         release-2.0.0-rc0 -> release-2.0.0-rc0
 * [new tag]         release-2.0.0-rc1 -> release-2.0.0-rc1
+ git reset --hard HEAD
HEAD is now at aa35e21 HIVE-12353 When Compactor fails it calls CompactionTxnHandler.markedCleaned().
 it should not. (Eugene Koifman, reviewed by Alan Gates)
+ git clean -f -d
+ git checkout branch-1
Already on 'branch-1'
Your branch is behind 'origin/branch-1' by 9 commits, and can be fast-forwarded.
+ git reset --hard origin/branch-1
HEAD is now at f3df2dc HIVE-12885: LDAP Authenticator improvements (Naveen Gangam via Chaoyu
Tang)
+ git merge --ff-only origin/branch-1
Already up-to-date.
+ git gc
+ 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, p1, or p2
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12786552 - PreCommit-HIVE-BRANCH_1-Build

> LDAP Authenticator improvements
> -------------------------------
>
>                 Key: HIVE-12885
>                 URL: https://issues.apache.org/jira/browse/HIVE-12885
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>    Affects Versions: 1.1.0
>            Reporter: Naveen Gangam
>            Assignee: Naveen Gangam
>             Fix For: 1.3.0, 2.1.0
>
>         Attachments: HIVE-12885-branch1.patch, HIVE-12885.2.patch, HIVE-12885.3.patch,
HIVE-12885.patch
>
>
> Currently Hive's LDAP Atn provider assumes certain defaults to keep its configuration
simple. 
> 1) One of the assumptions is the presence of an attribute "distinguishedName". In certain
non-standard LDAP implementations, this attribute may not be available. So instead of basing
all ldap searches on this attribute, getNameInNamespace() returns the same value. So this
API is to be used instead.
> 2) It also assumes that the "user" value being passed in, will be able to bind to LDAP.
However, certain LDAP implementations, by default, only allow the full DN to be used, just
short user names are not permitted. We will need to be able to support short names too when
hive configuration only has "BaseDN" specified (not userDNPatterns). So instead of hard-coding
"uid" or "CN" as keys for the short usernames, it probably better to make this a configurable
parameter.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message