ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-12237) FE: incorrect request for updating a config group
Date Wed, 01 Jul 2015 17:30:04 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-12237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14610676#comment-14610676
] 

Hudson commented on AMBARI-12237:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #3048 (See [https://builds.apache.org/job/Ambari-trunk-Commit/3048/])
AMBARI-12237. FE: incorrect request for updating a config group (onechiporenko) (onechiporenko:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=d118a57e7ac6d94775287d5268150ea3fccc83e2)
* ambari-web/test/controllers/main/host/details_test.js
* ambari-web/app/mixins/common/configs/configs_saver.js


> FE: incorrect request for updating a config group
> -------------------------------------------------
>
>                 Key: AMBARI-12237
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12237
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.1.0
>            Reporter: Oleg Nechiporenko
>            Assignee: Oleg Nechiporenko
>            Priority: Blocker
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-12237.patch
>
>
> STR:
> 1. Create HDFS config group name - h123, description - <123> Click Save
> 2. Add host. Click Save
> 3. Override property "Failed disk tolerance". Click "Save"
> Request fails with 405 Method Not Allowed
> Request
> {code}
> curl 'http://ambari-server:8080/api/v1/clusters/c1/config_groups/' -X PUT -H 'Cookie:
AMBARISESSIONID=qm4bxe12pzzkc8dhu75hqz5v' -H 'Accept-Encoding: gzip, deflate, sdch' -H 'Accept-Language:
ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4,uk;q=0.2' -H 'X-Requested-By: X-Requested-By' -H 'User-Agent:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/43.0.2357.81
Chrome/43.0.2357.81 Safari/537.36' -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8'
-H 'Accept: application/json, text/javascript, */*; q=0.01' -H 'X-Compress: null' -H 'X-Requested-With:
XMLHttpRequest' -H 'Connection: keep-alive' --data '[{"ConfigGroup":{"cluster_name":"c1","group_name":"h123","tag":"HDFS","description":"r>1","hosts":[{"host_name":"c6403.ambari.apache.org"}],"service_config_version_note":"","desired_configs":[{"type":"hdfs-site","tag":"version1435733165914","properties":{"dfs.datanode.failed.volumes.tolerated":"1"}}]}}]'
--compressed
> {code}
> UI Should call /api/v1/clusters/c1/config_groups/\{group_id\} , but not /api/v1/clusters/c1/config_groups/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message