Created on 02-19-2019 09:58 AM - edited 08-17-2019 05:03 PM
We upgrade our Ambari from 2.6 to 2.7.3, after the upgrading, our dashboard metrics keep showing the loading animation without any data. However, Ambari metrics service is ok and metrics page on each components also works.
I have checked log file on host of Ambari server, but no exception found. And i also tried to clear Hbase root and tmp dir, not work neither.
Any suggestion is appreciate, thanks in advance!
Created 02-20-2019 01:14 AM
For testing purpose can you please try this:
1. In Ambari UI
"admin" --> "Manage Ambari" --> Users --> "Add User"
2. Add a new User and give that user the following access:
User Access: Cluster Administrator Is this user an Ambari Admin? : Yes User Status : Active
3. Now logout from the Browser and then login with this new user credentials and then check if youa re able to see the "Metrics" dashboard?
Created 02-19-2019 10:44 AM
Have you tried clearing your browser cache?
Or may be you can try opening the ambari UI in "Incognito Mode" (in google chrome) Or in "Private Mode" (In Firefox) to see if that works.
Also in your ambari-server.log do you see any AMS connectivity related error?
Created 02-19-2019 11:05 AM
Thanks for the reply. I just open the ambari UI in incognito mode, but no luck.
And there is no error from ambari server log.
Created 02-20-2019 01:14 AM
For testing purpose can you please try this:
1. In Ambari UI
"admin" --> "Manage Ambari" --> Users --> "Add User"
2. Add a new User and give that user the following access:
User Access: Cluster Administrator Is this user an Ambari Admin? : Yes User Status : Active
3. Now logout from the Browser and then login with this new user credentials and then check if youa re able to see the "Metrics" dashboard?
Created 02-28-2019 02:12 AM
It works, thanks so much!
Created 02-21-2019 08:59 PM
I could reproduce this issue.
This issue can happen when you login to Ambari UI with a username which contains DOT in the username.
Example: if username is "test.user" as it has a DOT in the name so you might see this issue.
There is an issue reported to the JIRA recently and fixed in later version of ambari.
https://issues.apache.org/jira/browse/AMBARI-25102
However the Fix is easy and you ca just update the "app.js" as mentioned in the pull request and your UI will start working fine.
Step-1). On Ambari Server host take a backup of the file "/usr/lib/ambari-server/web/javascripts/app.js" to some safe directory.
# cp -f /usr/lib/ambari-server/web/javascripts/app.js /tmp/app.js
Step-2). Refer to the Pull Request: https://github.com/apache/ambari/pull/2764/files
and make the changes in the "app.js" file.
Step-3). Just do a Hard refresh of the browser.
.