2018-01-23 06:40:50,180 - Stack Feature Version Info: Cluster Stack=2.6, Command Stack=None, Command Version=2.6.4.0-91 -> 2.6.4.0-91 2018-01-23 06:40:50,199 - Using hadoop conf dir: /usr/hdp/2.6.4.0-91/hadoop/conf 2018-01-23 06:40:50,451 - Stack Feature Version Info: Cluster Stack=2.6, Command Stack=None, Command Version=2.6.4.0-91 -> 2.6.4.0-91 2018-01-23 06:40:50,458 - Using hadoop conf dir: /usr/hdp/2.6.4.0-91/hadoop/conf 2018-01-23 06:40:50,459 - Group['livy'] {} 2018-01-23 06:40:50,461 - Group['spark'] {} 2018-01-23 06:40:50,461 - Group['hdfs'] {} 2018-01-23 06:40:50,461 - Group['hadoop'] {} 2018-01-23 06:40:50,461 - Group['users'] {} 2018-01-23 06:40:50,462 - User['hive'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2018-01-23 06:40:50,464 - User['livy'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2018-01-23 06:40:50,465 - User['zookeeper'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2018-01-23 06:40:50,466 - User['spark'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2018-01-23 06:40:50,467 - User['ams'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2018-01-23 06:40:50,469 - User['ambari-qa'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'users'], 'uid': None} 2018-01-23 06:40:50,470 - User['tez'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'users'], 'uid': None} 2018-01-23 06:40:50,471 - User['hdfs'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hdfs'], 'uid': None} 2018-01-23 06:40:50,472 - User['yarn'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2018-01-23 06:40:50,473 - User['hcat'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2018-01-23 06:40:50,475 - User['mapred'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2018-01-23 06:40:50,476 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555} 2018-01-23 06:40:50,478 - 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-01-23 06:40:50,496 - 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-01-23 06:40:50,497 - Group['hdfs'] {} 2018-01-23 06:40:50,498 - User['hdfs'] {'fetch_nonlocal_groups': True, 'groups': ['hdfs', u'hdfs']} 2018-01-23 06:40:50,498 - FS Type: 2018-01-23 06:40:50,499 - Directory['/etc/hadoop'] {'mode': 0755} 2018-01-23 06:40:50,516 - File['/usr/hdp/2.6.4.0-91/hadoop/conf/hadoop-env.sh'] {'content': InlineTemplate(...), 'owner': 'hdfs', 'group': 'hadoop'} 2018-01-23 06:40:50,517 - Directory['/var/lib/ambari-agent/tmp/hadoop_java_io_tmpdir'] {'owner': 'hdfs', 'group': 'hadoop', 'mode': 01777} 2018-01-23 06:40:50,540 - Execute[('setenforce', '0')] {'not_if': '(! which getenforce ) || (which getenforce && getenforce | grep -q Disabled)', 'sudo': True, 'only_if': 'test -f /selinux/enforce'} 2018-01-23 06:40:50,577 - Skipping Execute[('setenforce', '0')] due to only_if 2018-01-23 06:40:50,578 - Directory['/var/log/hadoop'] {'owner': 'root', 'create_parents': True, 'group': 'hadoop', 'mode': 0775, 'cd_access': 'a'} 2018-01-23 06:40:50,584 - Directory['/var/run/hadoop'] {'owner': 'root', 'create_parents': True, 'group': 'root', 'cd_access': 'a'} 2018-01-23 06:40:50,585 - Directory['/tmp/hadoop-hdfs'] {'owner': 'hdfs', 'create_parents': True, 'cd_access': 'a'} 2018-01-23 06:40:50,593 - File['/usr/hdp/2.6.4.0-91/hadoop/conf/commons-logging.properties'] {'content': Template('commons-logging.properties.j2'), 'owner': 'hdfs'} 2018-01-23 06:40:50,597 - File['/usr/hdp/2.6.4.0-91/hadoop/conf/health_check'] {'content': Template('health_check.j2'), 'owner': 'hdfs'} 2018-01-23 06:40:50,608 - File['/usr/hdp/2.6.4.0-91/hadoop/conf/log4j.properties'] {'content': InlineTemplate(...), 'owner': 'hdfs', 'group': 'hadoop', 'mode': 0644} 2018-01-23 06:40:50,623 - File['/usr/hdp/2.6.4.0-91/hadoop/conf/hadoop-metrics2.properties'] {'content': InlineTemplate(...), 'owner': 'hdfs', 'group': 'hadoop'} 2018-01-23 06:40:50,624 - File['/usr/hdp/2.6.4.0-91/hadoop/conf/task-log4j.properties'] {'content': StaticFile('task-log4j.properties'), 'mode': 0755} 2018-01-23 06:40:50,626 - File['/usr/hdp/2.6.4.0-91/hadoop/conf/configuration.xsl'] {'owner': 'hdfs', 'group': 'hadoop'} 2018-01-23 06:40:50,633 - 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-01-23 06:40:50,646 - File['/etc/hadoop/conf/topology_script.py'] {'content': StaticFile('topology_script.py'), 'only_if': 'test -d /etc/hadoop/conf', 'mode': 0755} 2018-01-23 06:40:51,201 - MariaDB RedHat Support: false 2018-01-23 06:40:51,206 - Using hadoop conf dir: /usr/hdp/2.6.4.0-91/hadoop/conf 2018-01-23 06:40:51,221 - call['ambari-python-wrap /usr/bin/hdp-select status hive-server2'] {'timeout': 20} 2018-01-23 06:40:51,273 - call returned (0, 'hive-server2 - 2.6.4.0-91') 2018-01-23 06:40:51,275 - Stack Feature Version Info: Cluster Stack=2.6, Command Stack=None, Command Version=2.6.4.0-91 -> 2.6.4.0-91 2018-01-23 06:40:51,340 - File['/var/lib/ambari-agent/cred/lib/CredentialUtil.jar'] {'content': DownloadSource('http://hdptst5:8080/resources/CredentialUtil.jar'), 'mode': 0755} 2018-01-23 06:40:51,343 - Not downloading the file from http://hdptst5:8080/resources/CredentialUtil.jar, because /var/lib/ambari-agent/tmp/CredentialUtil.jar already exists 2018-01-23 06:40:51,343 - checked_call[('/usr/jdk64/jdk1.8.0_112/bin/java', '-cp', u'/var/lib/ambari-agent/cred/lib/*', 'org.apache.ambari.server.credentialapi.CredentialUtil', 'get', 'javax.jdo.option.ConnectionPassword', '-provider', u'jceks://file/var/lib/ambari-agent/cred/conf/hive_metastore/hive-site.jceks')] {} 2018-01-23 06:40:52,233 - checked_call returned (0, 'SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".\nSLF4J: Defaulting to no-operation (NOP) logger implementation\nSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.\nJan 23, 2018 6:40:51 AM org.apache.hadoop.util.NativeCodeLoader \nWARNING: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable\nhive') 2018-01-23 06:40:52,259 - Stack Feature Version Info: Cluster Stack=2.6, Command Stack=None, Command Version=2.6.4.0-91 -> 2.6.4.0-91 2018-01-23 06:40:52,264 - Directory['/etc/hive'] {'mode': 0755} 2018-01-23 06:40:52,265 - Directories to fill with configs: [u'/usr/hdp/current/hive-metastore/conf', u'/usr/hdp/current/hive-metastore/conf/conf.server'] 2018-01-23 06:40:52,266 - Directory['/etc/hive/2.6.4.0-91/0'] {'owner': 'hive', 'group': 'hadoop', 'create_parents': True, 'mode': 0755} 2018-01-23 06:40:52,268 - XmlConfig['mapred-site.xml'] {'group': 'hadoop', 'conf_dir': '/etc/hive/2.6.4.0-91/0', 'mode': 0644, 'configuration_attributes': {}, 'owner': 'hive', 'configurations': ...} 2018-01-23 06:40:52,285 - Generating config: /etc/hive/2.6.4.0-91/0/mapred-site.xml 2018-01-23 06:40:52,285 - File['/etc/hive/2.6.4.0-91/0/mapred-site.xml'] {'owner': 'hive', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': 0644, 'encoding': 'UTF-8'} 2018-01-23 06:40:52,342 - File['/etc/hive/2.6.4.0-91/0/hive-default.xml.template'] {'owner': 'hive', 'group': 'hadoop', 'mode': 0644} 2018-01-23 06:40:52,342 - File['/etc/hive/2.6.4.0-91/0/hive-env.sh.template'] {'owner': 'hive', 'group': 'hadoop', 'mode': 0644} 2018-01-23 06:40:52,345 - File['/etc/hive/2.6.4.0-91/0/hive-exec-log4j.properties'] {'content': InlineTemplate(...), 'owner': 'hive', 'group': 'hadoop', 'mode': 0644} 2018-01-23 06:40:52,348 - File['/etc/hive/2.6.4.0-91/0/hive-log4j.properties'] {'content': InlineTemplate(...), 'owner': 'hive', 'group': 'hadoop', 'mode': 0644} 2018-01-23 06:40:52,349 - File['/etc/hive/2.6.4.0-91/0/parquet-logging.properties'] {'content': ..., 'owner': 'hive', 'group': 'hadoop', 'mode': 0644} 2018-01-23 06:40:52,350 - Directory['/etc/hive/2.6.4.0-91/0/conf.server'] {'owner': 'hive', 'group': 'hadoop', 'create_parents': True, 'mode': 0700} 2018-01-23 06:40:52,350 - Changing permission for /etc/hive/2.6.4.0-91/0/conf.server from 755 to 700 2018-01-23 06:40:52,350 - XmlConfig['mapred-site.xml'] {'group': 'hadoop', 'conf_dir': '/etc/hive/2.6.4.0-91/0/conf.server', 'mode': 0600, 'configuration_attributes': {}, 'owner': 'hive', 'configurations': ...} 2018-01-23 06:40:52,359 - Generating config: /etc/hive/2.6.4.0-91/0/conf.server/mapred-site.xml 2018-01-23 06:40:52,359 - File['/etc/hive/2.6.4.0-91/0/conf.server/mapred-site.xml'] {'owner': 'hive', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': 0600, 'encoding': 'UTF-8'} 2018-01-23 06:40:52,406 - Writing File['/etc/hive/2.6.4.0-91/0/conf.server/mapred-site.xml'] because it doesn't exist 2018-01-23 06:40:52,406 - Changing owner for /etc/hive/2.6.4.0-91/0/conf.server/mapred-site.xml from 0 to hive 2018-01-23 06:40:52,406 - Changing group for /etc/hive/2.6.4.0-91/0/conf.server/mapred-site.xml from 0 to hadoop 2018-01-23 06:40:52,407 - Changing permission for /etc/hive/2.6.4.0-91/0/conf.server/mapred-site.xml from 644 to 600 2018-01-23 06:40:52,407 - File['/etc/hive/2.6.4.0-91/0/conf.server/hive-default.xml.template'] {'owner': 'hive', 'group': 'hadoop', 'mode': 0600} 2018-01-23 06:40:52,407 - Writing File['/etc/hive/2.6.4.0-91/0/conf.server/hive-default.xml.template'] because it doesn't exist 2018-01-23 06:40:52,408 - Changing owner for /etc/hive/2.6.4.0-91/0/conf.server/hive-default.xml.template from 0 to hive 2018-01-23 06:40:52,408 - Changing group for /etc/hive/2.6.4.0-91/0/conf.server/hive-default.xml.template from 0 to hadoop 2018-01-23 06:40:52,408 - Changing permission for /etc/hive/2.6.4.0-91/0/conf.server/hive-default.xml.template from 644 to 600 2018-01-23 06:40:52,408 - File['/etc/hive/2.6.4.0-91/0/conf.server/hive-env.sh.template'] {'owner': 'hive', 'group': 'hadoop', 'mode': 0600} 2018-01-23 06:40:52,408 - Writing File['/etc/hive/2.6.4.0-91/0/conf.server/hive-env.sh.template'] because it doesn't exist 2018-01-23 06:40:52,409 - Changing owner for /etc/hive/2.6.4.0-91/0/conf.server/hive-env.sh.template from 0 to hive 2018-01-23 06:40:52,409 - Changing group for /etc/hive/2.6.4.0-91/0/conf.server/hive-env.sh.template from 0 to hadoop 2018-01-23 06:40:52,409 - Changing permission for /etc/hive/2.6.4.0-91/0/conf.server/hive-env.sh.template from 644 to 600 2018-01-23 06:40:52,411 - File['/etc/hive/2.6.4.0-91/0/conf.server/hive-exec-log4j.properties'] {'content': InlineTemplate(...), 'owner': 'hive', 'group': 'hadoop', 'mode': 0600} 2018-01-23 06:40:52,412 - Writing File['/etc/hive/2.6.4.0-91/0/conf.server/hive-exec-log4j.properties'] because it doesn't exist 2018-01-23 06:40:52,412 - Changing owner for /etc/hive/2.6.4.0-91/0/conf.server/hive-exec-log4j.properties from 0 to hive 2018-01-23 06:40:52,412 - Changing group for /etc/hive/2.6.4.0-91/0/conf.server/hive-exec-log4j.properties from 0 to hadoop 2018-01-23 06:40:52,412 - Changing permission for /etc/hive/2.6.4.0-91/0/conf.server/hive-exec-log4j.properties from 644 to 600 2018-01-23 06:40:52,415 - File['/etc/hive/2.6.4.0-91/0/conf.server/hive-log4j.properties'] {'content': InlineTemplate(...), 'owner': 'hive', 'group': 'hadoop', 'mode': 0600} 2018-01-23 06:40:52,415 - Writing File['/etc/hive/2.6.4.0-91/0/conf.server/hive-log4j.properties'] because it doesn't exist 2018-01-23 06:40:52,416 - Changing owner for /etc/hive/2.6.4.0-91/0/conf.server/hive-log4j.properties from 0 to hive 2018-01-23 06:40:52,416 - Changing group for /etc/hive/2.6.4.0-91/0/conf.server/hive-log4j.properties from 0 to hadoop 2018-01-23 06:40:52,416 - Changing permission for /etc/hive/2.6.4.0-91/0/conf.server/hive-log4j.properties from 644 to 600 2018-01-23 06:40:52,416 - File['/etc/hive/2.6.4.0-91/0/conf.server/parquet-logging.properties'] {'content': ..., 'owner': 'hive', 'group': 'hadoop', 'mode': 0600} 2018-01-23 06:40:52,417 - Writing File['/etc/hive/2.6.4.0-91/0/conf.server/parquet-logging.properties'] because it doesn't exist 2018-01-23 06:40:52,417 - Changing owner for /etc/hive/2.6.4.0-91/0/conf.server/parquet-logging.properties from 0 to hive 2018-01-23 06:40:52,417 - Changing group for /etc/hive/2.6.4.0-91/0/conf.server/parquet-logging.properties from 0 to hadoop 2018-01-23 06:40:52,417 - Changing permission for /etc/hive/2.6.4.0-91/0/conf.server/parquet-logging.properties from 644 to 600 2018-01-23 06:40:52,418 - File['/usr/hdp/current/hive-metastore/conf/conf.server/hive-site.jceks'] {'content': StaticFile('/var/lib/ambari-agent/cred/conf/hive_metastore/hive-site.jceks'), 'owner': 'hive', 'group': 'hadoop', 'mode': 0640} 2018-01-23 06:40:52,419 - Writing File['/usr/hdp/current/hive-metastore/conf/conf.server/hive-site.jceks'] because it doesn't exist 2018-01-23 06:40:52,419 - Changing owner for /usr/hdp/current/hive-metastore/conf/conf.server/hive-site.jceks from 0 to hive 2018-01-23 06:40:52,419 - Changing group for /usr/hdp/current/hive-metastore/conf/conf.server/hive-site.jceks from 0 to hadoop 2018-01-23 06:40:52,420 - Changing permission for /usr/hdp/current/hive-metastore/conf/conf.server/hive-site.jceks from 644 to 640 2018-01-23 06:40:52,420 - XmlConfig['hive-site.xml'] {'group': 'hadoop', 'conf_dir': '/usr/hdp/current/hive-metastore/conf/conf.server', 'mode': 0600, 'configuration_attributes': {u'hidden': {u'javax.jdo.option.ConnectionPassword': u'HIVE_CLIENT,WEBHCAT_SERVER,HCAT,CONFIG_DOWNLOAD'}}, 'owner': 'hive', 'configurations': ...} 2018-01-23 06:40:52,428 - Generating config: /usr/hdp/current/hive-metastore/conf/conf.server/hive-site.xml 2018-01-23 06:40:52,428 - File['/usr/hdp/current/hive-metastore/conf/conf.server/hive-site.xml'] {'owner': 'hive', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': 0600, 'encoding': 'UTF-8'} 2018-01-23 06:40:52,577 - Writing File['/usr/hdp/current/hive-metastore/conf/conf.server/hive-site.xml'] because it doesn't exist 2018-01-23 06:40:52,578 - Changing owner for /usr/hdp/current/hive-metastore/conf/conf.server/hive-site.xml from 0 to hive 2018-01-23 06:40:52,578 - Changing group for /usr/hdp/current/hive-metastore/conf/conf.server/hive-site.xml from 0 to hadoop 2018-01-23 06:40:52,578 - Changing permission for /usr/hdp/current/hive-metastore/conf/conf.server/hive-site.xml from 644 to 600 2018-01-23 06:40:52,578 - XmlConfig['hivemetastore-site.xml'] {'group': 'hadoop', 'conf_dir': '/usr/hdp/current/hive-metastore/conf/conf.server', 'mode': 0600, 'configuration_attributes': {}, 'owner': 'hive', 'configurations': {u'hive.service.metrics.hadoop2.component': u'hivemetastore', u'hive.metastore.metrics.enabled': u'true', u'hive.service.metrics.reporter': u'HADOOP2'}} 2018-01-23 06:40:52,587 - Generating config: /usr/hdp/current/hive-metastore/conf/conf.server/hivemetastore-site.xml 2018-01-23 06:40:52,587 - File['/usr/hdp/current/hive-metastore/conf/conf.server/hivemetastore-site.xml'] {'owner': 'hive', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': 0600, 'encoding': 'UTF-8'} 2018-01-23 06:40:52,590 - Writing File['/usr/hdp/current/hive-metastore/conf/conf.server/hivemetastore-site.xml'] because it doesn't exist 2018-01-23 06:40:52,591 - Changing owner for /usr/hdp/current/hive-metastore/conf/conf.server/hivemetastore-site.xml from 0 to hive 2018-01-23 06:40:52,591 - Changing group for /usr/hdp/current/hive-metastore/conf/conf.server/hivemetastore-site.xml from 0 to hadoop 2018-01-23 06:40:52,591 - Changing permission for /usr/hdp/current/hive-metastore/conf/conf.server/hivemetastore-site.xml from 644 to 600 2018-01-23 06:40:52,595 - File['/usr/hdp/current/hive-metastore/conf/conf.server/hive-env.sh'] {'content': InlineTemplate(...), 'owner': 'hive', 'group': 'hadoop', 'mode': 0600} 2018-01-23 06:40:52,596 - Writing File['/usr/hdp/current/hive-metastore/conf/conf.server/hive-env.sh'] because it doesn't exist 2018-01-23 06:40:52,596 - Changing owner for /usr/hdp/current/hive-metastore/conf/conf.server/hive-env.sh from 0 to hive 2018-01-23 06:40:52,596 - Changing group for /usr/hdp/current/hive-metastore/conf/conf.server/hive-env.sh from 0 to hadoop 2018-01-23 06:40:52,596 - Changing permission for /usr/hdp/current/hive-metastore/conf/conf.server/hive-env.sh from 644 to 600 2018-01-23 06:40:52,597 - Directory['/etc/security/limits.d'] {'owner': 'root', 'create_parents': True, 'group': 'root'} 2018-01-23 06:40:52,600 - File['/etc/security/limits.d/hive.conf'] {'content': Template('hive.conf.j2'), 'owner': 'root', 'group': 'root', 'mode': 0644} 2018-01-23 06:40:52,601 - Execute[('rm', '-f', u'/usr/hdp/current/hive-metastore/lib/ojdbc6.jar')] {'path': ['/bin', '/usr/bin/'], 'sudo': True} 2018-01-23 06:40:52,624 - File['/var/lib/ambari-agent/tmp/mysql-connector-java.jar'] {'content': DownloadSource('http://hdptst5:8080/resources//mysql-connector-java.jar')} 2018-01-23 06:40:52,624 - Downloading the file from http://hdptst5:8080/resources//mysql-connector-java.jar Command failed after 1 tries