Created on 12-16-2016 08:21 AM - edited 09-16-2022 03:51 AM
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
Created 12-16-2016 10:32 PM
@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.
Created 12-16-2016 08:21 AM
Is there a workaround?
Created 12-16-2016 10:32 PM
@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.
Created 12-19-2016 08:06 AM
Tested,got
HTTP Error Internal Server Error
Then changed to ip address. connection is ok now
And it is normal now