Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.
Attachments
Attachments
Issue Links
- is broken by
-
HADOOP-12767 update apache httpclient version to 4.5.2; httpcore to 4.4.4
- Resolved
- is related to
-
OOZIE-2679 Decrease HttpClient library versions due to Hadoop incompatibility
- Closed
-
OOZIE-2676 Make hadoop-2 as the default profile
- Closed
- relates to
-
HIVE-12420 WebHCat server throws NPE when you run command with -d user.name.
- Open