[
https://issues.apache.org/jira/browse/AMBARI-11827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14600423#comment-14600423
]
Hudson commented on AMBARI-11827:
---------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #2994 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/2994/])
AMBARI-11827. Download Client Configs function results in an exception and
error 500.(Shantanu Mundkur via vbrodetskyi) (vbrodetskyi:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=81a55a541a5be38773f126f7e39b2516e9b81412)
*
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProvider.java
*
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProviderTest.java
> 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
> Labels: patch
> Fix For: 2.1.0
>
> Attachments: AMBARI-11827.patch, AMBARI-11827.patch,
> AMBARI-11827.patch
>
>
> 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)