Created on 01-14-2019 10:04 AM - edited 08-17-2019 03:29 PM
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
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
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
I am using Ambari 2.6.2.2 and Ambari Metrics version is 0.1.0
Created 01-14-2019 11:45 AM
I will try to do it by using your suggestion at tomorrow. By the way, txs
Created 01-15-2019 03:47 AM
It worked,thanks
Created 01-15-2019 04:51 AM