Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A43A917611 for ; Wed, 11 Feb 2015 16:09:12 +0000 (UTC) Received: (qmail 92013 invoked by uid 500); 11 Feb 2015 16:09:12 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 91974 invoked by uid 500); 11 Feb 2015 16:09:12 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 91961 invoked by uid 99); 11 Feb 2015 16:09:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2015 16:09:12 +0000 Date: Wed, 11 Feb 2015 16:09:12 +0000 (UTC) From: "Andrew Onischuk (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (AMBARI-9567) Generation of HDFS/HIVE/HCAT/HBASE Client configurations file has failed with 500 error MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-9567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Onischuk resolved AMBARI-9567. ------------------------------------- Resolution: Fixed Committed to trunk > Generation of HDFS/HIVE/HCAT/HBASE Client configurations file has failed with 500 error > --------------------------------------------------------------------------------------- > > Key: AMBARI-9567 > URL: https://issues.apache.org/jira/browse/AMBARI-9567 > Project: Ambari > Issue Type: Bug > Reporter: Andrew Onischuk > Assignee: Andrew Onischuk > Fix For: 2.0.0 > > > **STR** > 1. navigate to service page/ hosts page > 2. download client configurations > **AR** > popup error message > > org.apache.ambari.server.controller.spi.SystemException: Execution of "ambari-python-wrap /var/lib/ambari-server/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_client.py generate_configs /var/lib/ambari-server/tmp/HDFS_CLIENT-configuration.json /var/lib/ambari-server/resources/common-services/HDFS/2.1.0.2.0/package /var/lib/ambari-server/tmp/structured-out.json INFO /var/lib/ambari-server/tmp" returned 1. java.lang.Throwable: 2015-02-09 17:30:02,456 - Error while executing command 'generate_configs': > Traceback (most recent call last): > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 184, in execute > method(env) > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 415, in generate_configs > import params > File "/var/lib/ambari-server/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params.py", line 344, in > repo_name = str(config['clusterName']) + '_hadoop' > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py", line 79, in __getattr__ > raise Fail("Configuration parameter '" + self.name + "' was not found in configurations dictionary!") > Fail: Configuration parameter 'clusterName' was not found in configurations dictionary! > 2015-02-09 17:30:02,456 - Error while executing command 'generate_configs': > Traceback (most recent call last): > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 184, in execute > method(env) > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 415, in generate_configs > import params > File "/var/lib/ambari-server/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params.py", line 344, in > repo_name = str(config['clusterName']) + '_hadoop' > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py", line 79, in __getattr__ > raise Fail("Configuration parameter '" + self.name + "' was not found in configurations dictionary!") > Fail: Configuration parameter 'clusterName' was not found in configurations dictionary! -- This message was sent by Atlassian JIRA (v6.3.4#6332)