You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "JaySenSharma (JIRA)" <ji...@apache.org> on 2016/10/03 10:48:20 UTC
[jira] [Updated] (AMBARI-18511) Grafana dashboard shows "Cannot
read property 'lastIndexOf' of undefined"
[ https://issues.apache.org/jira/browse/AMBARI-18511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
JaySenSharma updated AMBARI-18511:
----------------------------------
Attachment: Grafana_Error.png
- The "grafana.log" shows following error
{code}
2016/10/03 10:41:25 [I] Completed 10.200.8.155 - "GET /ws/v1/timeline/metrics/metadata HTTP/1.1" 500 Internal Server Error 0 bytes in 106997us
2016/10/03 10:41:25 [I] Completed 10.200.8.155 - "GET /ws/v1/timeline/metrics HTTP/1.1" 500 Internal Server Error 0 bytes in 102125us
2016/10/03 10:41:25 [I] Completed 10.200.8.155 - "GET /ws/v1/timeline/metrics HTTP/1.1" 500 Internal Server Error 0 bytes in 101108us
2016/10/03 10:41:25 [I] Completed 10.200.8.155 - "GET /ws/v1/timeline/metrics HTTP/1.1" 500 Internal Server Error 0 bytes in 104095us
2016/10/03 10:41:25 [I] Completed 10.200.8.155 - "GET /ws/v1/timeline/metrics HTTP/1.1" 500 Internal Server Error 0 bytes in 103440us
2016/10/03 10:41:26 [I] Completed 10.200.8.155 - "GET /ws/v1/timeline/metrics/metadata HTTP/1.1" 500 Internal Server Error 0 bytes in 5837us
2016/10/03 10:41:26 [I] Completed 10.200.8.155 - "GET /ws/v1/timeline/metrics/metadata HTTP/1.1" 500 Internal Server Error 0 bytes in 5564us
2016/10/03 10:41:26 [I] Completed 10.200.8.155 - "GET /ws/v1/timeline/metrics/metadata HTTP/1.1" 500 Internal Server Error 0 bytes in 6653us
2016/10/03 10:41:26 [I] Completed 10.200.8.155 - "GET /ws/v1/timeline/metrics/metadata HTTP/1.1" 500 Internal Server Error 0 bytes in 5992us
2016/10/03 10:41:41 [I] Completed 10.200.8.155 - "GET /ws/v1/timeline/metrics/hosts HTTP/1.1" 500 Internal Server Error 0 bytes in 8289us
{code}
> Grafana dashboard shows "Cannot read property 'lastIndexOf' of undefined"
> -------------------------------------------------------------------------
>
> Key: AMBARI-18511
> URL: https://issues.apache.org/jira/browse/AMBARI-18511
> Project: Ambari
> Issue Type: Bug
> Components: ambari-metrics
> Affects Versions: 2.4.1
> Environment: All
> Reporter: JaySenSharma
> Attachments: Grafana_Error.png
>
>
> - After upgrading ambari from 2.4.0.1 to ambari 2.4.1.0 it shows the following error while accessing the Grafana WebUI:
> {code}
> Message:
> Cannot read property 'lastIndexOf' of undefined
>
> Stack trace:
> TypeError: Cannot read property 'lastIndexOf' of undefined
> at AmbariMetricsDatasource.query (http://hdp25b:3000/public/app/plugins/datasource/ambari-metrics/datasource.js?bust=1475491283316:423:55)
> at issueMetricQuery (http://hdp25b:3000/public/app/app.ca0ab6f9.js:42:14189)
> at n.a.refreshData (http://hdp25b:3000/public/app/app.ca0ab6f9.js:48:18026)
> at http://hdp25b:3000/public/app/app.ca0ab6f9.js:42:11552
> at i (http://hdp25b:3000/public/app/app.ca0ab6f9.js:13:5845)
> at http://hdp25b:3000/public/app/app.ca0ab6f9.js:13:6017
> at n.$eval (http://hdp25b:3000/public/app/app.ca0ab6f9.js:13:13637)
> at n.$digest (http://hdp25b:3000/public/app/app.ca0ab6f9.js:13:12068)
> at n.$apply (http://hdp25b:3000/public/app/app.ca0ab6f9.js:13:13904)
> at http://hdp25b:3000/public/app/app.ca0ab6f9.js:13:21240
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)