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

AllocateResponse in FederationInterceptor lost applicationPriority

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      In YARN Federation mode using FederationInterceptor, when submitting application, am will report an error.

      2019-06-25 11:44:00,977 ERROR [RMCommunicator Allocator] org.apache.hadoop.mapreduce.v2.app.rm.RMCommunicator: ERROR IN CONTACTING RM. java.lang.NullPointerException at org.apache.hadoop.mapreduce.v2.app.rm.RMContainerAllocator.handleJobPriorityChange(RMContainerAllocator.java:1025) at org.apache.hadoop.mapreduce.v2.app.rm.RMContainerAllocator.getResources(RMContainerAllocator.java:880) at org.apache.hadoop.mapreduce.v2.app.rm.RMContainerAllocator.heartbeat(RMContainerAllocator.java:286) at org.apache.hadoop.mapreduce.v2.app.rm.RMCommunicator$AllocatorRunnable.run(RMCommunicator.java:280) at java.lang.Thread.run(Thread.java:748)
      

      The reason is that applicationPriority is lost.

      Attachments

        1. YARN-9655.branch-2.9.patch
          2 kB
          hunshenshi
        2. YARN-9655.branch-3.0.patch
          1 kB
          hunshenshi

        Activity

          People

            hunhun hunshenshi
            hunhun hunshenshi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: