You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Vitaly Brodetskyi (JIRA)" <ji...@apache.org> on 2015/02/20 14:15:12 UTC
[jira] [Created] (AMBARI-9723) Added HiveMetastore failed to start
on secure cluster
Vitaly Brodetskyi created AMBARI-9723:
-----------------------------------------
Summary: Added HiveMetastore failed to start on secure cluster
Key: AMBARI-9723
URL: https://issues.apache.org/jira/browse/AMBARI-9723
Project: Ambari
Issue Type: Bug
Components: ambari-server
Affects Versions: 2.0.0
Reporter: Vitaly Brodetskyi
Assignee: Vitaly Brodetskyi
Priority: Critical
Fix For: 2.0.0
1.Go to secure cluster
2.Install Hive Metastore on some host
3.Try to start added Hive Metastore
{code}
2015-02-16 19:01:18,862 - Error while executing command 'start':
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 208, in execute
method(env)
File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py", line 54, in start
hive_service('metastore', action = 'start')
File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_service.py", line 55, in hive_service
Execute(hive_kinit_cmd, user=params.hive_user)
File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
self.env.run()
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 152, in run
self.run_action(resource, action)
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 118, in run_action
provider_action()
File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 276, in action_run
raise ex
Fail: Execution of '/usr/bin/kinit -kt /etc/security/keytabs/hive.service.keytab hive/c6402.ambari.apache.org@EXAMPLE.COM; ' returned 1. kinit: Keytab contains no suitable keys for hive/c6402.ambari.apache.org@EXAMPLE.COM while getting initial credentials
{code}
Looks like host - credentials mapping is wrong. In my case Hive Metastore originally was installed on c6402.ambari.apache.org. I got this fail when tried to install second one on c6401.ambari.apache.org
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)