Member since
03-26-2017
1
Post
0
Kudos Received
0
Solutions
03-26-2017
05:53 AM
I am trying to setup a single host example - still trying to understand the deployment. I'm getting what reads like a python print error during the installation process. CentOS 7, with Python 2.7 set as the python alias. The machine also has Anaconda (Python 3) on it, but vanilla Python 2.7 should be what's executing. Happy to provide any other info - not sure what else would be helpful at this point - feels like I must be missing something I'm just not catching. ==========================
Creating target directory...
==========================
Command start time 2017-03-26 01:30:34
chmod: cannot access ‘/var/lib/ambari-agent/data’: No such file or directory
Connection to localhost closed.
SSH command execution finished
host=localhost, exitcode=0
Command end time 2017-03-26 01:30:34
==========================
Copying ambari sudo script...
==========================
Command start time 2017-03-26 01:30:34
scp /var/lib/ambari-server/ambari-sudo.sh
host=localhost, exitcode=0
Command end time 2017-03-26 01:30:34
==========================
Copying common functions script...
==========================
Command start time 2017-03-26 01:30:34
scp /usr/lib/python2.6/site-packages/ambari_commons
host=localhost, exitcode=0
Command end time 2017-03-26 01:30:34
==========================
Copying OS type check script...
==========================
Command start time 2017-03-26 01:30:34
scp /usr/lib/python2.6/site-packages/ambari_server/os_check_type.py
host=localhost, exitcode=0
Command end time 2017-03-26 01:30:35
==========================
Running OS type check...
==========================
Command start time 2017-03-26 01:30:35
File "/var/lib/ambari-agent/tmp/os_check_type1490506234.py", line 27
print "Usage: <cluster_os>"
^
SyntaxError: Missing parentheses in call to 'print'
Connection to localhost closed.
SSH command execution finished
host=localhost, exitcode=1
Command end time 2017-03-26 01:30:35
ERROR: Bootstrap of host localhost fails because previous action finished with non-zero exit code (1)
ERROR MESSAGE: Connection to localhost closed.
STDOUT: File "/var/lib/ambari-agent/tmp/os_check_type1490506234.py", line 27
print "Usage: <cluster_os>"
^
SyntaxError: Missing parentheses in call to 'print'
Connection to localhost closed.
... View more
Labels: