[
https://issues.apache.org/jira/browse/HDFS-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz Wo (Nicholas), SZE updated HDFS-2453:
-----------------------------------------
Attachment: h2453_20111019.patch
h2453_20111019_0.20s.patch
Thanks Suresh for the review.
#* removed casting
** Changed openConnection() to package private: The original design of the
class is for mocking test. So openConnection() cannot be private.
** The check is a precise condition.
# removed URISyntaxException.
# WebHdfsFileSystem won't extends HftpFileSystem after HDFS-2385. So the
hiding is temporary.
# removed MockHttpUrlConnection#responseCode.
h2453_20111019_0.20s.patch
h2453_20111019.patch
> tail using a webhdfs uri throws an error
> ----------------------------------------
>
> Key: HDFS-2453
> URL: https://issues.apache.org/jira/browse/HDFS-2453
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Affects Versions: 0.20.205.0
> Reporter: Arpit Gupta
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h2453_20111017.patch, h2453_20111017_0.20s.patch,
> h2453_20111017b.patch, h2453_20111017b_0.20s.patch, h2453_20111018.patch,
> h2453_20111018_0.20s.patch,
> h2453_20111018_TestByteRangeInputStream_0.20s.patch, h2453_20111019.patch,
> h2453_20111019_0.20s.patch
>
>
> /usr//bin/hadoop --config /etc/hadoop dfs -tail webhdfs://NN:50070/file
> tail: HTTP_PARTIAL expected, received 200
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira