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

Akira Ajisaka commented on HADOOP-13798:
----------------------------------------

Got stuck at {{fsdis.read}} in the following code:
{code:title=TestHadoopArchives.java}
      while (true) {
        read = fsdis.read(buffer, readIntoBuffer, buffer.length - 
readIntoBuffer);
        if (read < 0) {
{code}
After HADOOP-13017, HarFileSystem#read can return zero. If {{fsdis.read}} 
returns zero, then the code becomes infinite-loop.

> TestHadoopArchives times out
> ----------------------------
>
>                 Key: HADOOP-13798
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13798
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>            Reporter: Akira Ajisaka
>




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

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

Reply via email to