[jira] [Updated] (HADOOP-11859) PseudoAuthenticationHandler fails with httpcomponents v4.4
[ https://issues.apache.org/jira/browse/HADOOP-11859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kihwal Lee updated HADOOP-11859: Fix Version/s: 2.7.4 > 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, 2.7.4, 3.0.0-alpha1 > > 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) - To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org
[jira] [Updated] (HADOOP-11859) PseudoAuthenticationHandler fails with httpcomponents v4.4
[ https://issues.apache.org/jira/browse/HADOOP-11859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jitendra Nath Pandey updated HADOOP-11859: -- Resolution: Fixed Fix Version/s: 2.8.0 Status: Resolved (was: Patch Available) Committed to trunk and branch-2. Thanks Eugene! > 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)
[jira] [Updated] (HADOOP-11859) PseudoAuthenticationHandler fails with httpcomponents v4.4
[ https://issues.apache.org/jira/browse/HADOOP-11859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eugene Koifman updated HADOOP-11859: Status: Patch Available (was: Open) > 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 > 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)
[jira] [Updated] (HADOOP-11859) PseudoAuthenticationHandler fails with httpcomponents v4.4
[ https://issues.apache.org/jira/browse/HADOOP-11859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eugene Koifman updated HADOOP-11859: Attachment: HADOOP-11859.patch > 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 > 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)