Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-23785

Download client configs fails at Oozie client with AttributeError

    XMLWordPrintableJSON

Details

    Description

      • Deploy cluster for ambari-270 and HDP-3.0
      • Download client configs for the cluster
      • This fails with below error
        {
        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' "
        }
        

      Attachments

        Issue Links

          Activity

            People

              hapylestat Dmytro Grinenko
              hapylestat Dmytro Grinenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h