[
https://issues.apache.org/jira/browse/AMBARI-23228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
JaySenSharma updated AMBARI-23228:
----------------------------------
Description:
In a fresh Ambari 2.6.1 setup when we try to access the "Storm -
Kafka-offset" Grafana dashboard then it shows errors.
{code:java}
Dashboard init failed
Template variables could not be initialized: Cannot read property 'then' of
undefined
{code}
- The "topic" dropdown menu does not show any topic name.
- When we check the browser "Developer Tools" --> "Console" output then we can
see the following error when accessing "Storm - Kafka-offset" Grafana dashboard:
{code:java}
TypeError: Cannot read property 'then' of undefined
at updateOptionsFromMetricFindQuery (app.ca0ab6f9.js:39)
at b (app.ca0ab6f9.js:16)
at i (app.ca0ab6f9.js:13)
at app.ca0ab6f9.js:13
at n.$eval (app.ca0ab6f9.js:13)
at n.$digest (app.ca0ab6f9.js:13)
at n.$apply (app.ca0ab6f9.js:13)
at f (app.ca0ab6f9.js:11)
at r (app.ca0ab6f9.js:11)
at XMLHttpRequest.v.onload (app.ca0ab6f9.js:11)
{code}
*Expectation:* Ambari should show meaningful messages in the Grafana UI
regarding the failure. Or if it is not able to find any particular metrics name.
.
was:
In a fresh Ambari 2.6.1 setup when we try to access the *"Storm -
Kafka-offset"* Grafana dashboard then it shows errors.
Dashboard init failed
Template variables could not be initialized: Cannot read property 'then' of
undefined
- The "topic" dropdown menu does not show any topic name.
- When we check the browser "Developer Tools" --> "Console" output then we can
see the following error when accessing "Storm - Kafka-offset" Grafana dashboard:
{code:java}
TypeError: Cannot read property 'then' of undefined
at updateOptionsFromMetricFindQuery (app.ca0ab6f9.js:39)
at b (app.ca0ab6f9.js:16)
at i (app.ca0ab6f9.js:13)
at app.ca0ab6f9.js:13
at n.$eval (app.ca0ab6f9.js:13)
at n.$digest (app.ca0ab6f9.js:13)
at n.$apply (app.ca0ab6f9.js:13)
at f (app.ca0ab6f9.js:11)
at r (app.ca0ab6f9.js:11)
at XMLHttpRequest.v.onload (app.ca0ab6f9.js:11)
{code}
> "Storm - Kafka-offset" Grafana dashboard does not work and does not show
> proper error cause.
> --------------------------------------------------------------------------------------------
>
> Key: AMBARI-23228
> URL: https://issues.apache.org/jira/browse/AMBARI-23228
> Project: Ambari
> Issue Type: Bug
> Components: ambari-metrics
> Affects Versions: 2.6.1
> Reporter: JaySenSharma
> Priority: Blocker
>
> In a fresh Ambari 2.6.1 setup when we try to access the "Storm -
> Kafka-offset" Grafana dashboard then it shows errors.
> {code:java}
> Dashboard init failed
> Template variables could not be initialized: Cannot read property 'then' of
> undefined
> {code}
> - The "topic" dropdown menu does not show any topic name.
> - When we check the browser "Developer Tools" --> "Console" output then we
> can see the following error when accessing "Storm - Kafka-offset" Grafana
> dashboard:
> {code:java}
> TypeError: Cannot read property 'then' of undefined
> at updateOptionsFromMetricFindQuery (app.ca0ab6f9.js:39)
> at b (app.ca0ab6f9.js:16)
> at i (app.ca0ab6f9.js:13)
> at app.ca0ab6f9.js:13
> at n.$eval (app.ca0ab6f9.js:13)
> at n.$digest (app.ca0ab6f9.js:13)
> at n.$apply (app.ca0ab6f9.js:13)
> at f (app.ca0ab6f9.js:11)
> at r (app.ca0ab6f9.js:11)
> at XMLHttpRequest.v.onload (app.ca0ab6f9.js:11)
> {code}
> *Expectation:* Ambari should show meaningful messages in the Grafana UI
> regarding the failure. Or if it is not able to find any particular metrics
> name.
> .
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)