2016-10-24 14:02:21,683 - The hadoop conf dir /usr/hdp/current/hadoop-client/conf exists, will call conf-select on it for version 2.4.3.0-227 2016-10-24 14:02:21,684 - Checking if need to create versioned conf dir /etc/hadoop/2.4.3.0-227/0 2016-10-24 14:02:21,685 - call[('ambari-python-wrap', '/usr/bin/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} 2016-10-24 14:02:21,716 - call returned (1, '/etc/hadoop/2.4.3.0-227/0 exist already', '') 2016-10-24 14:02:21,717 - checked_call[('ambari-python-wrap', '/usr/bin/conf-select', 'set-conf-dir', '--package', 'hadoop', '--stack-version', '2.4.3.0-227', '--conf-version', '0')] {'logoutput': False, 'sudo': True, 'quiet': False} 2016-10-24 14:02:21,745 - checked_call returned (0, '') 2016-10-24 14:02:21,746 - Ensuring that hadoop has the correct symlink structure 2016-10-24 14:02:21,746 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf 2016-10-24 14:02:21,907 - The hadoop conf dir /usr/hdp/current/hadoop-client/conf exists, will call conf-select on it for version 2.4.3.0-227 2016-10-24 14:02:21,908 - Checking if need to create versioned conf dir /etc/hadoop/2.4.3.0-227/0 2016-10-24 14:02:21,908 - call[('ambari-python-wrap', '/usr/bin/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} 2016-10-24 14:02:21,943 - call returned (1, '/etc/hadoop/2.4.3.0-227/0 exist already', '') 2016-10-24 14:02:21,943 - checked_call[('ambari-python-wrap', '/usr/bin/conf-select', 'set-conf-dir', '--package', 'hadoop', '--stack-version', '2.4.3.0-227', '--conf-version', '0')] {'logoutput': False, 'sudo': True, 'quiet': False} 2016-10-24 14:02:21,972 - checked_call returned (0, '') 2016-10-24 14:02:21,974 - Ensuring that hadoop has the correct symlink structure 2016-10-24 14:02:21,974 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf 2016-10-24 14:02:21,976 - Group['spark'] {} 2016-10-24 14:02:21,979 - Group['hadoop'] {} 2016-10-24 14:02:21,979 - Group['users'] {} 2016-10-24 14:02:21,980 - User['hive'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2016-10-24 14:02:21,982 - User['storm'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2016-10-24 14:02:21,984 - User['zookeeper'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2016-10-24 14:02:21,985 - User['infra-solr'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2016-10-24 14:02:21,987 - User['atlas'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2016-10-24 14:02:21,987 - User['ams'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2016-10-24 14:02:21,988 - User['tez'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['users']} 2016-10-24 14:02:21,989 - User['spark'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2016-10-24 14:02:21,990 - User['ambari-qa'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['users']} 2016-10-24 14:02:21,991 - User['kafka'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2016-10-24 14:02:21,992 - User['hdfs'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2016-10-24 14:02:21,993 - User['sqoop'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2016-10-24 14:02:21,994 - User['yarn'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2016-10-24 14:02:21,995 - User['mapred'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2016-10-24 14:02:21,996 - User['hbase'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2016-10-24 14:02:21,997 - User['hcat'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2016-10-24 14:02:21,998 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555} 2016-10-24 14:02:22,001 - 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-10-24 14:02:22,006 - 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-10-24 14:02:22,007 - Directory['/tmp/hbase-hbase'] {'owner': 'hbase', 'create_parents': True, 'mode': 0775, 'cd_access': 'a'} 2016-10-24 14:02:22,008 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555} 2016-10-24 14:02:22,009 - 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-10-24 14:02:22,014 - 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-10-24 14:02:22,014 - Group['hdfs'] {} 2016-10-24 14:02:22,015 - User['hdfs'] {'fetch_nonlocal_groups': True, 'groups': ['hadoop', 'hdfs']} 2016-10-24 14:02:22,015 - FS Type: 2016-10-24 14:02:22,016 - Directory['/etc/hadoop'] {'mode': 0755} 2016-10-24 14:02:22,041 - File['/usr/hdp/current/hadoop-client/conf/hadoop-env.sh'] {'content': InlineTemplate(...), 'owner': 'hdfs', 'group': 'hadoop'} 2016-10-24 14:02:22,042 - Directory['/var/lib/ambari-agent/tmp/hadoop_java_io_tmpdir'] {'owner': 'hdfs', 'group': 'hadoop', 'mode': 01777} 2016-10-24 14:02:22,061 - Execute[('setenforce', '0')] {'not_if': '(! which getenforce ) || (which getenforce && getenforce | grep -q Disabled)', 'sudo': True, 'only_if': 'test -f /selinux/enforce'} 2016-10-24 14:02:22,068 - Skipping Execute[('setenforce', '0')] due to not_if 2016-10-24 14:02:22,068 - Directory['/var/log/hadoop'] {'owner': 'root', 'create_parents': True, 'group': 'hadoop', 'mode': 0775, 'cd_access': 'a'} 2016-10-24 14:02:22,072 - Directory['/var/run/hadoop'] {'owner': 'root', 'create_parents': True, 'group': 'root', 'cd_access': 'a'} 2016-10-24 14:02:22,072 - Changing owner for /var/run/hadoop from 53062 to root 2016-10-24 14:02:22,072 - Changing group for /var/run/hadoop from 498 to root 2016-10-24 14:02:22,073 - Directory['/tmp/hadoop-hdfs'] {'owner': 'hdfs', 'create_parents': True, 'cd_access': 'a'} 2016-10-24 14:02:22,079 - File['/usr/hdp/current/hadoop-client/conf/commons-logging.properties'] {'content': Template('commons-logging.properties.j2'), 'owner': 'hdfs'} 2016-10-24 14:02:22,081 - File['/usr/hdp/current/hadoop-client/conf/health_check'] {'content': Template('health_check.j2'), 'owner': 'hdfs'} 2016-10-24 14:02:22,082 - File['/usr/hdp/current/hadoop-client/conf/log4j.properties'] {'content': ..., 'owner': 'hdfs', 'group': 'hadoop', 'mode': 0644} 2016-10-24 14:02:22,106 - File['/usr/hdp/current/hadoop-client/conf/hadoop-metrics2.properties'] {'content': Template('hadoop-metrics2.properties.j2'), 'owner': 'hdfs', 'group': 'hadoop'} 2016-10-24 14:02:22,107 - File['/usr/hdp/current/hadoop-client/conf/task-log4j.properties'] {'content': StaticFile('task-log4j.properties'), 'mode': 0755} 2016-10-24 14:02:22,108 - File['/usr/hdp/current/hadoop-client/conf/configuration.xsl'] {'owner': 'hdfs', 'group': 'hadoop'} 2016-10-24 14:02:22,115 - File['/etc/hadoop/conf/topology_mappings.data'] {'owner': 'hdfs', 'content': Template('topology_mappings.data.j2'), 'only_if': 'test -d /etc/hadoop/conf', 'group': 'hadoop'} 2016-10-24 14:02:22,120 - File['/etc/hadoop/conf/topology_script.py'] {'content': StaticFile('topology_script.py'), 'only_if': 'test -d /etc/hadoop/conf', 'mode': 0755} 2016-10-24 14:02:23,601 - The hadoop conf dir /usr/hdp/current/hadoop-client/conf exists, will call conf-select on it for version 2.4.3.0-227 2016-10-24 14:02:23,601 - Checking if need to create versioned conf dir /etc/hadoop/2.4.3.0-227/0 2016-10-24 14:02:23,602 - call[('ambari-python-wrap', '/usr/bin/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} 2016-10-24 14:02:23,631 - call returned (1, '/etc/hadoop/2.4.3.0-227/0 exist already', '') 2016-10-24 14:02:23,632 - checked_call[('ambari-python-wrap', '/usr/bin/conf-select', 'set-conf-dir', '--package', 'hadoop', '--stack-version', '2.4.3.0-227', '--conf-version', '0')] {'logoutput': False, 'sudo': True, 'quiet': False} 2016-10-24 14:02:23,664 - checked_call returned (0, '') 2016-10-24 14:02:23,666 - Ensuring that hadoop has the correct symlink structure 2016-10-24 14:02:23,666 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf 2016-10-24 14:02:23,677 - call['ambari-python-wrap /usr/bin/hdp-select status hive-server2'] {'timeout': 20} 2016-10-24 14:02:23,705 - call returned (0, 'hive-server2 - 2.4.3.0-227') 2016-10-24 14:02:23,707 - Stack Feature Version Info: stack_version=2.4, version=2.4.3.0-227, current_cluster_version=2.4.3.0-227 -> 2.4.3.0-227 2016-10-24 14:02:23,725 - HdfsResource['/user/hcat'] {'security_enabled': False, 'hadoop_bin_dir': '/usr/hdp/current/hadoop-client/bin', 'keytab': [EMPTY], 'dfs_type': '', 'default_fs': 'hdfs://node09.example.com:8020', 'hdfs_resource_ignore_file': '/var/lib/ambari-agent/data/.hdfs_resource_ignore', 'hdfs_site': ..., 'kinit_path_local': '/usr/bin/kinit', 'principal_name': 'missing_principal', 'user': 'hdfs', 'owner': 'hcat', 'hadoop_conf_dir': '/usr/hdp/current/hadoop-client/conf', 'type': 'directory', 'action': ['create_on_execute'], 'immutable_paths': [u'/apps/hive/warehouse', u'/mr-history/done', u'/app-logs', u'/tmp'], 'mode': 0755} 2016-10-24 14:02:23,730 - call['ambari-sudo.sh su hdfs -l -s /bin/bash -c 'curl -sS -L -w '"'"'%{http_code}'"'"' -X GET '"'"'http://node09.example.com:50070/webhdfs/v1/user/hcat?op=GETFILESTATUS&user.name=hdfs'"'"' 1>/tmp/tmpuQvR36 2>/tmp/tmpitSgwB''] {'logoutput': None, 'quiet': False} 2016-10-24 14:02:23,783 - call returned (0, '') 2016-10-24 14:02:23,785 - Called copy_to_hdfs tarball: mapreduce 2016-10-24 14:02:23,785 - Default version is 2.4.3.0-227 2016-10-24 14:02:23,786 - Source file: /usr/hdp/2.4.3.0-227/hadoop/mapreduce.tar.gz , Dest file in HDFS: /hdp/apps/2.4.3.0-227/mapreduce/mapreduce.tar.gz 2016-10-24 14:02:23,787 - HdfsResource['/hdp/apps/2.4.3.0-227/mapreduce'] {'security_enabled': False, 'hadoop_bin_dir': '/usr/hdp/current/hadoop-client/bin', 'keytab': [EMPTY], 'dfs_type': '', 'default_fs': 'hdfs://node09.example.com:8020', 'hdfs_resource_ignore_file': '/var/lib/ambari-agent/data/.hdfs_resource_ignore', 'hdfs_site': ..., 'kinit_path_local': '/usr/bin/kinit', 'principal_name': 'missing_principal', 'user': 'hdfs', 'owner': 'hdfs', 'hadoop_conf_dir': '/usr/hdp/current/hadoop-client/conf', 'type': 'directory', 'action': ['create_on_execute'], 'immutable_paths': [u'/apps/hive/warehouse', u'/mr-history/done', u'/app-logs', u'/tmp'], 'mode': 0555} 2016-10-24 14:02:23,789 - call['ambari-sudo.sh su hdfs -l -s /bin/bash -c 'curl -sS -L -w '"'"'%{http_code}'"'"' -X GET '"'"'http://node09.example.com:50070/webhdfs/v1/hdp/apps/2.4.3.0-227/mapreduce?op=GETFILESTATUS&user.name=hdfs'"'"' 1>/tmp/tmpxKV8Jz 2>/tmp/tmp7uChFy''] {'logoutput': None, 'quiet': False} 2016-10-24 14:02:23,856 - call returned (0, '') 2016-10-24 14:02:23,858 - HdfsResource['/hdp/apps/2.4.3.0-227/mapreduce/mapreduce.tar.gz'] {'security_enabled': False, 'hadoop_bin_dir': '/usr/hdp/current/hadoop-client/bin', 'keytab': [EMPTY], 'source': '/usr/hdp/2.4.3.0-227/hadoop/mapreduce.tar.gz', 'dfs_type': '', 'default_fs': 'hdfs://node09.example.com:8020', 'replace_existing_files': False, 'hdfs_resource_ignore_file': '/var/lib/ambari-agent/data/.hdfs_resource_ignore', 'hdfs_site': ..., 'kinit_path_local': '/usr/bin/kinit', 'principal_name': 'missing_principal', 'user': 'hdfs', 'owner': 'hdfs', 'group': 'hadoop', 'hadoop_conf_dir': '/usr/hdp/current/hadoop-client/conf', 'type': 'file', 'action': ['create_on_execute'], 'immutable_paths': [u'/apps/hive/warehouse', u'/mr-history/done', u'/app-logs', u'/tmp'], 'mode': 0444} 2016-10-24 14:02:23,860 - call['ambari-sudo.sh su hdfs -l -s /bin/bash -c 'curl -sS -L -w '"'"'%{http_code}'"'"' -X GET '"'"'http://node09.example.com:50070/webhdfs/v1/hdp/apps/2.4.3.0-227/mapreduce/mapreduce.tar.gz?op=GETFILESTATUS&user.name=hdfs'"'"' 1>/tmp/tmp_C5ekO 2>/tmp/tmpALk6rT''] {'logoutput': None, 'quiet': False} 2016-10-24 14:02:23,915 - call returned (0, '') 2016-10-24 14:02:23,916 - Creating new file /hdp/apps/2.4.3.0-227/mapreduce/mapreduce.tar.gz in DFS 2016-10-24 14:02:23,918 - call['ambari-sudo.sh su hdfs -l -s /bin/bash -c 'curl -sS -L -w '"'"'%{http_code}'"'"' -X PUT --data-binary @/usr/hdp/2.4.3.0-227/hadoop/mapreduce.tar.gz '"'"'http://node09.example.com:50070/webhdfs/v1/hdp/apps/2.4.3.0-227/mapreduce/mapreduce.tar.gz?op=CREATE&user.name=hdfs&overwrite=True&permission=444'"'"' 1>/tmp/tmp9oruFg 2>/tmp/tmp6NevU5''] {'logoutput': None, 'quiet': False} 2016-10-24 14:03:59,566 - call returned (52, '') Command failed after 1 tries