[ https://issues.apache.org/jira/browse/AMBARI-20145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15883602#comment-15883602 ]
Hadoop QA commented on AMBARI-20145: ------------------------------------ {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12854570/AMBARI-20145-KafkaKerb-trunk_v2.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:red}-1 tests included{color}. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 core tests{color}. The patch passed unit tests in ambari-server. Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/10746//testReport/ Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/10746//console This message is automatically generated. > Restart Kafka broker failed after enabling kerberos with "kinit(v5): No such > file or directory while getting initial credentials" > --------------------------------------------------------------------------------------------------------------------------------- > > Key: AMBARI-20145 > URL: https://issues.apache.org/jira/browse/AMBARI-20145 > Project: Ambari > Issue Type: Bug > Components: ambari-admin > Affects Versions: 2.5.0 > Reporter: Kishor Ramakrishnan > Priority: Blocker > Labels: system_test > Fix For: 2.5.0 > > Attachments: AMBARI-20145-KafkaKerb-25_v2.patch, > AMBARI-20145-KafkaKerb-trunk_v2.patch > > > Restart Kafka broker failed after enabling kerberos with "kinit(v5): No such > file or directory while getting initial credentials" > Note : hdfs.headless.keytab is missing on the Kafka broker host keytabs > folder (/etc/security/keytabs) > Traceback (most recent call last): > File > "/var/lib/ambari-agent/cache/common-services/KAFKA/0.8.1/package/scripts/kafka_broker.py", > line 129, in <module> > KafkaBroker().execute() > File > "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", > line 280, in execute > method(env) > File > "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", > line 720, in restart > self.start(env, upgrade_type=upgrade_type) > File > "/var/lib/ambari-agent/cache/common-services/KAFKA/0.8.1/package/scripts/kafka_broker.py", > line 83, in start > setup_ranger_kafka() #Ranger Kafka Plugin related call > File > "/var/lib/ambari-agent/cache/common-services/KAFKA/0.8.1/package/scripts/setup_ranger_kafka.py", > line 41, in setup_ranger_kafka > recursive_chmod=True > File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", > line 155, in __init__ > self.env.run() > File > "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", > line 160, in run > self.run_action(resource, action) > File > "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", > line 124, in run_action > provider_action() > File > "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_resource.py", > line 459, in action_create_on_execute > self.action_delayed("create") > File > "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_resource.py", > line 456, in action_delayed > self.get_hdfs_resource_executor().action_delayed(action_name, self) > File > "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_resource.py", > line 240, in action_delayed > main_resource.kinit() > File > "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_resource.py", > line 487, in kinit > user=user > File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", > line 155, in __init__ > self.env.run() > File > "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", > line 160, in run > self.run_action(resource, action) > File > "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", > line 124, in run_action > provider_action() > File > "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", > line 273, in action_run > tries=self.resource.tries, try_sleep=self.resource.try_sleep) > File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", > line 70, in inner > result = function(command, **kwargs) > File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", > line 92, in checked_call > tries=tries, try_sleep=try_sleep) > File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", > line 140, in _call_wrapper > result = _call(command, **kwargs_copy) > File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", > line 293, in _call > raise ExecutionFailed(err_msg, code, out, err) > resource_management.core.exceptions.ExecutionFailed: Execution of > '/usr/bin/kinit -kt /etc/security/keytabs/hdfs.headless.keytab > h...@example.com' returned 1. ######## Hortonworks ############# > This is MOTD message, added for testing in qe infra > kinit(v5): No such file or directory while getting initial credentials -- This message was sent by Atlassian JIRA (v6.3.15#6346)