stderr: /var/lib/ambari-agent/data/errors-200.txt Traceback (most recent call last): File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py", line 38, in AfterInstallHook().execute() File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 219, in execute method(env) File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py", line 33, in hook setup_config() File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/shared_initialization.py", line 55, in setup_config only_if=format("ls {hadoop_conf_dir}")) File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154, in __init__ self.env.run() File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 158, in run self.run_action(resource, action) File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 121, in run_action provider_action() File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/xml_config.py", line 67, in action_create encoding = self.resource.encoding File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154, in __init__ self.env.run() File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 158, in run self.run_action(resource, action) File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 121, in run_action provider_action() File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 87, in action_create raise Fail("Applying %s failed, parent directory %s doesn't exist" % (self.resource, dirname)) resource_management.core.exceptions.Fail: Applying File['/usr/hdp/current/hadoop-client/conf/core-site.xml'] failed, parent directory /usr/hdp/current/hadoop-client/conf doesn't exist stdout: /var/lib/ambari-agent/data/output-200.txt 2016-02-17 12:10:06,868 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf 2016-02-17 12:10:06,870 - Group['spark'] {} 2016-02-17 12:10:06,871 - Group['hadoop'] {} 2016-02-17 12:10:06,871 - Group['users'] {} 2016-02-17 12:10:06,872 - Group['knox'] {} 2016-02-17 12:10:06,872 - User['hive'] {'gid': 'hadoop', 'groups': [u'hadoop']} 2016-02-17 12:10:06,873 - User['storm'] {'gid': 'hadoop', 'groups': [u'hadoop']} 2016-02-17 12:10:06,874 - User['zookeeper'] {'gid': 'hadoop', 'groups': [u'hadoop']} 2016-02-17 12:10:06,875 - User['oozie'] {'gid': 'hadoop', 'groups': [u'users']} 2016-02-17 12:10:06,875 - User['atlas'] {'gid': 'hadoop', 'groups': [u'hadoop']} 2016-02-17 12:10:06,876 - User['ams'] {'gid': 'hadoop', 'groups': [u'hadoop']} 2016-02-17 12:10:06,877 - User['falcon'] {'gid': 'hadoop', 'groups': [u'users']} 2016-02-17 12:10:06,877 - User['tez'] {'gid': 'hadoop', 'groups': [u'users']} 2016-02-17 12:10:06,878 - User['accumulo'] {'gid': 'hadoop', 'groups': [u'hadoop']} 2016-02-17 12:10:06,878 - User['mahout'] {'gid': 'hadoop', 'groups': [u'hadoop']} 2016-02-17 12:10:06,879 - User['spark'] {'gid': 'hadoop', 'groups': [u'hadoop']} 2016-02-17 12:10:06,880 - User['ambari-qa'] {'gid': 'hadoop', 'groups': [u'users']} 2016-02-17 12:10:06,880 - User['flume'] {'gid': 'hadoop', 'groups': [u'hadoop']} 2016-02-17 12:10:06,881 - User['kafka'] {'gid': 'hadoop', 'groups': [u'hadoop']} 2016-02-17 12:10:06,882 - User['hdfs'] {'gid': 'hadoop', 'groups': [u'hadoop']} 2016-02-17 12:10:06,883 - User['sqoop'] {'gid': 'hadoop', 'groups': [u'hadoop']} 2016-02-17 12:10:06,883 - User['yarn'] {'gid': 'hadoop', 'groups': [u'hadoop']} 2016-02-17 12:10:06,884 - User['mapred'] {'gid': 'hadoop', 'groups': [u'hadoop']} 2016-02-17 12:10:06,884 - User['hbase'] {'gid': 'hadoop', 'groups': [u'hadoop']} 2016-02-17 12:10:06,885 - User['knox'] {'gid': 'hadoop', 'groups': [u'hadoop']} 2016-02-17 12:10:06,886 - User['hcat'] {'gid': 'hadoop', 'groups': [u'hadoop']} 2016-02-17 12:10:06,886 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555} 2016-02-17 12:10:06,888 - Execute['/var/lib/ambari-agent/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa'] {'not_if': '(test $(id -u ambari-qa) -gt 1000) || (false)'} 2016-02-17 12:10:06,896 - Skipping Execute['/var/lib/ambari-agent/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa'] due to not_if 2016-02-17 12:10:06,896 - Directory['/tmp/hbase-hbase'] {'owner': 'hbase', 'recursive': True, 'mode': 0775, 'cd_access': 'a'} 2016-02-17 12:10:06,897 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555} 2016-02-17 12:10:06,898 - Execute['/var/lib/ambari-agent/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase'] {'not_if': '(test $(id -u hbase) -gt 1000) || (false)'} 2016-02-17 12:10:06,903 - Skipping Execute['/var/lib/ambari-agent/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase'] due to not_if 2016-02-17 12:10:06,904 - Group['hdfs'] {'ignore_failures': False} 2016-02-17 12:10:06,904 - User['hdfs'] {'ignore_failures': False, 'groups': [u'hadoop', u'hdfs']} 2016-02-17 12:10:06,906 - Directory['/etc/hadoop'] {'mode': 0755} 2016-02-17 12:10:06,907 - Directory['/var/lib/ambari-agent/tmp/hadoop_java_io_tmpdir'] {'owner': 'hdfs', 'group': 'hadoop', 'mode': 0777} 2016-02-17 12:10:06,924 - Repository['HDP-2.3'] {'base_url': 'http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.3.4.0', 'action': ['create'], 'components': [u'HDP', 'main'], 'repo_template': '[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0', 'repo_file_name': 'HDP', 'mirror_list': None} 2016-02-17 12:10:06,933 - File['/etc/yum.repos.d/HDP.repo'] {'content': '[HDP-2.3]\nname=HDP-2.3\nbaseurl=http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.3.4.0\n\npath=/\nenabled=1\ngpgcheck=0'} 2016-02-17 12:10:06,934 - Repository['HDP-UTILS-1.1.0.20'] {'base_url': 'http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos7', 'action': ['create'], 'components': [u'HDP-UTILS', 'main'], 'repo_template': '[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0', 'repo_file_name': 'HDP-UTILS', 'mirror_list': None} 2016-02-17 12:10:06,938 - File['/etc/yum.repos.d/HDP-UTILS.repo'] {'content': '[HDP-UTILS-1.1.0.20]\nname=HDP-UTILS-1.1.0.20\nbaseurl=http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos7\n\npath=/\nenabled=1\ngpgcheck=0'} 2016-02-17 12:10:06,938 - Package['unzip'] {} 2016-02-17 12:10:07,031 - Skipping installation of existing package unzip 2016-02-17 12:10:07,031 - Package['curl'] {} 2016-02-17 12:10:07,042 - Skipping installation of existing package curl 2016-02-17 12:10:07,043 - Package['hdp-select'] {} 2016-02-17 12:10:07,054 - Skipping installation of existing package hdp-select 2016-02-17 12:10:07,245 - Package['accumulo_2_3_*'] {} 2016-02-17 12:10:07,343 - Skipping installation of existing package accumulo_2_3_* 2016-02-17 12:10:07,613 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf 2016-02-17 12:10:07,614 - Execute['ambari-sudo.sh -H -E touch /var/lib/ambari-agent/data/hdp-select-set-all.performed ; ambari-sudo.sh /usr/bin/hdp-select set all `ambari-python-wrap /usr/bin/hdp-select versions | grep ^2.3 | tail -1`'] {'not_if': 'test -f /var/lib/ambari-agent/data/hdp-select-set-all.performed', 'only_if': 'ls -d /usr/hdp/2.3*'} 2016-02-17 12:10:07,618 - Skipping Execute['ambari-sudo.sh -H -E touch /var/lib/ambari-agent/data/hdp-select-set-all.performed ; ambari-sudo.sh /usr/bin/hdp-select set all `ambari-python-wrap /usr/bin/hdp-select versions | grep ^2.3 | tail -1`'] due to not_if 2016-02-17 12:10:07,619 - XmlConfig['core-site.xml'] {'group': 'hadoop', 'conf_dir': '/usr/hdp/current/hadoop-client/conf', 'configuration_attributes': {}, 'owner': 'hdfs', 'only_if': 'ls /usr/hdp/current/hadoop-client/conf', 'configurations': ...} 2016-02-17 12:10:07,640 - Generating config: /usr/hdp/current/hadoop-client/conf/core-site.xml 2016-02-17 12:10:07,641 - File['/usr/hdp/current/hadoop-client/conf/core-site.xml'] {'owner': 'hdfs', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': None, 'encoding': 'UTF-8'}