Hi,
I deploy a hadoop cluster using ambari in virtual box virtual machines on a Macbook host, then I try to add the local Mac OSX to the cluster as hadoop clients,
I come up with the following error messages, it seems the ambari angent installation script can’t deal with OSX, can you help with this, thanks.
Xiaobo gu
==========================
Copying common functions script…
==========================
Command start time 2014-10-18 18:37:25
scp /usr/lib/python2.6/site-packages/ambari_commons
host=mac.bh.com, exitcode=0
Command end time 2014-10-18 18:37:27
==========================
Copying OS type check script…
==========================
Command start time 2014-10-18 18:37:27
scp /usr/lib/python2.6/site-packages/ambari_server/os_check_type.py
host=mac.bh.com, exitcode=0
Command end time 2014-10-18 18:37:27
==========================
Running OS type check…
==========================
Command start time 2014-10-18 18:37:27
Traceback (most recent call last):
File “/tmp/os_check_type1413628647.py”, line 44, in <module>
main()
File “/tmp/os_check_type1413628647.py”, line 32, in main
current_os = OSCheck.get_os_family() + OSCheck.get_os_major_version()
File “/private/tmp/ambari_commons/os_check.py”, line 123, in get_os_family
os_family = OSCheck.get_os_type()
File “/private/tmp/ambari_commons/os_check.py”, line 113, in get_os_type
raise Exception(“Cannot detect os type. Exiting…”)
Exception: Cannot detect os type. Exiting…
Connection to mac.bh.com closed.
SSH command execution finished
host=mac.bh.com, exitcode=1
Command end time 2014-10-18 18:37:27
ERROR: Bootstrap of host mac.bh.com fails because previous action finished with non-zero exit code (1)
ERROR MESSAGE: tcgetattr: Invalid argument
Connection to mac.bh.com closed.
STDOUT: Traceback (most recent call last):
File “/tmp/os_check_type1413628647.py”, line 44, in <module>
main()
File “/tmp/os_check_type1413628647.py”, line 32, in main
current_os = OSCheck.get_os_family() + OSCheck.get_os_major_version()
File “/private/tmp/ambari_commons/os_check.py”, line 123, in get_os_family
os_family = OSCheck.get_os_type()
File “/private/tmp/ambari_commons/os_check.py”, line 113, in get_os_type
raise Exception(“Cannot detect os type. Exiting…”)
Exception: Cannot detect os type. Exiting…
Connection to mac.bh.com closed.
Or what directories should copy to the local Mac OSX machine to install the clients manually ?