Support Questions
Find answers, ask questions, and share your expertise

Is this hit Bug AMBARI-18511??

Rising Star

TypeError: Cannot read property 'lastIndexOf' of undefined
    at AmbariMetricsDatasource.query (http://insightcluster133.huawei.com:3000/public/app/plugins/datasource/ambari-metrics/datasource.js?bust=1481796350675:423:55)
    at Object.issueMetricQuery (http://insightcluster133.huawei.com:3000/public/app/app.ca0ab6f9.js:42:14189)
    at n.a.refreshData (http://insightcluster133.huawei.com:3000/public/app/app.ca0ab6f9.js:48:18026)
    at http://insightcluster133.huawei.com:3000/public/app/app.ca0ab6f9.js:42:11552
    at i (http://insightcluster133.huawei.com:3000/public/app/app.ca0ab6f9.js:13:5845)
    at http://insightcluster133.huawei.com:3000/public/app/app.ca0ab6f9.js:13:6017
    at n.$eval (http://insightcluster133.huawei.com:3000/public/app/app.ca0ab6f9.js:13:13637)
    at n.$digest (http://insightcluster133.huawei.com:3000/public/app/app.ca0ab6f9.js:13:12068)
    at n.$apply (http://insightcluster133.huawei.com:3000/public/app/app.ca0ab6f9.js:13:13904)
    at http://insightcluster133.huawei.com:3000/public/app/app.ca0ab6f9.js:13:21240
		

https://issues.apache.org/jira/browse/AMBARI-18511

My Ambari version is Apache Ambari Version2.4.0.1

1 ACCEPTED SOLUTION

Accepted Solutions

@Huahua Wei Please login into the Grafana as admin, then go to Datasources and test connection. If that fails, instead of Ambari metrics collector hostname, try adding IP and see if you face the same issue.

View solution in original post

3 REPLIES 3

Rising Star

Is there a workaround?

@Huahua Wei Please login into the Grafana as admin, then go to Datasources and test connection. If that fails, instead of Ambari metrics collector hostname, try adding IP and see if you face the same issue.

View solution in original post

Rising Star

Tested,got

HTTP Error Internal Server Error

Then changed to ip address. connection is ok now

And it is normal now