You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "stack (JIRA)" <ji...@apache.org> on 2014/11/04 08:20:34 UTC

[jira] [Commented] (HADOOP-10938) Remove thread-safe description in PositionedReadable javadoc

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

stack commented on HADOOP-10938:
--------------------------------

I think this issue is going in the wrong direction.  PositionedReadable should be thread-safe.  It has been claimed so since its beginnings and on the canonical implementation, HDFS, it has always been if not very 'live'.  Rather, I'd suggest we mark implementations that are not thread-safe at fault and fix or undo their PositionedReadable claims if they can't positioned read in a thread-safe way.

> Remove thread-safe description in PositionedReadable javadoc
> ------------------------------------------------------------
>
>                 Key: HADOOP-10938
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10938
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 2.6.0
>            Reporter: Yi Liu
>            Assignee: Yi Liu
>         Attachments: HADOOP-10938.001.patch
>
>
> According to discussion in HDFS-6813, we may need to remove thread-safe description in PositionedReadable javadoc, since DFSInputStream, WebhdfsFileSystem#inputStream, HarInputStream don't implement them with thread-safe.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)