hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Koifman (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-11859) PseudoAuthenticationHandler fails with httpcomponents v4.4
Date Tue, 21 Apr 2015 22:20:58 GMT
Eugene Koifman created HADOOP-11859:

             Summary: 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

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

View raw message