I am using ambari install wizard to create a cluster on a local cluster environment. I have ubuntu virtual machines, one namenode, two datanode configured correctly. Password less ssh has correctly configured on namenode. Hostname and FQDN correctly configured.
I am using a user account hdp, which has sudo priviledges for registration of datanode hosts. After exactly 5 minutes, the ambari-server.log shows the following:
INFO:root:BootStrapping hosts ['datanode1.local'] using /usr/lib/python2.6/site-packages/ambari_server cluster primary OS: ubuntu16 with user 'hdp' sshKey File /var/run/ambari-server/bootstrap/4/sshKey password File null using tmp dir /var/run/ambari-server/bootstrap/4 ambari: namdenode.local; server_port: 8080; ambari version: 220.127.116.11; user_run_as: root
INFO:root:Executing parallel bootstrap
Bootstrap process timed out. It was destroyed.
and then the installation failed.
So I checked why it is timeout after exactly 5 minutes, and I found the following information at the beginning of registration:
Can anyone tell me why timeout=300 is set for BSRunner? How can I increase it so that it won't timeout? I tried to look for where this is configured in bootstrap.py, property files of ambari-server, and other scripts, but no luck. Anyboby highlight me?