[
https://issues.apache.org/jira/browse/HDFS-1579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Omer Trajman updated HDFS-1579:
-------------------------------
Attachment: HDFS-1579
When browsing for a file with blockId that cannot be found the Web UI now
returns a human readable error message and a link back to the file name.
> Browsing a block on the wrong datanode through web UI has unintuitive results
> -----------------------------------------------------------------------------
>
> Key: HDFS-1579
> URL: https://issues.apache.org/jira/browse/HDFS-1579
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: data-node
> Affects Versions: 0.23.0
> Reporter: Todd Lipcon
> Assignee: Omer Trajman
> Labels: newbie
> Attachments: HDFS-1579
>
>
> If you navigate through the web UI to view a file, and then the replica
> you're looking at is removed, the "Got error in response to OP_READ_BLOCK"
> message is printed in the content of the textarea that usually displays the
> text. This is confusing to users.
> Instead we should display the error message in a different format and direct
> the user to choose a different replica from the list of links at the bottom
> of the page. Or, alternatively, do an HTTP redirect to a different replica.
> We should also take care of the case where the generation stamp has a
> mismatch.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira