You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Vivek Ratnavel Subramanian (Jira)" <ji...@apache.org> on 2020/05/07 18:07:00 UTC

[jira] [Resolved] (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 ]

Vivek Ratnavel Subramanian resolved AMBARI-18511.
-------------------------------------------------
    Resolution: Invalid

Closing this due to no activity for a long time.

> 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: Jay SenSharma
>            Assignee: Vivek Ratnavel Subramanian
>            Priority: Major
>         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
(v8.3.4#803005)