[
https://issues.apache.org/jira/browse/HDFS-6813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14086322#comment-14086322
]
Yi Liu commented on HDFS-6813:
------------------------------
Thanks [~szetszwo]
{quote}
if it is needed, it is very easy to be synchronized in the user applications
{quote}
Agree.
{quote}
I suggest simple update the javadoc of PositionedReadable. What do you think?
{quote}
I opened a new JIRA HADOOP-10938 for javadoc. Let's discuss with
[[email protected]] and other guys together to see what thread safety mode we
want. Then we can decide whether to modify the javadoc or make implementations
thread-safe.
> WebHdfsFileSystem#OffsetUrlInputStream should implement PositionedReadable
> with thead-safe.
> -------------------------------------------------------------------------------------------
>
> Key: HDFS-6813
> URL: https://issues.apache.org/jira/browse/HDFS-6813
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: webhdfs
> Affects Versions: 2.6.0
> Reporter: Yi Liu
> Assignee: Yi Liu
> Attachments: HDFS-6813.001.patch
>
>
> {{PositionedReadable}} definition requires the implementations for its
> interfaces should be thread-safe.
> OffsetUrlInputStream(WebHdfsFileSystem inputstream) doesn't implement these
> interfaces with tread-safe, this JIRA is to fix this.
--
This message was sent by Atlassian JIRA
(v6.2#6252)