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

    • Sub-task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • client
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: