Home Forums Ambari Missing Ganglia monitor component after remove and re-add a host

This topic contains 1 reply, has 2 voices, and was last updated by  Jeff Sposetti 2 months, 3 weeks ago.

  • Creator
    Topic
  • #56346

    Tim Fei
    Participant

    I am using HDP2.1 with Ambari 1.5.1.110

    I created a cluster with 4 hosts, say host1, host2…host4 . After the cluster running for a week, host2 is powered off because of hardware errors. So we deleted the host2 virtual machine and created a new one with exactly same host name and ip address.

    In ambari, I tried to delete host2 and re-add it as a new host. It failed with 2 errors, prompts the add hosts operation failed, hostname “host2″ is already used.

    And after I closed the “add hosts” wizard I found a host2 has been created in ambari however, no components on it. So I manually added node manager/datanode to this host2 but I can’t add Ganglia monitor on this host (There is simply no “Ganglia Monitor” when I click the + button )
    Now I have the hosts2 working properly, however, I can’t get the monitoring stats from ganglia for this host.

    Is there a guide so that I can manually install ganglia monitor.

    Thanks.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #56350

    Jeff Sposetti
    Moderator

    Checkout this wiki page. It covers that scenario.

    https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=40508365

    For the Ganglia monitor, in Ambari 1.5.1, you need to use the REST API to add the component to the Host. This has since been added to the UI and will ship with Ambari 1.6.1:

    https://issues.apache.org/jira/browse/AMBARI-5530

    Collapse
Viewing 1 replies (of 1 total)