ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastian Toader (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (AMBARI-20145) Restart Kafka broker failed after enabling kerberos with "kinit(v5): No such file or directory while getting initial credentials"
Date Sat, 25 Feb 2017 09:20:44 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-20145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebastian Toader reassigned AMBARI-20145:
-----------------------------------------

    Assignee: Balázs Bence Sári

> 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
>            Assignee: Balázs Bence Sári
>            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 hdfs@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)

Mime
View raw message