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

Hudson commented on AMBARI-19708:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #798 (See 
[https://builds.apache.org/job/Ambari-branch-2.5/798/])
AMBARI-19708. Exception in agent logs (Dmytro Grinenko via smohanty) (smohanty: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=cf8efb31163af2845121935bad853fd647bc61d5])
* (edit) 
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/webhcat_server.py


> 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)

Reply via email to