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

Yang Yun commented on HDFS-12964:
---------------------------------

Updated this Jira to new patch HDFS-12964.002.patch with following changes,
 * Incorporate the retry logic in {{DFSInputStream}} rather than adding 
{{DFSSpinInputStream}}
 * Add  a new API waitPosition(long position, long timeout) for this feature as 
HDFS-6633 did.

 

> Read a opened file timely and effectively when it's being written by other
> --------------------------------------------------------------------------
>
>                 Key: HDFS-12964
>                 URL: https://issues.apache.org/jira/browse/HDFS-12964
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs-client
>            Reporter: Yang Yun
>            Assignee: Yang Yun
>            Priority: Minor
>         Attachments: HADOOP-12964.001.patch, HDFS-12964.002.patch
>
>
> One thread opens a HDFS file and keeps writing.  Another thread opens same 
> file and keeps reading it at the same time, also want to get the newest 
> content of file. that happens in many environments, for example, in some 
> message transmission applications. And it also requires the new content can 
> be read timely and effectively, for there maybe many tasks are working in 
> same time.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to