stderr: 2019-07-02 09:23:31,164 - Could not determine stack version for component zookeeper-server by calling '/usr/bin/hdp-select status zookeeper-server > /tmp/tmpapqasX'. Return Code: 1, Output: . 2019-07-02 09:23:31,188 - The 'zookeeper-server' component did not advertise a version. This may indicate a problem with the component packaging. However, the stack-select tool was able to report a single version installed (3.1.0.0-78). This is the version that will be reported. 2019-07-02 09:23:32,583 - Could not determine stack version for component zookeeper-server by calling '/usr/bin/hdp-select status zookeeper-server > /tmp/tmpyYDeuU'. Return Code: 1, Output: . 2019-07-02 09:23:32,606 - The 'zookeeper-server' component did not advertise a version. This may indicate a problem with the component packaging. However, the stack-select tool was able to report a single version installed (3.1.0.0-78). This is the version that will be reported. Traceback (most recent call last): File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/ZOOKEEPER/package/scripts/zookeeper_server.py", line 138, in ZookeeperServer().execute() File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 352, in execute method(env) File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/ZOOKEEPER/package/scripts/zookeeper_server.py", line 56, in start zookeeper_service(action='start', upgrade_type=upgrade_type) File "/usr/lib/ambari-agent/lib/ambari_commons/os_family_impl.py", line 89, in thunk return fn(*args, **kwargs) File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/ZOOKEEPER/package/scripts/zookeeper_service.py", line 52, in zookeeper_service user=params.smokeuser File "/usr/lib/ambari-agent/lib/resource_management/core/base.py", line 166, in __init__ self.env.run() File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 160, in run self.run_action(resource, action) File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 124, in run_action provider_action() File "/usr/lib/ambari-agent/lib/resource_management/core/providers/system.py", line 263, in action_run returns=self.resource.returns) File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 72, in inner result = function(command, **kwargs) File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 102, in checked_call tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy, returns=returns) File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 150, in _call_wrapper result = _call(command, **kwargs_copy) File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 314, in _call raise ExecutionFailed(err_msg, code, out, err) resource_management.core.exceptions.ExecutionFailed: Execution of '/usr/bin/kinit -kt /etc/security/keytabs/smokeuser.headless.keytab ambari-qa-edtwinuat@MTN.CO.ZA;' returned 1. kinit: Client 'ambari-qa-edtwinuat@MTN.CO.ZA' not found in Kerberos database while getting initial credentials stdout: 2019-07-02 09:23:30,858 - Stack Feature Version Info: Cluster Stack=3.1, Command Stack=None, Command Version=3.1.0.0-78 -> 3.1.0.0-78 2019-07-02 09:23:30,878 - Using hadoop conf dir: /usr/hdp/3.1.0.0-78/hadoop/conf 2019-07-02 09:23:31,011 - Stack Feature Version Info: Cluster Stack=3.1, Command Stack=None, Command Version=3.1.0.0-78 -> 3.1.0.0-78 2019-07-02 09:23:31,017 - Using hadoop conf dir: /usr/hdp/3.1.0.0-78/hadoop/conf 2019-07-02 09:23:31,018 - Group['hdfs'] {} 2019-07-02 09:23:31,020 - Group['hadoop'] {} 2019-07-02 09:23:31,020 - Group['nifi'] {} 2019-07-02 09:23:31,020 - Group['users'] {} 2019-07-02 09:23:31,020 - User['zookeeper'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop'], 'uid': None} 2019-07-02 09:23:31,022 - User['ams'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop'], 'uid': None} 2019-07-02 09:23:31,023 - User['ambari-qa'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop', 'users'], 'uid': None} 2019-07-02 09:23:31,024 - User['hdfs'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hdfs', 'hadoop'], 'uid': None} 2019-07-02 09:23:31,025 - User['nifi'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['nifi'], 'uid': None} 2019-07-02 09:23:31,025 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555} 2019-07-02 09:23:31,027 - 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)'} 2019-07-02 09:23:31,032 - 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 2019-07-02 09:23:31,032 - Group['hdfs'] {} 2019-07-02 09:23:31,032 - User['hdfs'] {'fetch_nonlocal_groups': True, 'groups': ['hdfs', 'hadoop', u'hdfs']} 2019-07-02 09:23:31,033 - FS Type: HDFS 2019-07-02 09:23:31,033 - Directory['/etc/hadoop'] {'mode': 0755} 2019-07-02 09:23:31,049 - File['/usr/hdp/3.1.0.0-78/hadoop/conf/hadoop-env.sh'] {'content': InlineTemplate(...), 'owner': 'root', 'group': 'hadoop'} 2019-07-02 09:23:31,050 - Directory['/var/lib/ambari-agent/tmp/hadoop_java_io_tmpdir'] {'owner': 'hdfs', 'group': 'hadoop', 'mode': 01777} 2019-07-02 09:23:31,064 - Execute[('setenforce', '0')] {'not_if': '(! which getenforce ) || (which getenforce && getenforce | grep -q Disabled)', 'sudo': True, 'only_if': 'test -f /selinux/enforce'} 2019-07-02 09:23:31,072 - Skipping Execute[('setenforce', '0')] due to only_if 2019-07-02 09:23:31,072 - Directory['/var/log/hadoop'] {'owner': 'root', 'create_parents': True, 'group': 'hadoop', 'mode': 0775, 'cd_access': 'a'} 2019-07-02 09:23:31,074 - Directory['/var/run/hadoop'] {'owner': 'root', 'create_parents': True, 'group': 'root', 'cd_access': 'a'} 2019-07-02 09:23:31,075 - Directory['/var/run/hadoop/hdfs'] {'owner': 'hdfs', 'cd_access': 'a'} 2019-07-02 09:23:31,075 - Directory['/tmp/hadoop-hdfs'] {'owner': 'hdfs', 'create_parents': True, 'cd_access': 'a'} 2019-07-02 09:23:31,079 - File['/usr/hdp/3.1.0.0-78/hadoop/conf/commons-logging.properties'] {'content': Template('commons-logging.properties.j2'), 'owner': 'root'} 2019-07-02 09:23:31,081 - File['/usr/hdp/3.1.0.0-78/hadoop/conf/health_check'] {'content': Template('health_check.j2'), 'owner': 'root'} 2019-07-02 09:23:31,085 - File['/usr/hdp/3.1.0.0-78/hadoop/conf/log4j.properties'] {'content': InlineTemplate(...), 'owner': 'hdfs', 'group': 'hadoop', 'mode': 0644} 2019-07-02 09:23:31,096 - File['/usr/hdp/3.1.0.0-78/hadoop/conf/hadoop-metrics2.properties'] {'content': InlineTemplate(...), 'owner': 'hdfs', 'group': 'hadoop'} 2019-07-02 09:23:31,096 - File['/usr/hdp/3.1.0.0-78/hadoop/conf/task-log4j.properties'] {'content': StaticFile('task-log4j.properties'), 'mode': 0755} 2019-07-02 09:23:31,097 - File['/usr/hdp/3.1.0.0-78/hadoop/conf/configuration.xsl'] {'owner': 'hdfs', 'group': 'hadoop'} 2019-07-02 09:23:31,101 - 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} 2019-07-02 09:23:31,105 - File['/etc/hadoop/conf/topology_script.py'] {'content': StaticFile('topology_script.py'), 'only_if': 'test -d /etc/hadoop/conf', 'mode': 0755} 2019-07-02 09:23:31,108 - Skipping unlimited key JCE policy check and setup since the Java VM is not managed by Ambari 2019-07-02 09:23:31,164 - Could not determine stack version for component zookeeper-server by calling '/usr/bin/hdp-select status zookeeper-server > /tmp/tmpapqasX'. Return Code: 1, Output: . 2019-07-02 09:23:31,165 - call[('ambari-python-wrap', u'/usr/bin/hdp-select', 'versions')] {} 2019-07-02 09:23:31,188 - call returned (0, '3.1.0.0-78') 2019-07-02 09:23:31,188 - The 'zookeeper-server' component did not advertise a version. This may indicate a problem with the component packaging. However, the stack-select tool was able to report a single version installed (3.1.0.0-78). This is the version that will be reported. 2019-07-02 09:23:31,337 - Directory['/usr/hdp/current/zookeeper-server/conf'] {'owner': 'zookeeper', 'create_parents': True, 'group': 'hadoop'} 2019-07-02 09:23:31,343 - File['/usr/hdp/current/zookeeper-server/conf/zookeeper-env.sh'] {'owner': 'zookeeper', 'content': InlineTemplate(...), 'group': 'hadoop'} 2019-07-02 09:23:31,343 - Writing File['/usr/hdp/current/zookeeper-server/conf/zookeeper-env.sh'] because contents don't match 2019-07-02 09:23:31,348 - File['/usr/hdp/current/zookeeper-server/conf/zoo.cfg'] {'owner': 'zookeeper', 'content': Template('zoo.cfg.j2'), 'group': 'hadoop', 'mode': None} 2019-07-02 09:23:31,349 - File['/usr/hdp/current/zookeeper-server/conf/configuration.xsl'] {'owner': 'zookeeper', 'content': Template('configuration.xsl.j2'), 'group': 'hadoop', 'mode': None} 2019-07-02 09:23:31,350 - Directory['/var/run/zookeeper'] {'owner': 'zookeeper', 'create_parents': True, 'group': 'hadoop', 'mode': 0755} 2019-07-02 09:23:31,350 - Directory['/dtf/components/log/zookeeper'] {'owner': 'zookeeper', 'create_parents': True, 'group': 'hadoop', 'mode': 0755} 2019-07-02 09:23:31,351 - Directory['/dtf/components/hadoop/zookeeper'] {'owner': 'zookeeper', 'create_parents': True, 'group': 'hadoop', 'mode': 0755, 'cd_access': 'a'} 2019-07-02 09:23:31,351 - File['/dtf/components/hadoop/zookeeper/myid'] {'content': '1', 'mode': 0644} 2019-07-02 09:23:31,353 - Directory['/usr/lib/ambari-logsearch-logfeeder/conf'] {'create_parents': True, 'mode': 0755, 'cd_access': 'a'} 2019-07-02 09:23:31,353 - Generate Log Feeder config file: /usr/lib/ambari-logsearch-logfeeder/conf/input.config-zookeeper.json 2019-07-02 09:23:31,353 - File['/usr/lib/ambari-logsearch-logfeeder/conf/input.config-zookeeper.json'] {'content': Template('input.config-zookeeper.json.j2'), 'mode': 0644} 2019-07-02 09:23:31,356 - File['/usr/hdp/current/zookeeper-server/conf/log4j.properties'] {'content': InlineTemplate(...), 'owner': 'zookeeper', 'group': 'hadoop', 'mode': 0644} 2019-07-02 09:23:31,357 - File['/usr/hdp/current/zookeeper-server/conf/zookeeper_jaas.conf'] {'owner': 'zookeeper', 'content': Template('zookeeper_jaas.conf.j2'), 'group': 'hadoop', 'mode': None} 2019-07-02 09:23:31,358 - File['/usr/hdp/current/zookeeper-server/conf/zookeeper_client_jaas.conf'] {'owner': 'zookeeper', 'content': Template('zookeeper_client_jaas.conf.j2'), 'group': 'hadoop', 'mode': None} 2019-07-02 09:23:31,359 - File['/usr/hdp/current/zookeeper-server/conf/zoo_sample.cfg'] {'owner': 'zookeeper', 'group': 'hadoop'} 2019-07-02 09:23:31,360 - Execute['source /usr/hdp/current/zookeeper-server/conf/zookeeper-env.sh ; env ZOOCFGDIR=/usr/hdp/current/zookeeper-server/conf ZOOCFG=zoo.cfg /usr/hdp/current/zookeeper-server/bin/zkServer.sh start'] {'not_if': 'ls /var/run/zookeeper/zookeeper_server.pid >/dev/null 2>&1 && ps -p `cat /var/run/zookeeper/zookeeper_server.pid` >/dev/null 2>&1', 'user': 'zookeeper'} 2019-07-02 09:23:32,450 - Execute['/usr/bin/kinit -kt /etc/security/keytabs/smokeuser.headless.keytab ambari-qa-edtwinuat@MTN.CO.ZA;'] {'user': 'ambari-qa'} 2019-07-02 09:23:32,583 - Could not determine stack version for component zookeeper-server by calling '/usr/bin/hdp-select status zookeeper-server > /tmp/tmpyYDeuU'. Return Code: 1, Output: . 2019-07-02 09:23:32,584 - call[('ambari-python-wrap', u'/usr/bin/hdp-select', 'versions')] {} 2019-07-02 09:23:32,606 - call returned (0, '3.1.0.0-78') 2019-07-02 09:23:32,606 - The 'zookeeper-server' component did not advertise a version. This may indicate a problem with the component packaging. However, the stack-select tool was able to report a single version installed (3.1.0.0-78). This is the version that will be reported. Command failed after 1 tries