You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/05/10 15:05:00 UTC

[jira] [Commented] (AMBARI-23785) Download client configs fails at Oozie client with AttributeError

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

Hudson commented on AMBARI-23785:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #9219 (See [https://builds.apache.org/job/Ambari-trunk-Commit/9219/])
AMBARI-23785 Download client configs fails at Oozie client with (hapy.lestat: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=c9d506450d6b89fe9cf49bc0d6fba4770991daa7])
* (edit) ambari-server/src/main/java/org/apache/ambari/server/agent/StatusCommand.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProvider.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/agent/ExecutionCommand.java


> 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: 0.5h
>  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)