Ambari Forum

ambari-agent fails to start after updating

  • #21025
    Ray Roberts
    Participant

    I just recently installed HDP with 100% success, all green lights in Ambari. However, I just ran a yum update on one of my data nodes and now ambari fails to start. It looks like a newer version of ambari agent was installed in this yum update process.

    Any ideas what could have happened?

to create new topics or reply. | New User Registration

  • Author
    Replies
  • #21029
    Ray Roberts
    Participant

    Ok, so I think I figured it out.

    After the the new version of ambari(ver-1.2.2.5-1) was installed, it seems as though the /etc/ambari-agent/conf is copied to conf.save.

    This causes the ambari-agent to no longer have a ambari-agent.ini

    Once I copied the conf.save to /etc/ambari-agent/conf/ the agent started successfully.

    #21051
    Robert
    Participant

    Hi Ray,
    Thanks for the information. Did you do a yum update with no parameters passed or did you pass in parameter?

    Regards,
    Robert

    #21126
    Ray Roberts
    Participant

    Robert,

    I did a “yum update”

    -Ray

    #21138
    Sasha J
    Moderator

    Ray,
    it is not good to have one agent on the different version from the server and other agents.
    Please, go ahead stop ambari-server and all ambari-agents and perform “yum update ambari-server” and “yum update ambari-agent” on all your nodes.
    Then restore saved configurations and start all the processes.

    This way you will be on the latest Ambari version, which was just released few days ago.

    Thank you!
    Sasha

You must be to reply to this topic. | Create Account

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.