[
https://issues.apache.org/jira/browse/AMBARI-19941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15859576#comment-15859576
]
Hudson commented on AMBARI-19941:
---------------------------------
SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #6684 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/6684/])
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=10a0ba464bf1575775b09c2b9e1f210c8dfaf549])
* (edit) ambari-agent/src/test/python/resource_management/TestContentSources.py
* (edit) ambari-common/src/main/python/resource_management/core/source.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)