You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Daryn Sharp (JIRA)" <ji...@apache.org> on 2014/04/29 22:37:23 UTC
[jira] [Created] (HDFS-6305) WebHdfs response decoding may throw
RuntimeExceptions
Daryn Sharp created HDFS-6305:
---------------------------------
Summary: WebHdfs response decoding may throw RuntimeExceptions
Key: HDFS-6305
URL: https://issues.apache.org/jira/browse/HDFS-6305
Project: Hadoop HDFS
Issue Type: Bug
Components: webhdfs
Affects Versions: 2.0.0-alpha, 3.0.0
Reporter: Daryn Sharp
Assignee: Daryn Sharp
Priority: Critical
WebHdfs does not guard against exceptions while decoding the response payload. The json parser will throw RunTime exceptions on malformed responses. The json decoding routines do not validate the expected fields are present which may cause NPEs.
--
This message was sent by Atlassian JIRA
(v6.2#6252)