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


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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to