ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Grinenko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-19708) Exception in agent logs
Date Wed, 25 Jan 2017 11:49:26 GMT
Dmytro Grinenko created AMBARI-19708:
----------------------------------------

             Summary: 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


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)

Mime
View raw message