2018-07-19 13:13:02,994 - Stack Feature Version Info: Cluster Stack=2.6, Command Stack=None, Command Version=2.6.4.0-91 -> 2.6.4.0-91 2018-07-19 13:13:03,031 - Using hadoop conf dir: /usr/hdp/2.6.4.0-91/hadoop/conf 2018-07-19 13:13:03,256 - Stack Feature Version Info: Cluster Stack=2.6, Command Stack=None, Command Version=2.6.4.0-91 -> 2.6.4.0-91 2018-07-19 13:13:03,263 - Using hadoop conf dir: /usr/hdp/2.6.4.0-91/hadoop/conf 2018-07-19 13:13:03,265 - Group['hdfs'] {} 2018-07-19 13:13:03,266 - Group['zeppelin'] {} 2018-07-19 13:13:03,266 - Group['hadoop'] {} 2018-07-19 13:13:03,266 - Group['users'] {} 2018-07-19 13:13:03,267 - User['infra-solr'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2018-07-19 13:13:03,267 - User['zookeeper'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2018-07-19 13:13:03,268 - User['ams'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2018-07-19 13:13:03,269 - User['ambari-qa'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'users'], 'uid': None} 2018-07-19 13:13:03,270 - User['tez'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'users'], 'uid': None} 2018-07-19 13:13:03,271 - User['hdfs'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hdfs'], 'uid': None} 2018-07-19 13:13:03,272 - User['zeppelin'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'zeppelin', u'hadoop'], 'uid': None} 2018-07-19 13:13:03,273 - User['yarn'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2018-07-19 13:13:03,273 - User['mapred'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2018-07-19 13:13:03,274 - User['hbase'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2018-07-19 13:13:03,275 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555} 2018-07-19 13:13:03,276 - 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 0'] {'not_if': '(test $(id -u ambari-qa) -gt 1000) || (false)'} 2018-07-19 13:13:03,284 - 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 0'] due to not_if 2018-07-19 13:13:03,284 - Directory['/tmp/hbase-hbase'] {'owner': 'hbase', 'create_parents': True, 'mode': 0775, 'cd_access': 'a'} 2018-07-19 13:13:03,285 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555} 2018-07-19 13:13:03,286 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555} 2018-07-19 13:13:03,286 - call['/var/lib/ambari-agent/tmp/changeUid.sh hbase'] {} 2018-07-19 13:13:03,296 - call returned (0, '1011') 2018-07-19 13:13:03,297 - Execute['/var/lib/ambari-agent/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase 1011'] {'not_if': '(test $(id -u hbase) -gt 1000) || (false)'} 2018-07-19 13:13:03,304 - Skipping Execute['/var/lib/ambari-agent/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase 1011'] due to not_if 2018-07-19 13:13:03,304 - Group['hdfs'] {} 2018-07-19 13:13:03,304 - User['hdfs'] {'fetch_nonlocal_groups': True, 'groups': ['hdfs', u'hdfs']} 2018-07-19 13:13:03,305 - FS Type: 2018-07-19 13:13:03,305 - Directory['/etc/hadoop'] {'mode': 0755} 2018-07-19 13:13:03,324 - File['/usr/hdp/2.6.4.0-91/hadoop/conf/hadoop-env.sh'] {'content': InlineTemplate(...), 'owner': 'hdfs', 'group': 'hadoop'} 2018-07-19 13:13:03,341 - Directory['/var/lib/ambari-agent/tmp/hadoop_java_io_tmpdir'] {'owner': 'hdfs', 'group': 'hadoop', 'mode': 01777} 2018-07-19 13:13:03,359 - Execute[('setenforce', '0')] {'not_if': '(! which getenforce ) || (which getenforce && getenforce | grep -q Disabled)', 'sudo': True, 'only_if': 'test -f /selinux/enforce'} 2018-07-19 13:13:03,366 - Skipping Execute[('setenforce', '0')] due to not_if 2018-07-19 13:13:03,366 - Directory['/var/log/hadoop'] {'owner': 'root', 'create_parents': True, 'group': 'hadoop', 'mode': 0775, 'cd_access': 'a'} 2018-07-19 13:13:03,383 - Directory['/var/run/hadoop'] {'owner': 'root', 'create_parents': True, 'group': 'root', 'cd_access': 'a'} 2018-07-19 13:13:03,384 - Directory['/tmp/hadoop-hdfs'] {'owner': 'hdfs', 'create_parents': True, 'cd_access': 'a'} 2018-07-19 13:13:03,401 - File['/usr/hdp/2.6.4.0-91/hadoop/conf/commons-logging.properties'] {'content': Template('commons-logging.properties.j2'), 'owner': 'hdfs'} 2018-07-19 13:13:03,403 - File['/usr/hdp/2.6.4.0-91/hadoop/conf/health_check'] {'content': Template('health_check.j2'), 'owner': 'hdfs'} 2018-07-19 13:13:03,410 - File['/usr/hdp/2.6.4.0-91/hadoop/conf/log4j.properties'] {'content': InlineTemplate(...), 'owner': 'hdfs', 'group': 'hadoop', 'mode': 0644} 2018-07-19 13:13:03,422 - File['/usr/hdp/2.6.4.0-91/hadoop/conf/hadoop-metrics2.properties'] {'content': InlineTemplate(...), 'owner': 'hdfs', 'group': 'hadoop'} 2018-07-19 13:13:03,423 - File['/usr/hdp/2.6.4.0-91/hadoop/conf/task-log4j.properties'] {'content': StaticFile('task-log4j.properties'), 'mode': 0755} 2018-07-19 13:13:03,423 - File['/usr/hdp/2.6.4.0-91/hadoop/conf/configuration.xsl'] {'owner': 'hdfs', 'group': 'hadoop'} 2018-07-19 13:13:03,445 - File['/etc/hadoop/conf/topology_mappings.data'] {'owner': 'hdfs', 'content': Template('topology_mappings.data.j2'), 'only_if': 'test -d /etc/hadoop/conf', 'group': 'hadoop', 'mode': 0644} 2018-07-19 13:13:03,461 - File['/etc/hadoop/conf/topology_script.py'] {'content': StaticFile('topology_script.py'), 'only_if': 'test -d /etc/hadoop/conf', 'mode': 0755} 2018-07-19 13:13:03,842 - Using hadoop conf dir: /usr/hdp/2.6.4.0-91/hadoop/conf 2018-07-19 13:13:03,846 - Stack Feature Version Info: Cluster Stack=2.6, Command Stack=None, Command Version=2.6.4.0-91 -> 2.6.4.0-91 2018-07-19 13:13:03,846 - call['ambari-python-wrap /usr/bin/hdp-select status hadoop-yarn-resourcemanager'] {'timeout': 20} 2018-07-19 13:13:03,871 - call returned (0, 'hadoop-yarn-resourcemanager - 2.6.4.0-91') 2018-07-19 13:13:03,905 - Using hadoop conf dir: /usr/hdp/2.6.4.0-91/hadoop/conf 2018-07-19 13:13:03,921 - Stack Feature Version Info: Cluster Stack=2.6, Command Stack=None, Command Version=2.6.4.0-91 -> 2.6.4.0-91 2018-07-19 13:13:03,928 - Directory['/var/log/hadoop-yarn/nodemanager/recovery-state'] {'owner': 'yarn', 'group': 'hadoop', 'create_parents': True, 'mode': 0755, 'cd_access': 'a'} 2018-07-19 13:13:03,930 - Directory['/var/run/hadoop-yarn'] {'owner': 'yarn', 'create_parents': True, 'group': 'hadoop', 'cd_access': 'a'} 2018-07-19 13:13:03,930 - Directory['/var/run/hadoop-yarn/yarn'] {'owner': 'yarn', 'create_parents': True, 'group': 'hadoop', 'cd_access': 'a'} 2018-07-19 13:13:03,931 - Directory['/var/log/hadoop-yarn/yarn'] {'owner': 'yarn', 'group': 'hadoop', 'create_parents': True, 'cd_access': 'a'} 2018-07-19 13:13:03,931 - Directory['/var/run/hadoop-mapreduce'] {'owner': 'mapred', 'create_parents': True, 'group': 'hadoop', 'cd_access': 'a'} 2018-07-19 13:13:03,932 - Directory['/var/run/hadoop-mapreduce/mapred'] {'owner': 'mapred', 'create_parents': True, 'group': 'hadoop', 'cd_access': 'a'} 2018-07-19 13:13:03,932 - Directory['/var/log/hadoop-mapreduce'] {'owner': 'mapred', 'create_parents': True, 'group': 'hadoop', 'cd_access': 'a'} 2018-07-19 13:13:03,933 - Directory['/var/log/hadoop-mapreduce/mapred'] {'owner': 'mapred', 'group': 'hadoop', 'create_parents': True, 'cd_access': 'a'} 2018-07-19 13:13:03,933 - Directory['/var/log/hadoop-yarn'] {'owner': 'yarn', 'group': 'hadoop', 'ignore_failures': True, 'create_parents': True, 'cd_access': 'a'} 2018-07-19 13:13:03,934 - XmlConfig['core-site.xml'] {'group': 'hadoop', 'conf_dir': '/usr/hdp/2.6.4.0-91/hadoop/conf', 'mode': 0644, 'configuration_attributes': {u'final': {u'fs.defaultFS': u'true'}}, 'owner': 'hdfs', 'configurations': ...} 2018-07-19 13:13:03,944 - Generating config: /usr/hdp/2.6.4.0-91/hadoop/conf/core-site.xml 2018-07-19 13:13:03,944 - File['/usr/hdp/2.6.4.0-91/hadoop/conf/core-site.xml'] {'owner': 'hdfs', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': 0644, 'encoding': 'UTF-8'} 2018-07-19 13:13:03,964 - XmlConfig['hdfs-site.xml'] {'group': 'hadoop', 'conf_dir': '/usr/hdp/2.6.4.0-91/hadoop/conf', 'mode': 0644, 'configuration_attributes': {u'final': {u'dfs.datanode.failed.volumes.tolerated': u'true', u'dfs.datanode.data.dir': u'true', u'dfs.namenode.name.dir': u'true', u'dfs.support.append': u'true', u'dfs.webhdfs.enabled': u'true'}}, 'owner': 'hdfs', 'configurations': ...} 2018-07-19 13:13:03,974 - Generating config: /usr/hdp/2.6.4.0-91/hadoop/conf/hdfs-site.xml 2018-07-19 13:13:03,974 - File['/usr/hdp/2.6.4.0-91/hadoop/conf/hdfs-site.xml'] {'owner': 'hdfs', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': 0644, 'encoding': 'UTF-8'} 2018-07-19 13:13:04,029 - XmlConfig['mapred-site.xml'] {'group': 'hadoop', 'conf_dir': '/usr/hdp/2.6.4.0-91/hadoop/conf', 'mode': 0644, 'configuration_attributes': {}, 'owner': 'yarn', 'configurations': ...} 2018-07-19 13:13:04,038 - Generating config: /usr/hdp/2.6.4.0-91/hadoop/conf/mapred-site.xml 2018-07-19 13:13:04,038 - File['/usr/hdp/2.6.4.0-91/hadoop/conf/mapred-site.xml'] {'owner': 'yarn', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': 0644, 'encoding': 'UTF-8'} 2018-07-19 13:13:04,078 - Changing owner for /usr/hdp/2.6.4.0-91/hadoop/conf/mapred-site.xml from 1009 to yarn 2018-07-19 13:13:04,079 - XmlConfig['yarn-site.xml'] {'group': 'hadoop', 'conf_dir': '/usr/hdp/2.6.4.0-91/hadoop/conf', 'mode': 0644, 'configuration_attributes': {}, 'owner': 'yarn', 'configurations': ...} 2018-07-19 13:13:04,088 - Generating config: /usr/hdp/2.6.4.0-91/hadoop/conf/yarn-site.xml 2018-07-19 13:13:04,088 - File['/usr/hdp/2.6.4.0-91/hadoop/conf/yarn-site.xml'] {'owner': 'yarn', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': 0644, 'encoding': 'UTF-8'} 2018-07-19 13:13:04,200 - Writing File['/usr/hdp/2.6.4.0-91/hadoop/conf/yarn-site.xml'] because contents don't match 2018-07-19 13:13:04,201 - XmlConfig['capacity-scheduler.xml'] {'group': 'hadoop', 'conf_dir': '/usr/hdp/2.6.4.0-91/hadoop/conf', 'mode': 0644, 'configuration_attributes': {}, 'owner': 'yarn', 'configurations': ...} 2018-07-19 13:13:04,210 - Generating config: /usr/hdp/2.6.4.0-91/hadoop/conf/capacity-scheduler.xml 2018-07-19 13:13:04,211 - File['/usr/hdp/2.6.4.0-91/hadoop/conf/capacity-scheduler.xml'] {'owner': 'yarn', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': 0644, 'encoding': 'UTF-8'} 2018-07-19 13:13:04,222 - Changing owner for /usr/hdp/2.6.4.0-91/hadoop/conf/capacity-scheduler.xml from 1007 to yarn 2018-07-19 13:13:04,223 - Directory['/hadoop/yarn/timeline'] {'owner': 'yarn', 'group': 'hadoop', 'create_parents': True, 'cd_access': 'a'} 2018-07-19 13:13:04,223 - Directory['/hadoop/yarn/timeline'] {'owner': 'yarn', 'group': 'hadoop', 'create_parents': True, 'cd_access': 'a'} 2018-07-19 13:13:04,224 - HdfsResource['/ats/done'] {'security_enabled': False, 'hadoop_bin_dir': '/usr/hdp/2.6.4.0-91/hadoop/bin', 'keytab': [EMPTY], 'dfs_type': '', 'default_fs': 'hdfs://horton', 'hdfs_resource_ignore_file': '/var/lib/ambari-agent/data/.hdfs_resource_ignore', 'hdfs_site': ..., 'kinit_path_local': 'kinit', 'principal_name': [EMPTY], 'user': 'hdfs', 'change_permissions_for_parents': True, 'owner': 'yarn', 'group': 'hadoop', 'hadoop_conf_dir': '/usr/hdp/2.6.4.0-91/hadoop/conf', 'type': 'directory', 'action': ['create_on_execute'], 'immutable_paths': [u'/mr-history/done', u'/app-logs', u'/tmp'], 'mode': 0755} 2018-07-19 13:13:04,227 - call['ambari-sudo.sh su hdfs -l -s /bin/bash -c 'curl -s '"'"'http://hortonmaster1.dev.dszn.cz:50070/jmx?qry=Hadoop:service=NameNode,name=FSNamesystem'"'"' 1>/tmp/tmpGP4wKN 2>/tmp/tmpEgL5h1''] {'quiet': False} 2018-07-19 13:13:04,282 - call returned (0, '') 2018-07-19 13:13:04,283 - call['ambari-sudo.sh su hdfs -l -s /bin/bash -c 'curl -s '"'"'http://hortonmaster2.dev.dszn.cz:50070/jmx?qry=Hadoop:service=NameNode,name=FSNamesystem'"'"' 1>/tmp/tmpbV2IdV 2>/tmp/tmpLHAI9r''] {'quiet': False} 2018-07-19 13:13:04,320 - call returned (0, '') 2018-07-19 13:13:04,322 - NameNode HA states: active_namenodes = [(u'nn1', 'hortonmaster1.dev.dszn.cz:50070')], standby_namenodes = [(u'nn2', 'hortonmaster2.dev.dszn.cz:50070')], unknown_namenodes = [] 2018-07-19 13:13:04,323 - call['ambari-sudo.sh su hdfs -l -s /bin/bash -c 'curl -s '"'"'http://hortonmaster1.dev.dszn.cz:50070/jmx?qry=Hadoop:service=NameNode,name=FSNamesystem'"'"' 1>/tmp/tmp8e5GAe 2>/tmp/tmpOYwD8y''] {'quiet': False} 2018-07-19 13:13:04,353 - call returned (0, '') 2018-07-19 13:13:04,354 - call['ambari-sudo.sh su hdfs -l -s /bin/bash -c 'curl -s '"'"'http://hortonmaster2.dev.dszn.cz:50070/jmx?qry=Hadoop:service=NameNode,name=FSNamesystem'"'"' 1>/tmp/tmpEVcA_X 2>/tmp/tmpac0y4k''] {'quiet': False} 2018-07-19 13:13:04,384 - call returned (0, '') 2018-07-19 13:13:04,386 - NameNode HA states: active_namenodes = [(u'nn1', 'hortonmaster1.dev.dszn.cz:50070')], standby_namenodes = [(u'nn2', 'hortonmaster2.dev.dszn.cz:50070')], unknown_namenodes = [] 2018-07-19 13:13:04,387 - call['ambari-sudo.sh su hdfs -l -s /bin/bash -c 'curl -sS -L -w '"'"'%{http_code}'"'"' -X GET '"'"'http://hortonmaster1.dev.dszn.cz:50070/webhdfs/v1/ats/done?op=GETFILESTATUS&user.name=hdfs'"'"' 1>/tmp/tmp0YBcT_ 2>/tmp/tmpcAlZCD''] {'logoutput': None, 'quiet': False} 2018-07-19 13:13:04,417 - call returned (0, '') 2018-07-19 13:13:04,419 - call['ambari-sudo.sh su hdfs -l -s /bin/bash -c 'curl -sS -L -w '"'"'%{http_code}'"'"' -X PUT '"'"'http://hortonmaster1.dev.dszn.cz:50070/webhdfs/v1/ats/done?op=SETPERMISSION&user.name=hdfs&permission=755'"'"' 1>/tmp/tmpL7je26 2>/tmp/tmpTDWkjG''] {'logoutput': None, 'quiet': False} 2018-07-19 13:13:04,450 - call returned (0, '')