You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Aravindan Vijayan (JIRA)" <ji...@apache.org> on 2016/11/23 01:37:58 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 ]

Aravindan Vijayan updated AMBARI-18511:
---------------------------------------
    Assignee: Vivek Ratnavel Subramanian

> 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
>            Assignee: Vivek Ratnavel Subramanian
>         Attachments: Grafana_Error.png, Grafana_Error_After_Login.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)