[
https://issues.apache.org/jira/browse/AMBARI-7269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14130988#comment-14130988
]
Hudson commented on AMBARI-7269:
--------------------------------
FAILURE: Integrated in Ambari-trunk-Commit #225 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/225/])
AMBARI-7269. StackAdvisorResourceProvider ignores configurations with array
type values (sgunturi:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=59765552c48ec83ad2a54077dc00e69aecd85e8b)
*
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/StackAdvisorResourceProviderTest.java
*
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/StackAdvisorResourceProvider.java
* contrib/views/slider/src/main/resources/ui/app/styles/application.less
> StackAdvisorResourceProvider ignores configurations with array type values
> --------------------------------------------------------------------------
>
> Key: AMBARI-7269
> URL: https://issues.apache.org/jira/browse/AMBARI-7269
> Project: Ambari
> Issue Type: Task
> Components: ambari-server
> Affects Versions: 1.7.0
> Reporter: Srimanth Gunturi
> Assignee: Srimanth Gunturi
> Fix For: 1.7.0
>
> Attachments: AMBARI-7269.patch
>
>
> Steps to reproduce:
> # Do POST request with {{"storm.zookeeper.servers"}} having array value to
> {{/api/v1/stacks/HDP/versions/2.1/validations}}:
> {code}
> {
> "hosts": [
> "c6401.ambari.apache.org"
> ],
> "services": [
> "STORM"
> ],
> "validate": "configurations",
> "recommendations": {
> "blueprint": {
> "host_groups": [
> {
> "name": "host-group-1",
> "components": [
> {
> "name": "DRPC_SERVER"
> },
> {
> "name": "STORM_UI_SERVER"
> },
> {
> "name": "NIMBUS"
> },
> {
> "name": "STORM_REST_API"
> },
> {
> "name": "SUPERVISOR"
> }
> ]
> }
> ],
> "configurations": {
> "storm-site": {
> "properties": {
> "storm.zookeeper.servers": [
> "c6401.ambari.apache.org"
> ]
> }
> }
> }
> },
> "blueprint_cluster_binding": {
> "host_groups": [
> {
> "name": "host-group-1",
> "hosts": [
> {
> "fqdn": "c6401.ambari.apache.org"
> }
> ]
> }
> ]
> }
> }
> }
> {code}
> # Check generated {{services.json}} - it has no configurations:
> {code}
> [root@ambari ambari-server]# cat
> /var/run/ambari-server/stack-recommendations/2/services.json | grep
> '"configurations" : {' -A 4
> "configurations" : {
> "storm-site" : {
> "properties" : { }
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)