stdout: /var/lib/ambari-agent/data/output-1377.txt 2017-04-22 21:37:27,099 - The hadoop conf dir /usr/hdp/current/hadoop-client/conf exists, will call conf-select on it for version 2.4.3.0-227 2017-04-22 21:37:27,099 - Checking if need to create versioned conf dir /etc/hadoop/2.4.3.0-227/0 2017-04-22 21:37:27,100 - call['conf-select create-conf-dir --package hadoop --stack-version 2.4.3.0-227 --conf-version 0'] {'logoutput': False, 'sudo': True, 'quiet': False, 'stderr': -1} 2017-04-22 21:37:27,132 - call returned (1, '/etc/hadoop/2.4.3.0-227/0 exist already', '') 2017-04-22 21:37:27,132 - checked_call['conf-select set-conf-dir --package hadoop --stack-version 2.4.3.0-227 --conf-version 0'] {'logoutput': False, 'sudo': True, 'quiet': False} 2017-04-22 21:37:27,162 - checked_call returned (0, '') 2017-04-22 21:37:27,162 - Ensuring that hadoop has the correct symlink structure 2017-04-22 21:37:27,162 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf 2017-04-22 21:37:27,300 - The hadoop conf dir /usr/hdp/current/hadoop-client/conf exists, will call conf-select on it for version 2.4.3.0-227 2017-04-22 21:37:27,300 - Checking if need to create versioned conf dir /etc/hadoop/2.4.3.0-227/0 2017-04-22 21:37:27,301 - call['conf-select create-conf-dir --package hadoop --stack-version 2.4.3.0-227 --conf-version 0'] {'logoutput': False, 'sudo': True, 'quiet': False, 'stderr': -1} 2017-04-22 21:37:27,332 - call returned (1, '/etc/hadoop/2.4.3.0-227/0 exist already', '') 2017-04-22 21:37:27,333 - checked_call['conf-select set-conf-dir --package hadoop --stack-version 2.4.3.0-227 --conf-version 0'] {'logoutput': False, 'sudo': True, 'quiet': False} 2017-04-22 21:37:27,371 - checked_call returned (0, '') 2017-04-22 21:37:27,371 - Ensuring that hadoop has the correct symlink structure 2017-04-22 21:37:27,371 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf 2017-04-22 21:37:27,373 - Group['hadoop'] {} 2017-04-22 21:37:27,374 - Group['users'] {} 2017-04-22 21:37:27,374 - User['zookeeper'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop']} 2017-04-22 21:37:27,377 - User['ams'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop']} 2017-04-22 21:37:27,378 - User['ambari-qa'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'users']} 2017-04-22 21:37:27,378 - User['hdfs'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop']} 2017-04-22 21:37:27,379 - User['yarn'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop']} 2017-04-22 21:37:27,379 - User['mapred'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop']} 2017-04-22 21:37:27,380 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555} 2017-04-22 21:37:27,383 - 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)'} 2017-04-22 21:37:27,394 - 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 2017-04-22 21:37:27,395 - Group['hdfs'] {} 2017-04-22 21:37:27,395 - User['hdfs'] {'fetch_nonlocal_groups': True, 'groups': [u'hadoop', u'hdfs']} 2017-04-22 21:37:27,396 - FS Type: 2017-04-22 21:37:27,396 - Directory['/etc/hadoop'] {'mode': 0755} 2017-04-22 21:37:27,424 - File['/usr/hdp/current/hadoop-client/conf/hadoop-env.sh'] {'content': InlineTemplate(...), 'owner': 'hdfs', 'group': 'hadoop'} 2017-04-22 21:37:27,425 - Directory['/var/lib/ambari-agent/tmp/hadoop_java_io_tmpdir'] {'owner': 'hdfs', 'group': 'hadoop', 'mode': 0777} 2017-04-22 21:37:27,439 - Execute[('setenforce', '0')] {'not_if': '(! which getenforce ) || (which getenforce && getenforce | grep -q Disabled)', 'sudo': True, 'only_if': 'test -f /selinux/enforce'} 2017-04-22 21:37:27,446 - Skipping Execute[('setenforce', '0')] due to not_if 2017-04-22 21:37:27,447 - Directory['/var/log/hadoop'] {'owner': 'root', 'mode': 0775, 'group': 'hadoop', 'recursive': True, 'cd_access': 'a'} 2017-04-22 21:37:27,449 - Directory['/var/run/hadoop'] {'owner': 'root', 'group': 'root', 'recursive': True, 'cd_access': 'a'} 2017-04-22 21:37:27,449 - Directory['/tmp/hadoop-hdfs'] {'owner': 'hdfs', 'recursive': True, 'cd_access': 'a'} 2017-04-22 21:37:27,457 - File['/usr/hdp/current/hadoop-client/conf/commons-logging.properties'] {'content': Template('commons-logging.properties.j2'), 'owner': 'hdfs'} 2017-04-22 21:37:27,463 - File['/usr/hdp/current/hadoop-client/conf/health_check'] {'content': Template('health_check.j2'), 'owner': 'hdfs'} 2017-04-22 21:37:27,464 - File['/usr/hdp/current/hadoop-client/conf/log4j.properties'] {'content': ..., 'owner': 'hdfs', 'group': 'hadoop', 'mode': 0644} 2017-04-22 21:37:27,484 - File['/usr/hdp/current/hadoop-client/conf/hadoop-metrics2.properties'] {'content': Template('hadoop-metrics2.properties.j2'), 'owner': 'hdfs', 'group': 'hadoop'} 2017-04-22 21:37:27,485 - File['/usr/hdp/current/hadoop-client/conf/task-log4j.properties'] {'content': StaticFile('task-log4j.properties'), 'mode': 0755} 2017-04-22 21:37:27,486 - File['/usr/hdp/current/hadoop-client/conf/configuration.xsl'] {'owner': 'hdfs', 'group': 'hadoop'} 2017-04-22 21:37:27,491 - File['/etc/hadoop/conf/topology_mappings.data'] {'owner': 'hdfs', 'content': Template('topology_mappings.data.j2'), 'only_if': 'test -d /etc/hadoop/conf', 'group': 'hadoop'} 2017-04-22 21:37:27,497 - File['/etc/hadoop/conf/topology_script.py'] {'content': StaticFile('topology_script.py'), 'only_if': 'test -d /etc/hadoop/conf', 'mode': 0755} 2017-04-22 21:37:27,691 - The hadoop conf dir /usr/hdp/current/hadoop-client/conf exists, will call conf-select on it for version 2.4.3.0-227 2017-04-22 21:37:27,691 - Checking if need to create versioned conf dir /etc/hadoop/2.4.3.0-227/0 2017-04-22 21:37:27,692 - call['conf-select create-conf-dir --package hadoop --stack-version 2.4.3.0-227 --conf-version 0'] {'logoutput': False, 'sudo': True, 'quiet': False, 'stderr': -1} 2017-04-22 21:37:27,733 - call returned (1, '/etc/hadoop/2.4.3.0-227/0 exist already', '') 2017-04-22 21:37:27,734 - checked_call['conf-select set-conf-dir --package hadoop --stack-version 2.4.3.0-227 --conf-version 0'] {'logoutput': False, 'sudo': True, 'quiet': False} 2017-04-22 21:37:27,760 - checked_call returned (0, '') 2017-04-22 21:37:27,760 - Ensuring that hadoop has the correct symlink structure 2017-04-22 21:37:27,760 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf 2017-04-22 21:37:27,773 - Directory['/etc/ambari-metrics-grafana/conf'] {'owner': 'ams', 'group': 'hadoop', 'recursive': True, 'mode': 0755} 2017-04-22 21:37:27,775 - Directory['/var/log/ambari-metrics-grafana'] {'owner': 'ams', 'group': 'hadoop', 'recursive': True, 'mode': 0755} 2017-04-22 21:37:27,775 - Directory['/var/lib/ambari-metrics-grafana'] {'owner': 'ams', 'group': 'hadoop', 'recursive': True, 'mode': 0755} 2017-04-22 21:37:27,776 - Directory['/var/run/ambari-metrics-grafana'] {'owner': 'ams', 'group': 'hadoop', 'recursive': True, 'mode': 0755} 2017-04-22 21:37:27,782 - File['/etc/ambari-metrics-grafana/conf/ams-grafana-env.sh'] {'content': InlineTemplate(...), 'owner': 'ams', 'group': 'hadoop'} 2017-04-22 21:37:27,788 - File['/etc/ambari-metrics-grafana/conf/ams-grafana.ini'] {'content': InlineTemplate(...), 'owner': 'ams', 'group': 'hadoop', 'mode': 0600} 2017-04-22 21:37:27,789 - Execute[('chown', '-R', u'ams', '/etc/ambari-metrics-grafana/conf')] {'sudo': True} 2017-04-22 21:37:27,795 - Execute[('chown', '-R', u'ams', u'/var/log/ambari-metrics-grafana')] {'sudo': True} 2017-04-22 21:37:27,802 - Execute[('chown', '-R', u'ams', u'/var/lib/ambari-metrics-grafana')] {'sudo': True} 2017-04-22 21:37:27,816 - Execute[('chown', '-R', u'ams', u'/var/run/ambari-metrics-grafana')] {'sudo': True} 2017-04-22 21:37:27,823 - Execute['/usr/sbin/ambari-metrics-grafana start'] {'user': 'ams'}