Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-7594

TestNMWebServices#testGetNMResourceInfo fails on trunk

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0, 2.10.0
    • Component/s: nodemanager, webapp
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      // Access resource-2 should fail (null NMResourceInfo returned).
      JSONObject json = response.getEntity(JSONObject.class);
      assertIncludesException(json);
      

      fails with

      java.lang.AssertionError ...
          at org.apache.hadoop.yarn.server.nodemanager.webapp.TestNMWebServices.assertIncludesException(TestNMWebServices.java:541)
          at org.apache.hadoop.yarn.server.nodemanager.webapp.TestNMWebServices.testGetNMResourceInfo(TestNMWebServices.java:461)...
      

        Attachments

        1. YARN-7594.001.patch
          2 kB
          Gergely Novák

          Issue Links

            Activity

              People

              • Assignee:
                GergelyNovak Gergely Novák
                Reporter:
                GergelyNovak Gergely Novák
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: