[
https://issues.apache.org/jira/browse/AMBARI-9723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14329079#comment-14329079
]
Hudson commented on AMBARI-9723:
--------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #1821 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/1821/])
AMBARI-9723. Added HiveMetastore failed to start on secure
cluster.(vbrodetskyi) (vbrodetskyi:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=4131254e42a11e5c4c385da2885d10b49402ba21)
* ambari-server/src/test/python/stacks/2.1/HIVE/test_hive_metastore.py
*
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params.py
* ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_metastore.py
* ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py
> 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
>
> Attachments: AMBARI-9723.patch
>
>
> 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/[email protected]; ' returned 1. kinit: Keytab
> contains no suitable keys for hive/[email protected] 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)