[ https://issues.apache.org/jira/browse/AMBARI-23785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmytro Grinenko updated AMBARI-23785: ------------------------------------- Status: Patch Available (was: In Progress) > Download client configs fails at Oozie client with AttributeError > ----------------------------------------------------------------- > > Key: AMBARI-23785 > URL: https://issues.apache.org/jira/browse/AMBARI-23785 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.7.0 > Reporter: Dmytro Grinenko > Assignee: Dmytro Grinenko > Priority: Blocker > Labels: pull-request-available > Fix For: 2.7.0 > > Time Spent: 10m > Remaining Estimate: 0h > > - Deploy cluster for ambari-270 and HDP-3.0 > - Download client configs for the cluster > - This fails with below error > {code} > { > status: 500, > message: "org.apache.ambari.server.controller.spi.SystemException: Execution > of "ambari-python-wrap > /var/lib/ambari-server/resources/stacks/HDP/3.0/services/OOZIE/package/scripts/oozie_client.py > generate_configs > /var/lib/ambari-server/data/tmp/OOZIE_CLIENT2729746438603000677-configuration.json > /var/lib/ambari-server/resources/stacks/HDP/3.0/services/OOZIE/package > /var/lib/ambari-server/data/tmp/structured-out.json INFO > /var/lib/ambari-server/data/tmp" returned 1. java.lang.Throwable: 2018-04-30 > 21:20:41,087 - Stack Feature Version Info: Cluster Stack=3.0, Command > Stack=None, Command Version=None -> 3.0 2018-04-30 21:20:41,109 - Using > hadoop conf dir: /usr/hdp/3.0.0.0-1279/hadoop/conf 2018-04-30 21:20:41,209 - > Directory['/var/lib/ambari-server/data/tmp'] \{'create_parents': True} > 2018-04-30 21:20:41,293 - XmlConfig['oozie-site.xml'] {} Traceback (most > recent call last): File > "/var/lib/ambari-server/resources/stacks/HDP/3.0/services/OOZIE/package/scripts/oozie_client.py", > line 74, in <module> OozieClient().execute() File > "/usr/lib/ambari-server/lib/resource_management/libraries/script/script.py", > line 353, in execute method(env) File > "/usr/lib/ambari-server/lib/resource_management/libraries/script/script.py", > line 1093, in generate_configs Directory(conf_tmp_dir, action="delete") File > "/usr/lib/ambari-server/lib/resource_management/core/base.py", line 166, in > __init__ self.env.run() File > "/usr/lib/ambari-server/lib/resource_management/core/environment.py", line > 160, in run self.run_action(resource, action) File > "/usr/lib/ambari-server/lib/resource_management/core/environment.py", line > 124, in run_action provider_action() File > "/usr/lib/ambari-server/lib/resource_management/libraries/providers/xml_config.py", > line 60, in action_create xml_config_dest_file_path = > os.path.join(xml_config_provider_config_dir, filename) File > "/usr/lib64/python2.7/posixpath.py", line 77, in join elif path == '' or > path.endswith('/'): AttributeError: 'NoneType' object has no attribute > 'endswith' " > } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)