[jira] [Updated] (AMBARI-25808) Metrics data simulator throws NPE

2023-02-28 Thread Zhiguo Wu (Jira)


 [ 
https://issues.apache.org/jira/browse/AMBARI-25808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhiguo Wu updated AMBARI-25808:
---
Epic Link: AMBARI-25860
Fix Version/s: ambari-metrics-3.0.0
   (was: 2.0.0)

> Metrics data simulator throws NPE
> -
>
> Key: AMBARI-25808
> URL: https://issues.apache.org/jira/browse/AMBARI-25808
> Project: Ambari
>  Issue Type: Bug
>  Components: metrics
>Reporter: Mohammad Arshad
>Assignee: Mohammad Arshad
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.7.8, ambari-metrics-3.0.0
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> {noformat}
> user@host1 bin % ./start.sh  localhost:6188 2
> {noformat}
> {code:java}
> 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=6 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.(Reader.java:78)
>   at java.io.InputStreamReader.(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.(LoadRunner.java:69)
>   at 
> org.apache.ambari.metrics.core.loadsimulator.MetricsLoadSimulator.main(MetricsLoadSimulator.java:48)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: issues-unsubscr...@ambari.apache.org
For additional commands, e-mail: issues-h...@ambari.apache.org



[jira] [Updated] (AMBARI-25808) Metrics data simulator throws NPE

2022-12-13 Thread Brahma Reddy Battula (Jira)


 [ 
https://issues.apache.org/jira/browse/AMBARI-25808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brahma Reddy Battula updated AMBARI-25808:
--
Resolution: Fixed
Status: Resolved  (was: Patch Available)

> Metrics data simulator throws NPE
> -
>
> Key: AMBARI-25808
> URL: https://issues.apache.org/jira/browse/AMBARI-25808
> Project: Ambari
>  Issue Type: Bug
>  Components: metrics
>Reporter: Mohammad Arshad
>Assignee: Mohammad Arshad
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.0.0, 2.7.8
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> {noformat}
> user@host1 bin % ./start.sh  localhost:6188 2
> {noformat}
> {code:java}
> 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=6 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.(Reader.java:78)
>   at java.io.InputStreamReader.(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.(LoadRunner.java:69)
>   at 
> org.apache.ambari.metrics.core.loadsimulator.MetricsLoadSimulator.main(MetricsLoadSimulator.java:48)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: issues-unsubscr...@ambari.apache.org
For additional commands, e-mail: issues-h...@ambari.apache.org



[jira] [Updated] (AMBARI-25808) Metrics data simulator throws NPE

2022-12-13 Thread Brahma Reddy Battula (Jira)


 [ 
https://issues.apache.org/jira/browse/AMBARI-25808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brahma Reddy Battula updated AMBARI-25808:
--
Fix Version/s: 2.0.0

> Metrics data simulator throws NPE
> -
>
> Key: AMBARI-25808
> URL: https://issues.apache.org/jira/browse/AMBARI-25808
> Project: Ambari
>  Issue Type: Bug
>  Components: metrics
>Reporter: Mohammad Arshad
>Assignee: Mohammad Arshad
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.0.0, 2.7.8
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> {noformat}
> user@host1 bin % ./start.sh  localhost:6188 2
> {noformat}
> {code:java}
> 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=6 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.(Reader.java:78)
>   at java.io.InputStreamReader.(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.(LoadRunner.java:69)
>   at 
> org.apache.ambari.metrics.core.loadsimulator.MetricsLoadSimulator.main(MetricsLoadSimulator.java:48)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: issues-unsubscr...@ambari.apache.org
For additional commands, e-mail: issues-h...@ambari.apache.org



[jira] [Updated] (AMBARI-25808) Metrics data simulator throws NPE

2022-12-13 Thread Brahma Reddy Battula (Jira)


 [ 
https://issues.apache.org/jira/browse/AMBARI-25808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brahma Reddy Battula updated AMBARI-25808:
--
Status: Patch Available  (was: Open)

> Metrics data simulator throws NPE
> -
>
> Key: AMBARI-25808
> URL: https://issues.apache.org/jira/browse/AMBARI-25808
> Project: Ambari
>  Issue Type: Bug
>  Components: metrics
>Reporter: Mohammad Arshad
>Assignee: Mohammad Arshad
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.7.8
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> {noformat}
> user@host1 bin % ./start.sh  localhost:6188 2
> {noformat}
> {code:java}
> 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=6 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.(Reader.java:78)
>   at java.io.InputStreamReader.(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.(LoadRunner.java:69)
>   at 
> org.apache.ambari.metrics.core.loadsimulator.MetricsLoadSimulator.main(MetricsLoadSimulator.java:48)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: issues-unsubscr...@ambari.apache.org
For additional commands, e-mail: issues-h...@ambari.apache.org



[jira] [Updated] (AMBARI-25808) Metrics data simulator throws NPE

2022-12-13 Thread Brahma Reddy Battula (Jira)


 [ 
https://issues.apache.org/jira/browse/AMBARI-25808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brahma Reddy Battula updated AMBARI-25808:
--
Component/s: metrics

> Metrics data simulator throws NPE
> -
>
> Key: AMBARI-25808
> URL: https://issues.apache.org/jira/browse/AMBARI-25808
> Project: Ambari
>  Issue Type: Bug
>  Components: metrics
>Reporter: Mohammad Arshad
>Assignee: Mohammad Arshad
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.7.8
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> {noformat}
> user@host1 bin % ./start.sh  localhost:6188 2
> {noformat}
> {code:java}
> 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=6 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.(Reader.java:78)
>   at java.io.InputStreamReader.(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.(LoadRunner.java:69)
>   at 
> org.apache.ambari.metrics.core.loadsimulator.MetricsLoadSimulator.main(MetricsLoadSimulator.java:48)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: issues-unsubscr...@ambari.apache.org
For additional commands, e-mail: issues-h...@ambari.apache.org



[jira] [Updated] (AMBARI-25808) Metrics data simulator throws NPE

2022-12-12 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/AMBARI-25808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated AMBARI-25808:

Labels: pull-request-available  (was: )

> Metrics data simulator throws NPE
> -
>
> Key: AMBARI-25808
> URL: https://issues.apache.org/jira/browse/AMBARI-25808
> Project: Ambari
>  Issue Type: Bug
>Reporter: Mohammad Arshad
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.7.8
>
>
> {noformat}
> user@host1 bin % ./start.sh  localhost:6188 2
> {noformat}
> {code:java}
> 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=6 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.(Reader.java:78)
>   at java.io.InputStreamReader.(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.(LoadRunner.java:69)
>   at 
> org.apache.ambari.metrics.core.loadsimulator.MetricsLoadSimulator.main(MetricsLoadSimulator.java:48)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: issues-unsubscr...@ambari.apache.org
For additional commands, e-mail: issues-h...@ambari.apache.org