Questions & Answers

cdh-install_hadoop task failed

0 votes
asked Aug 3, 2017 by Usman (170 points)
Hi ,

My pnda cluster failed while executing cdh-install_hadoop task. Below are the logs of heat stack.

  ID: cdh-install_hadoop
    Function: salt.state
      Result: False
     Comment: Run failed on minions: cation-cdh-edge
              Failures:
                  cation-cdh-edge:
                  ----------
                        ID: cdh-execute_cloudera_installation_script
                      Function: cmd.run
                          Name: /tmp/pnda-install/cdh.setup_hadoop/venv/bin/python /tmp/pnda-install/cdh.setup_hadoop/cloudera_config.py
                        Result: False
                       Comment: Command "/tmp/pnda-install/cdh.setup_hadoop/venv/bin/python /tmp/pnda-install/cdh.setup_hadoop/cloudera_config.py" run
                       Started: 14:22:44.484541
                      Duration: 1030950.509 ms
                       Changes:   
                                ----------
                                pid:
                                    3588
                                retcode:
                                    255
                                stderr:
                                stdout:
                  
                  Summary for cation-cdh-edge
                  ------------
                  Succeeded: 7 (changed=7)
                  Failed:    1
                  ------------
                  Total states run:     8
Below are the logs of cm_setup.log file of cdh-edge node.
2017-08-02 14:28:33,035 - INFO - Updating admin login password
2017-08-02 14:28:47,385 - INFO - Checking CM availability....
2017-08-02 14:28:56,939 - INFO - Waiting for CM API to become contactable
2017-08-02 14:28:56,942 - INFO - Checking API availability....
2017-08-02 14:29:14,957 - INFO - Installing hosts
2017-08-02 14:29:22,932 - INFO - ['192.168.10.21', '192.168.10.13', '192.168.10.22']
2017-08-02 14:29:22,984 - INFO - Host install attempt 1
2017-08-02 14:30:21,660 - INFO - Executing GlobalHostInstall
2017-08-02 14:36:04,479 - WARNING - create_hosts: Command completed with 0/3 successful subcommands (cmd.success is False)
2017-08-02 14:36:04,619 - INFO - Host install attempt 2
2017-08-02 14:36:28,193 - INFO - Executing GlobalHostInstall
2017-08-02 14:37:54,353 - WARNING - create_hosts: Command completed with 0/3 successful subcommands (cmd.success is False)
2017-08-02 14:37:54,364 - INFO - Host install attempt 3
2017-08-02 14:38:22,855 - INFO - Executing GlobalHostInstall
2017-08-02 14:39:53,591 - WARNING - create_hosts: Command completed with 0/3 successful subcommands (cmd.success is False)
2017-08-02 14:39:53,598 - ERROR - Giving up on create_hosts: Command completed with 0/3 successful subcommands (cmd.success is False)
I also checked the recent-commands in cloudera manager console and it was showing me "timeout expired" in Host Install Command.
Any suggestion please ? Thanks

1 Answer

0 votes
answered Aug 28, 2017 by jeremie (3,730 points)
what is your OpenStack environment and OS for the base image?
...