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

Metrics data simulator throws NPE

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      user@host1 bin % ./start.sh  localhost:6188 2
      
      2022-12-10 00:00:15,245 INFO  [main] loadsimulator.MetricsLoadSimulator (MetricsLoadSimulator.java:parseArgs(110)) - Recognized options: baseHostName=host1 hosts#=2 trafficMode=burst metricsHostName=localhost:6188 collectIntervalMillis=15000 sendIntervalMillis=60000 simulateMaster=false
      2022-12-10 00:00:15,250 INFO  [main] data.MetricsGeneratorConfigurer (MetricsGeneratorConfigurer.java:readMetrics(67)) - Loading metrics_def/HOST.dat
      2022-12-10 00:00:15,269 INFO  [main] data.MetricsGeneratorConfigurer (MetricsGeneratorConfigurer.java:readMetrics(67)) - Loading metrics_def/DATANODE.dat
      2022-12-10 00:00:15,270 INFO  [main] data.MetricsGeneratorConfigurer (MetricsGeneratorConfigurer.java:readMetrics(67)) - Loading metrics_def/NODEMANAGER.dat
      2022-12-10 00:00:15,272 INFO  [main] data.MetricsGeneratorConfigurer (MetricsGeneratorConfigurer.java:readMetrics(67)) - Loading metrics_def/SLAVE_HBASE.dat
      Exception in thread "main" java.lang.NullPointerException
      	at java.io.Reader.<init>(Reader.java:78)
      	at java.io.InputStreamReader.<init>(InputStreamReader.java:72)
      	at org.apache.ambari.metrics.core.loadsimulator.data.MetricsGeneratorConfigurer.readMetrics(MetricsGeneratorConfigurer.java:72)
      	at org.apache.ambari.metrics.core.loadsimulator.data.MetricsGeneratorConfigurer.createMetricsForHost(MetricsGeneratorConfigurer.java:57)
      	at org.apache.ambari.metrics.core.loadsimulator.LoadRunner.createApplicationMetrics(LoadRunner.java:112)
      	at org.apache.ambari.metrics.core.loadsimulator.LoadRunner.addMetricsWorkers(LoadRunner.java:100)
      	at org.apache.ambari.metrics.core.loadsimulator.LoadRunner.prepareWorkers(LoadRunner.java:88)
      	at org.apache.ambari.metrics.core.loadsimulator.LoadRunner.<init>(LoadRunner.java:69)
      	at org.apache.ambari.metrics.core.loadsimulator.MetricsLoadSimulator.main(MetricsLoadSimulator.java:48)
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            arshad.mohammad Mohammad Arshad
            arshad.mohammad Mohammad Arshad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h

                Slack

                  Issue deployment