[
https://issues.apache.org/jira/browse/AMBARI-15715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15228152#comment-15228152
]
Hudson commented on AMBARI-15715:
---------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #4603 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/4603/])
AMBARI-15715 ASW send invalid requests for config groups. (ababiichuk)
(ababiichuk:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=598835003e036f7c72d61905cdeab3a0a63eb31d])
* ambari-web/test/controllers/wizard/step7_test.js
* ambari-web/app/controllers/wizard/step8_controller.js
* ambari-web/test/views/common/configs/service_configs_by_category_view_test.js
* ambari-web/app/utils/config.js
* ambari-web/test/controllers/wizard/step8_test.js
* ambari-web/app/controllers/wizard.js
* ambari-web/app/mixins/common/configs/configs_saver.js
* ambari-web/app/controllers/main/service/info/configs.js
* ambari-web/test/controllers/main/service/info/config_test.js
* ambari-web/app/mixins/main/service/configs/config_overridable.js
*
ambari-web/app/mixins/common/configs/config_with_override_recommendation_parser.js
* ambari-web/test/utils/config_test.js
* ambari-web/app/controllers/wizard/step7_controller.js
* ambari-web/app/views/common/configs/service_configs_by_category_view.js
> ASW send invalid requests for config groups
> -------------------------------------------
>
> Key: AMBARI-15715
> URL: https://issues.apache.org/jira/browse/AMBARI-15715
> Project: Ambari
> Issue Type: Bug
> Components: ambari-web
> Affects Versions: 2.4.0
> Reporter: Andrii Babiichuk
> Assignee: Andrii Babiichuk
> Fix For: 2.4.0
>
> Attachments: AMBARI-15715.patch
>
>
> There is a cluster with HDFS + ZK
> HDFS has 3 config groups (and 1 Default)
> Open ASW
> Select YARN + MR2
> Proceed to the step "Configure services"
> Create 1 group for YARN and 1 for MR2
> Proceed to "Install, Start and Test"
> ASW sends requests to create all config groups (even already created for
> HDFS).
> All this requests are failed (for existing groups and for new groups)
> Example with TEZ:
> {noformat}
> curl 'http://HOST:8080/api/v1/clusters/tdk/config_groups/TEZ_1234' -X PUT -H
> 'Pragma: no-cache' -H 'Origin: http://HOST:8080' -H 'Accept-Encoding: gzip,
> deflate, sdch' -H 'Accept-Language: en-US,en;q=0.8' -H 'X-Requested-By:
> X-Requested-By' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64)
> AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36' -H
> 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' -H 'Accept:
> application/json, text/javascript, */*; q=0.01' -H 'Cache-Control: no-cache'
> -H 'X-Requested-With: XMLHttpRequest' -H 'Connection: keep-alive' -H
> 'Referer: http://HOST:8080/' --data
> '[{"ConfigGroup":{"cluster_name":"tdk","group_name":"1234","tag":"TEZ","description":"","hosts":[],"desired_configs":[],"id":"TEZ_1234"}}]'
> --compressed
> {noformat}
> {noformat}
> {
> "status" : 400,
> "message" : "java.lang.NumberFormatException: For input string:
> \"TEZ_1234\""
> }
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)