Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-15438

Capacity Scheduler view is not working when using custom configuration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.1
    • 2.2.2
    • ambari-views
    • None

    Description

      Capacity scheduler not working when using remote cluster.

      It fails to get ranger-yarn-plugin configuration when ranger service is not installed.

      http://c6408.ambari.apache.org:8080/api/v1/views/CAPACITY-SCHEDULER/versions/1.0.0/instances/AUTO_CS_INSTANCE/resources/scheduler/configuration/getConfig?siteName=ranger-yarn-plugin-properties&configName=ranger-yarn-plugin-enabled

      {"trace":"java.lang.NullPointerException\n\tat org.apache.ambari.view.utils.ambari.RemoteCluster.getConfigurationValue(RemoteCluster.java:80)\n\tat org.apache.ambari.view.capacityscheduler.ConfigurationService.getConfigurationValue(ConfigurationService.java:494)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:497)\n\tat com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)\n\tat com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)\n\tat com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)\n\tat com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)\n\tat com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)\n\tat 
      

      Attachments

        1. AMBARI-15438_branch-2.2.patch
          1 kB
          Gaurav Nagar

        Issue Links

          Activity

            People

              gnagar Gaurav Nagar
              gnagar Gaurav Nagar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: