ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-20361) Stack Upgrade tests fail during Hive Metastore restart due to missing hive-site.jceks file
Date Wed, 08 Mar 2017 15:58:38 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-20361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15901469#comment-15901469
] 

Jonathan Hurley commented on AMBARI-20361:
------------------------------------------

So far, nothing out of the ordinary here:

- During installation of HDP 2.5.3, we're seeding the new conf directory, including files
we don't manage:
{code}
2017-03-07 08:43:49,050 - Seeding versioned configuration directories for hive
2017-03-07 08:43:49,050 - Execute['ambari-sudo.sh  -H -E cp -R -p -v /usr/hdp/current/hive-client/conf/*
/etc/hive/2.5.3.0-37/0'] {'logoutput': True}
...
`/usr/hdp/current/hive-client/conf/conf.server/hive-site.jceks' -> `/etc/hive/2.5.3.0-37/0/conf.server/hive-site.jceks'
{code}

- The file referenced in the above error does exist:
{code}
[root@nat-yc-r6-ehss-ambari-api-hou-1-7 ~]# ll /usr/hdp/current/hive-metastore/conf/conf.server/hive-site.jceks
-rw-r-----. 1 cstm-hive hadoop 520 Mar  7 07:18 /usr/hdp/current/hive-metastore/conf/conf.server/hive-site.jceks
{code}

Initially, I suspect is has something to do with symlinks ... 

> Stack Upgrade tests fail during Hive Metastore restart due to missing hive-site.jceks
file
> ------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-20361
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20361
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.5.0
>            Reporter: Vivek Sharma
>            Assignee: Jonathan Hurley
>            Priority: Blocker
>              Labels: express_upgrade
>             Fix For: 2.5.0
>
>
> *STR*
> # Deploy HDP-2.5.0.0 with Ambari-2.5.x
> # Register HDP-2.6 version and install the bits
> # Start Express Upgrade
> *Result:*
> Failed with below error during restart of Hive Metastore:
> {code}
> Traceback (most recent call last):
>   File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py",
line 260, in <module>
>     HiveMetastore().execute()
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 313, in execute
>     method(env)
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 761, in restart
>     self.start(env, upgrade_type=upgrade_type)
>   File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py",
line 58, in start
>     self.configure(env)
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 116, in locking_configure
>     original_configure(obj, *args, **kw)
>   File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py",
line 74, in configure
>     hive(name = 'metastore')
>   File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89,
in thunk
>     return fn(*args, **kwargs)
>   File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py",
line 228, in hive
>     params.user_group
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/security_commons.py",
line 55, in update_credential_provider_path
>     content = StaticFile(src_provider_path)
>   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 123, in action_create
>     content = self._get_content()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
line 160, in _get_content
>     return content()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 52,
in __call__
>     return self.get_content()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 76,
in get_content
>     raise Fail("{0} Source file {1} is not found".format(repr(self), path))
> resource_management.core.exceptions.Fail: StaticFile('/usr/hdp/current/hive-metastore/conf/conf.server/hive-site.jceks')
Source file /usr/hdp/current/hive-metastore/conf/conf.server/hive-site.jceks is not found
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message