Shantanu Mundkur created AMBARI-11827:
-----------------------------------------

             Summary: Download Client Configs function results in an exception 
and error 500
                 Key: AMBARI-11827
                 URL: https://issues.apache.org/jira/browse/AMBARI-11827
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.0.0
            Reporter: Shantanu Mundkur
            Assignee: Shantanu Mundkur
             Fix For: 2.1.0


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to