hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-927) DFSInputStream retries too many times for new block locations
Date Sat, 30 Jan 2010 08:15:34 GMT

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

stack commented on HDFS-927:
----------------------------

The patch looks good to me resetting the 'failures' data member at the head of the two read
methods above the chooseDataNode calls.  I like the comment clarifying the intent of 'failures'.

I ran the test suite and it looks like it all passed but result fell off the top of my screen.
 Will be back in morning with whether all tests passed for me locally. 

> DFSInputStream retries too many times for new block locations
> -------------------------------------------------------------
>
>                 Key: HDFS-927
>                 URL: https://issues.apache.org/jira/browse/HDFS-927
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs client
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>         Attachments: hdfs-927.txt
>
>
> I think this is a regression caused by HDFS-127 -- DFSInputStream is supposed to only
go back to the NN max.block.acquires times, but in trunk it goes back twice as many - the
default is 3, but I am counting 7 calls to getBlockLocations before an exception is thrown.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message