- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Ambari Metrics Widgets display No Data Available when the expression have subtraction?
- Labels:
-
Apache Ambari
Created on 01-14-2019 10:04 AM - edited 08-17-2019 03:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I reinstall the Ambari Metrics,I find some widget didn't work。After carefully analyzation,I find out that in the all error widget the expression have subtraction.
Anybody knows how to solve it ?
Created 01-14-2019 10:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please let us know which ambari version are you using?
There seems to be some issue reported for Ambari 2.6 and prior version of Ambari Widgets where the Widget formula contained "Subtract" operator.
Something similar you can find here: https://issues.apache.org/jira/browse/AMBARI-23309
Code Changes: https://github.com/apache/ambari/pull/738/files
So if you can make the same changes as mentioned in the Pull request inside the
"/usr/lib/ambari-server/web/javascripts/app.js" (after taking a backup of this file) then it should start working after hard reset of browser.
.
Or try the same in Ambari 2.7.0 or later and then see if it works.
Created 01-14-2019 10:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please let us know which ambari version are you using?
There seems to be some issue reported for Ambari 2.6 and prior version of Ambari Widgets where the Widget formula contained "Subtract" operator.
Something similar you can find here: https://issues.apache.org/jira/browse/AMBARI-23309
Code Changes: https://github.com/apache/ambari/pull/738/files
So if you can make the same changes as mentioned in the Pull request inside the
"/usr/lib/ambari-server/web/javascripts/app.js" (after taking a backup of this file) then it should start working after hard reset of browser.
.
Or try the same in Ambari 2.7.0 or later and then see if it works.
Created 01-14-2019 11:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using Ambari 2.6.2.2 and Ambari Metrics version is 0.1.0
Created 01-14-2019 11:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I will try to do it by using your suggestion at tomorrow. By the way, txs
Created 01-15-2019 03:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It worked,thanks
Created 01-15-2019 04:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
