Details

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

      Description

      There's a small race in BlockManager#close, we close the BlocksMap before the replication monitor, which means the replication monitor can NPE if it tries to access the blocks map. We need to swap the order (close the blocks map after shutting down the repl monitor).

      1. hdfs-3048.txt
        0.8 kB
        Eli Collins
      2. hdfs-3787-2.txt
        1 kB
        Eli Collins
      3. hdfs-3048.txt
        1 kB
        Andy Isaacson

        Issue Links

          Activity

          Eli Collins created issue -
          Eli Collins made changes -
          Field Original Value New Value
          Attachment hdfs-3048.txt [ 12517119 ]
          Eli Collins made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Eli Collins made changes -
          Assignee Eli Collins [ eli2 ] Eli Collins [ eli ]
          Eli Collins made changes -
          Link This issue is related to HDFS-3664 [ HDFS-3664 ]
          Eli Collins made changes -
          Link This issue is duplicated by HDFS-3787 [ HDFS-3787 ]
          Eli Collins made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Duplicate [ 3 ]
          Eli Collins made changes -
          Resolution Duplicate [ 3 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Eli Collins made changes -
          Attachment hdfs-3787-2.txt [ 12540834 ]
          Eli Collins made changes -
          Status Reopened [ 4 ] Patch Available [ 10002 ]
          Affects Version/s 2.0.0-alpha [ 12320353 ]
          Affects Version/s 0.23.2 [ 12319852 ]
          Target Version/s 0.23.3 [ 12320052 ] 2.2.0-alpha [ 12322472 ]
          Eli Collins made changes -
          Assignee Eli Collins [ eli ] Andy Isaacson [ adi2 ]
          Andy Isaacson made changes -
          Attachment hdfs-3048.txt [ 12541111 ]
          Eli Collins made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Target Version/s 2.2.0-alpha [ 12322472 ]
          Fix Version/s 2.2.0-alpha [ 12322472 ]
          Resolution Fixed [ 1 ]
          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Andy Isaacson
              Reporter:
              Eli Collins
            • Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development