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

NamenodeFsck.copyBlock fails to create a Block Reader

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.23.1, 2.0.0-alpha
    • 2.0.2-alpha
    • namenode
    • None
    • 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.003.patch
          20 kB
          Colin McCabe
        2. HDFS-3548.002.patch
          37 kB
          Colin McCabe
        3. HDFS-3548.001.patch
          20 kB
          Colin McCabe

        Activity

          People

            cmccabe Colin McCabe
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: