You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Eli Collins (Created) (JIRA)" <ji...@apache.org> on 2012/02/27 02:51:48 UTC

[jira] [Created] (HDFS-3015) NamenodeFsck and JspHelper duplicate DFSInputStream#copyBlock and bestNode

NamenodeFsck and JspHelper duplicate DFSInputStream#copyBlock and bestNode
--------------------------------------------------------------------------

                 Key: HDFS-3015
                 URL: https://issues.apache.org/jira/browse/HDFS-3015
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: Eli Collins
            Priority: Minor


Both NamenodeFsck and JspHelper duplicate DFSInputStream#copyBlock and bestNode. There should be one shared implementation.

{code}
  /*
   * XXX (ab) Bulk of this method is copied verbatim from {@link DFSClient}, which is
   * bad. Both places should be refactored to provide a method to copy blocks
   * around.
   */
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira