Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-3548

NamenodeFsck.copyBlock fails to create a Block Reader

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.23.1, 2.0.0-alpha
    • Fix Version/s: 2.0.2-alpha
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      NamenodeFsck.copyBlock creates a Socket using new Socket(), and thus that socket doesn't have an associated Channel. Then, it fails to create a BlockReader since RemoteBlockReader2 needs a socket channel.
      (thanks to Hiroshi Yokoi for reporting)

        Attachments

        1. HDFS-3548.001.patch
          20 kB
          Colin P. McCabe
        2. HDFS-3548.002.patch
          37 kB
          Colin P. McCabe
        3. HDFS-3548.003.patch
          20 kB
          Colin P. McCabe

          Activity

            People

            • Assignee:
              cmccabe Colin P. McCabe
              Reporter:
              tlipcon Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: