Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-3548

NamenodeFsck.copyBlock fails to create a Block Reader

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical 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)

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

        Activity

          People

          • Assignee:
            Colin Patrick McCabe
            Reporter:
            Todd Lipcon
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development