[
https://issues.apache.org/jira/browse/AMBARI-19941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15859502#comment-15859502
]
Andrew Onischuk commented on AMBARI-19941:
------------------------------------------
{noformat}
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0
approved: 155 licence.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Ambari Views ...................................... SUCCESS [2.260s]
[INFO] Ambari Metrics Common ............................. SUCCESS [1.276s]
[INFO] Ambari Server ..................................... SUCCESS [1:17.705s]
[INFO] Ambari Agent ...................................... SUCCESS [20.961s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:43.318s
[INFO] Finished at: Thu Feb 09 14:57:13 EET 2017
[INFO] Final Memory: 79M/1181M
[INFO] ------------------------------------------------------------------------
{noformat}
> 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)