ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Grinenko (JIRA)" <>
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
             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:
INFO 2017-01-24 21:02:48,335 - Reflective command failed with
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/ambari_agent/", line 59,
in run_file
    imp.load_source('__main__', script)
  File "/var/lib/ambari-agent/cache/common-services/HIVE/",
line 164, in <module>
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/",
line 313, in execute
  File "/var/lib/ambari-agent/cache/common-services/HIVE/",
line 122, in security_status
    {'hive-site.xml': FILE_TYPE_XML}))
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/",
line 166, in get_params_from_filesystem
    configuration = ET.parse(conf_dir + os.sep + config_file)
  File "/usr/lib64/python2.6/xml/etree/", line 862, in parse
    tree.parse(source, parser)
  File "/usr/lib64/python2.6/xml/etree/", line 579, in parse
    source = open(source, "rb")
IOError: [Errno 13] Permission denied: '/usr/hdp/current/hive-client/conf/conf.server/hive-site.xml'

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

View raw message