[
https://issues.apache.org/jira/browse/AMBARI-19941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15859560#comment-15859560
]
Hudson commented on AMBARI-19941:
---------------------------------
FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #939 (See
[https://builds.apache.org/job/Ambari-branch-2.5/939/])
AMBARI-19941. Hive start fails in non-root if agent previously ran as
(aonishuk:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=0ff74fc3161823522e7f8f4d3fd7ad076eead8b3])
* (edit) ambari-common/src/main/python/resource_management/core/source.py
* (edit) ambari-agent/src/test/python/resource_management/TestContentSources.py
> Hive start fails in non-root if agent previously ran as root
> ------------------------------------------------------------
>
> Key: AMBARI-19941
> URL: https://issues.apache.org/jira/browse/AMBARI-19941
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 2.5.0
>
> Attachments: AMBARI-19941.patch
>
>
> Traceback (most recent call last):
> File
> "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_client.py",
> line 68, in <module>
> HiveClient().execute()
> File
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
> line 313, in execute
> method(env)
> File
> "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_client.py",
> line 35, in install
> 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_client.py",
> line 43, in configure
> hive(name='client')
> 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 297, in hive
> mode = 0644,
> 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
> 51, in __call__
> return self.get_content()
> File
> "/usr/lib/python2.6/site-packages/resource_management/core/source.py", line
> 205, in get_content
> with open(filepath) as fp:
> IOError: [Errno 13] Permission denied:
> '/var/lib/ambari-agent/tmp/DBConnectionVerification.jar'
>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)