hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2453) tail using a webhdfs uri throws an error
Date Wed, 19 Oct 2011 16:31:11 GMT

    [ https://issues.apache.org/jira/browse/HDFS-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13130738#comment-13130738
] 

Suresh Srinivas commented on HDFS-2453:
---------------------------------------

Comments:
# ByteRangeInputStream.java
#* cast to HttpUrlConnection unncessary in #openConnection(final long...)
#* I am bit confused by the methods. #openConnection() is public. It could be called when
offsetUrl is null. Should #openConnection() be private? and #openConnection(final long ...)
be public? 
#* Why in #removeOffsetParam() check for both startsWith and contains. Just contains is sufficient
to move to the next for loop.
# DatanodeWebHdfsMethods#put(), #post(),#get() should not throw URISyntaxException
# WebHdfsFileSystem#ugi hides HftpFileSystem#ugi
# MockHttpUrlConnection#responseCode hides HttpUrlConnection#responseCode

                
> 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
>
>
> /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

        

Mime
View raw message