Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: nodemanager
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      TestNodeStatusUpdater.testStopReentrant:1269 expected:<0> but was:<1>

      https://github.com/apache/hadoop/blob/4ac6799d4a8b071e0d367c2d709e84d8ea06942d/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestNodeStatusUpdater.java#L1269

      The corresponding JUnit assertion code is:

      Assert.assertEquals(numCleanups.get(), 1);

      It seems that the 1st arg and the 2nd one should be swapped.

        Attachments

        1. 0001-YARN-4543.patch
          1 kB
          Rohith Sharma K S
        2. YARN-4543-1.patch
          2 kB
          Akihiro Suda

          Issue Links

            Activity

              People

              • Assignee:
                suda Akihiro Suda
                Reporter:
                suda Akihiro Suda
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: