The Hortonworks Community Connection is now live. A completely rebuilt Q&A forum, Knowledge Base, Code Hub and more, backed by the experts in the industry.

You will be redirected here in 10 seconds. If your are not redirected, click here to visit the new site.

The legacy Hortonworks Forum is now closed. You can view a read-only version of the former site by clicking here. The site will be taken offline on January 31,2016

Ambari Forum

ambari-server reset

  • #49962
    David Haynes

    I am having the issue where the Ambari web service displays “…Loading…” after I upgraded HDP today. I have checked all the usual issues and am now at the point of considering doing an ‘ambari-server reset’.

    My question is “Will this affect the data in the HDFS datanodes at all?” I cannot jeopardize this data and so, if there is any chance of it being affected, I will need to work on another approach.


  • Author
  • #50018
    Jeff Sposetti

    What version of Ambari are you running? And what version of HDP Stack (did you go to/from)? Do you see any javascript errors?

    Ambari server reset only reset the ambari db (where configurations, cluster topo info, etc is stored). So it will not affect data in your cluster. But you will lose Ambari’s information about your cluster. I recommend to try to troubleshoot why the loading hang before resetting the ambari database.

    David Haynes

    Thanks for letting me know that Ambari will not affect my HDFS data.
    I was running an HDP 2.0 stack and performed a yum update. The Ambari updated to
    After this update, Ambari comes back with a ‘…Loading…’ message and does nothing after that.
    The firefox console shows Javascript warnings but no errors.

    I am not the only one seeing this issue and no-one in these forums has an answer as to why this is happening or what a fix would be. Every posting I see on the subject ends up with something like “…and so I reinstalled Ambari’. If you want to offer some diagnostic steps I could take, I will try to accommodate you but I need to get this cluster back up soon.

    David Haynes

    Some more data.
    This is starting to look like a Javascript coding/support issue between Ambari and Firefox.
    From the Firefox console:

    SyntaxError: Using //@ to indicate source map URL pragmas is deprecated. Use //# instead (app.js:115943)
    "STATEMANAGER: Entering root" (vendor.js:17473)
    "TRACE: Entering db:getUser function" (app.js:90490)
    TypeError: is undefined (app.js:90492)

    Jeff Sposetti

    Let’s make sure the browser isn’t caching an older version of the Ambari Web scripts. Can you clear your browser cache plus hold-down shift + click reload on the sign-in page?

    David Haynes

    Did that – no change.
    Also went to Advanced and cleared both caches – no change.

    David Haynes

    OK It is definitely Firefox.
    I removed everything under ~/.mozilla/firefox and Ambari is working again.
    I suspect that, even though I asked it to clear the cache, it is still retaining some elements.
    Removing the contents of that directory is a bit harsh but it does illustrate the problem.

The forum ‘Ambari’ is closed to new topics and replies.

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.