Details

    • Reviewed

    Description

      java.lang.NullPointerException
      	at org.apache.hadoop.yarn.sls.web.SLSWebApp.<init>(SLSWebApp.java:88)
      	at org.apache.hadoop.yarn.sls.scheduler.SLSCapacityScheduler.initMetrics(SLSCapacityScheduler.java:459)
      	at org.apache.hadoop.yarn.sls.scheduler.SLSCapacityScheduler.setConf(SLSCapacityScheduler.java:153)
      	at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:76)
      

      CLASSPATH for html resource is not configured properly.

      DEBUG: Injecting share/hadoop/tools/sls/html into CLASSPATH
      DEBUG: Rejected CLASSPATH: share/hadoop/tools/sls/html (does not exist)
      

      This issue can be reproduced when doing according to the documentation instruction.
      http://hadoop.apache.org/docs/current/hadoop-sls/SchedulerLoadSimulator.html

      $ cd $HADOOP_ROOT/share/hadoop/tools/sls
      $ bin/slsrun.sh
        --input-rumen |--input-sls=<TRACE_FILE1,TRACE_FILE2,...>
        --output-dir=<SLS_SIMULATION_OUTPUT_DIRECTORY> [--nodes=<SLS_NODES_FILE>]
          [--track-jobs=<JOBID1,JOBID2,...>] [--print-simulation]
      

      Attachments

        1. YARN-5706.01.patch
          0.7 kB
          Kai
        2. YARN-5706.02.patch
          0.7 kB
          Kai
        3. YARN-5706.03.patch
          0.7 kB
          Kai

        Activity

          People

            lewuathe Kai
            lewuathe Kai
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: