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

Steve Loughran commented on HADOOP-10930:
-----------------------------------------

This relates to HDFS-6803, where we are defining the thread safety of the DFS 
operations.

Can you catch up with the discussion there and see what other sync options are 
needed? 

Also, if you are going to work on the HarFS, can you look at the new contract 
tests added in HADOOP-9361 and have a go at subclassing those tests with a set 
for HarFS? That will catch other issues (e.g it looks like it is only throwing 
{{IOException}} on out-of-range operations, not the preferred {{EOFException}}. 
Doing that would get you past the "no tests" warning on jenkins, and ensure 
that HarFS is in sync with current expectations

> HarFsInputStream should implement PositionedReadable with thead-safe.
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-10930
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10930
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 2.6.0
>            Reporter: Yi Liu
>            Assignee: Yi Liu
>         Attachments: HADOOP-10930.001.patch
>
>
> {{PositionedReadable}} definition requires the implementations for its 
> interfaces should be thread-safe.
> HarFsInputStream doesn't implement these interfaces with tread-safe, this 
> JIRA is to fix this.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to