hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11859) PseudoAuthenticationHandler fails with httpcomponents v4.4
Date Thu, 23 Apr 2015 12:01:40 GMT

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

Hudson commented on HADOOP-11859:
---------------------------------

SUCCESS: Integrated in Hadoop-Yarn-trunk #906 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/906/])
HADOOP-11859. PseudoAuthenticationHandler fails with httpcomponents v4.4. Contributed by Eugene
Koifman. (jitendra: rev 1f4767c7f2d1fdd23954c16e903acd2dca78a1e1)
* hadoop-common-project/hadoop-common/CHANGES.txt
* hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/PseudoAuthenticationHandler.java


> PseudoAuthenticationHandler fails with httpcomponents v4.4
> ----------------------------------------------------------
>
>                 Key: HADOOP-11859
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11859
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>             Fix For: 2.8.0
>
>         Attachments: HADOOP-11859.patch
>
>
> This shows in the context of WebHCat and Hive (which recently moved to httpcomponents:httpclient:4.4)
but could happen in other places.
> URLEncodedUtils.parse(String, Charset) which is called from PseudoAuthenticationHandler.getUserName()
with the 1st argument produced by HttpServletRequest.getQueryString().
> The later returns NULL if there is no query string in the URL.
> in httpcoponents:httpclient:4.2.5 parse() gracefully handles first argument being NULL,
but in 4.4 it NPEs.



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

Mime
View raw message