[
https://issues.apache.org/jira/browse/HADOOP-15883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16666407#comment-16666407
]
He Xiaoqiao commented on HADOOP-15883:
--------------------------------------
[~jojochuang],[~ayushtkn] As HADOOP-15864 mentioned, after patch, DataNode will
NOT meet IllegalArgumentException when create DFSClient instance, however, when
DataNode creates wrapped outputstream, it will meet auth exception since no
token exist, so Client will meet HTTP status code 403.
In one word, this patch changes http semantic when no parameter about
#namenoderpcaddress.
On the base of the above, I support also change http status code to 403 when
checking at TestWebHdfsFileSystemContract#testResponseCode. FYI.
> Fix WebHdfsFileSystemContract test
> ----------------------------------
>
> Key: HADOOP-15883
> URL: https://issues.apache.org/jira/browse/HADOOP-15883
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 3.0.4, 3.3.0, 3.1.2, 3.2.1
> Reporter: He Xiaoqiao
> Assignee: He Xiaoqiao
> Priority: Major
>
> HADOOP-15864 fix bug about Job/Task execute failure when server (NameNode,
> KMS, Timeline) domain name can not resolve. meanwhile it change semantic of
> http status code about webhdfsfilesystem, this ticket will trace to fix
> TestWebHdfsFileSystemContract#testResponseCode.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]