Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-3409 Support Node Attribute functionality
  3. YARN-8740

Clear node attribute path after each test run

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2.0
    • None
    • None
    • Reviewed

    Description

      During CI run we observed that testcases are failing due to old attribute store

      Two updates are done as part of this jira

      1. Skip sending scheduler event when update attributes map is empty
      2. Clear Node attributes on testruns

      CI logs

      Caused by: java.lang.NullPointerException
      	at org.apache.hadoop.yarn.server.resourcemanager.nodelabels.NodeAttributesManagerImpl.internalUpdateAttributesOnNodes(NodeAttributesManagerImpl.java:223)
      	at org.apache.hadoop.yarn.server.resourcemanager.nodelabels.NodeAttributesManagerImpl.processMapping(NodeAttributesManagerImpl.java:703)
      	at org.apache.hadoop.yarn.server.resourcemanager.nodelabels.NodeAttributesManagerImpl.replaceNodeAttributes(NodeAttributesManagerImpl.java:671)
      	at org.apache.hadoop.yarn.nodelabels.store.op.NodeAttributeMirrorOp.recover(NodeAttributeMirrorOp.java:56)
      	at org.apache.hadoop.yarn.nodelabels.store.op.NodeAttributeMirrorOp.recover(NodeAttributeMirrorOp.java:35)
      

      Attachments

        1. YARN-8740-YARN-3409.004.patch
          13 kB
          Bibin Chundatt
        2. YARN-8740-YARN-3409.003.patch
          13 kB
          Bibin Chundatt
        3. YARN-8740-YARN-3409.002.patch
          4 kB
          Bibin Chundatt
        4. YARN-8740-YARN-3409.001.patch
          4 kB
          Bibin Chundatt

        Activity

          People

            bibinchundatt Bibin Chundatt
            bibinchundatt Bibin Chundatt
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: