hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-5892) Implement seek for HftpFileSystem
Date Tue, 26 May 2009 21:23:45 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-5892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713263#action_12713263
] 

Doug Cutting commented on HADOOP-5892:
--------------------------------------

This isn't really implementing seek(), but rather skip(), since it only goes forward.  Even
then, it will be prohibitively slow for large files.

It would be better to implement a real seek.  This can be done by having the seek method close
the existing connection and open a new connection specifying a start position as a url parameter.
 Then change FileDataServlet to pass this parameter along, and StreamFile to perform a seek
before reading data.


> Implement seek for HftpFileSystem
> ---------------------------------
>
>                 Key: HADOOP-5892
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5892
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: dfs
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>         Attachments: hftpSeek.txt
>
>
> Support seek in the HftpFileSystem. This is useful for a host of applications that need
to access data from a hadoop cluster running a different version of hadoop.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message