Created on 05-09-2016 04:32 PM - edited 08-19-2019 01:31 AM
Hi:
I am triying to add new host into the cluster but, long time the website is like that, any suggestions???
Created on 05-10-2016 03:13 PM - edited 08-19-2019 01:31 AM
Hi:
after install the ambari version 2.2.1.0 same like ambari server and execute
ambari-agent start
now is working well
then I registered MANUALLYthe host, the warning are because there are some directories that i need to remove,,but is ok
[root@xxxxhdp]# python /usr/lib/python2.6/site-packages/ambari_agent/HostCleanup.py --silent --skip=users
after Rerun check ()the blue botton, everything is fine.
and now all nodes are working
{
  "href" : "http://xxxxx:8080/api/v1/hosts",
  "items" : [
    {
      "href" : "http://xxxxxx:8080/api/v1/hosts/a01hop04",
      "Hosts" : {
        "host_name" : "a01hop04"
      }
    },
    {
      "href" : "http://xxxxx:8080/api/v1/hosts/a01hop01",
      "Hosts" : {
        "cluster_name" : "RSI_DE",
        "host_name" : "a01hop01"
      }
    },
    {
      "href" : "http://xxxx:8080/api/v1/hosts/a01hop02",
      "Hosts" : {
        "cluster_name" : "RSI_DE",
        "host_name" : "a01hop02"
      }
    },
    {
      "href" : "http://xxxx:8080/api/v1/hosts/a01hop03",
      "Hosts" : {
        "cluster_name" : "RSI_DE",
        "host_name" : "a01hop03"
      }
    }
  ]
}Thanks everyone
Created 05-13-2016 01:51 PM
Hi finally the problem was about the directory permission /var/run/ambari-server on the namenode I did:
chown -R ambari:ambari /var/run/ambari-server