Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-291 [Umbrella] Dynamic resource configuration
  3. YARN-4667

RM Admin CLI for refreshNodesResources throws NPE when nothing is configured

    XMLWordPrintableJSON

    Details

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

      Description

      $ ./yarn rmadmin -refreshNodesResources
      16/02/03 10:54:27 INFO client.RMProxy: Connecting to ResourceManager at /0.0.0.0:8033
      refreshNodesResources: java.lang.NullPointerException
      at org.apache.hadoop.yarn.server.resourcemanager.AdminService.refreshNodesResources(AdminService.java:655)
      at org.apache.hadoop.yarn.server.api.impl.pb.service.ResourceManagerAdministrationProtocolPBServiceImpl.refreshNodesResources(ResourceManagerAdministrationProtocolPBServiceImpl.java:246)
      at org.apache.hadoop.yarn.proto.ResourceManagerAdministrationProtocol$ResourceManagerAdministrationProtocolService$2.callBlockingMethod(ResourceManagerAdministrationProtocol.java:287)

        Attachments

        1. YARN-4667.v1.001.patch
          6 kB
          Naganarasimha G R

          Activity

            People

            • Assignee:
              Naganarasimha Naganarasimha G R
              Reporter:
              Naganarasimha Naganarasimha G R
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: