You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Dmytro Grinenko (JIRA)" <ji...@apache.org> on 2017/01/25 13:19:26 UTC

[jira] [Updated] (AMBARI-19708) Exception in agent logs

     [ https://issues.apache.org/jira/browse/AMBARI-19708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmytro Grinenko updated AMBARI-19708:
-------------------------------------
    Attachment: AMBARI-19708.patch

> Exception in agent logs
> -----------------------
>
>                 Key: AMBARI-19708
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19708
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: trunk, 2.5.0
>            Reporter: Dmytro Grinenko
>            Assignee: Dmytro Grinenko
>            Priority: Critical
>             Fix For: trunk, 2.5.0
>
>         Attachments: AMBARI-19708.patch
>
>
> Noticed in agent log:
> {code}
> INFO 2017-01-24 21:02:48,335 PythonReflectiveExecutor.py:67 - Reflective command failed with exception:
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/ambari_agent/PythonReflectiveExecutor.py", line 59, in run_file
>     imp.load_source('__main__', script)
>   File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/webhcat_server.py", line 164, in <module>
>     WebHCatServer().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/webhcat_server.py", line 122, in security_status
>     {'hive-site.xml': FILE_TYPE_XML}))
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/security_commons.py", line 166, in get_params_from_filesystem
>     configuration = ET.parse(conf_dir + os.sep + config_file)
>   File "/usr/lib64/python2.6/xml/etree/ElementTree.py", line 862, in parse
>     tree.parse(source, parser)
>   File "/usr/lib64/python2.6/xml/etree/ElementTree.py", line 579, in parse
>     source = open(source, "rb")
> IOError: [Errno 13] Permission denied: '/usr/hdp/current/hive-client/conf/conf.server/hive-site.xml'
> {code}
> I think its the side effect of modifying the directory permission for {{conf.server}} for hive and then running as non-root.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)