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

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: