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

Download Client Configs function results in an exception and error 500

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0
    • ambari-server

    Description

      Since Ambari 2.0, Download Client Configs function for any Service results in an exception and error 500.

      Clicking on any Service Action -> Download Client Configs results in an error instead of giving the confirmation prompt to save the client configs tar.gz file.

      Example:
      HDFS Client Configs
      Generation of HDFS Client configurations file has failed with 500 error:

      org.apache.ambari.server.controller.spi.SystemException: Execution of "ambari-python-wrap /var/lib/ambari-server/resources/stacks/stacks/BigInsights/4.0/services/HDFS/package/scripts/hdfs_client.py generate_configs /var/lib/ambari-server/tmp/HDFS_CLIENT-configuration.json /var/lib/ambari-server/resources/stacks/stacks/BigInsights/4.0/services/HDFS/package /var/lib/ambari-server/tmp/structured-out.json INFO /var/lib/ambari-server/tmp" returned 2. java.lang.Throwable: /usr/bin/python2.6: can't open file '/var/lib/ambari-server/resources/stacks/stacks/BigInsights/4.0/services/HDFS/package/scripts/hdfs_client.py': [Errno 2] No such file or directory

      Do you want to try again?

      This bug will only manifest if the stack being used does not make use of common-services.

      Attachments

        1. AMBARI-11827.patch
          2 kB
          Shantanu Mundkur
        2. AMBARI-11827.patch
          1 kB
          Vitaly Brodetskyi
        3. AMBARI-11827.patch
          5 kB
          Vitaly Brodetskyi

        Issue Links

          Activity

            People

              antndk Shantanu Mundkur
              antndk Shantanu Mundkur
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: