[
https://issues.apache.org/jira/browse/AMBARI-15460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15199790#comment-15199790
]
Hudson commented on AMBARI-15460:
---------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #4504 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/4504/])
AMBARI-15460. Download client configurations does not work (aonishuk)
(aonishuk:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=016ff398ac75844d1b0e14b190184308b3c90f26])
*
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProviderTest.java
*
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProvider.java
> Download client configurations does not work
> --------------------------------------------
>
> Key: AMBARI-15460
> URL: https://issues.apache.org/jira/browse/AMBARI-15460
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 2.2.2
>
> Attachments: AMBARI-15460.patch
>
>
> **STR**
> 1) Try to download HDFS client configurations
> **Result**
>
>
> 2016-03-16 11:53:39,160 - Using hadoop conf dir:
> /usr/hdp/current/hadoop-client/conf
> Traceback (most recent call last):
> File
> "/var/lib/ambari-server/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_client.py",
> line 120, in <module>
> HdfsClient().execute()
> File
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
> line 219, in execute
> method(env)
> File
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
> line 605, in generate_configs
> import params
> File
> "/var/lib/ambari-server/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params.py",
> line 25, in <module>
> from params_linux import *
> File
> "/var/lib/ambari-server/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params_linux.py",
> line 52, in <module>
> agent_stack_retry_on_unavailability =
> cbool(config["hostLevelParams"]["agent_stack_retry_on_unavailability"])
> File "/usr/lib/python2.6/site-packages/ambari_commons/str_utils.py",
> line 48, in cbool
> return bool(obj)
> File
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py",
> line 81, in __getattr__
> raise Fail("Configuration parameter '" + self.name + "' was not found
> in configurations dictionary!")
> resource_management.core.exceptions.Fail: Configuration parameter
> 'agent_stack_retry_on_unavailability' was not found in configurations
> dictionary!
>
> hostLevelParams/agent_stack_retry_on_unavailability is not set.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)