You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/02/02 23:54:56 UTC

[jira] [Commented] (AMBARI-9417) Incorrect target hosts values allowable for moving HiveServer2 via service actions

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

Hudson commented on AMBARI-9417:
--------------------------------

FAILURE: Integrated in Ambari-trunk-Commit-docker #841 (See [https://builds.apache.org/job/Ambari-trunk-Commit-docker/841/])
AMBARI-9417. Incorrect target hosts values allowable for moving HiveServer2 via service actions (alexantonenko) (hiveww: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=326238b8444a1389100fb44f1107518bb49a64b6)
* ambari-web/app/templates/main/host/details/host_component.hbs
* ambari-web/test/controllers/main/service/reassign/step2_controller_test.js
* ambari-web/test/views/main/service/item_test.js
* ambari-web/app/views/main/service/item.js
* ambari-web/app/views/main/host/details/host_component_view.js
* ambari-web/app/controllers/main/service/reassign/step2_controller.js


> Incorrect target hosts values allowable for moving HiveServer2 via service actions
> ----------------------------------------------------------------------------------
>
>                 Key: AMBARI-9417
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9417
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.0.0
>            Reporter: Antonenko Alexander
>            Assignee: Antonenko Alexander
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-9417.patch, hs2-target-host-bug.jpg
>
>
> HiveServer2 is installed on 2 of 3 hosts in the cluster. After launching HiveServer2 Move Wizard from Hive service page, default target host for both components is the same one (see the screenshot atached). User is allowed to proceed nevertheless. Later, target host value is not passed, so Configure Component step fails because of 400 error on {{api/v1/clusters/<clusterName>/host_components?HostRoles/component_name=HIVE_SERVER&HostRoles/host_name.in()&fields=HostRoles/host_name&minimal_response=true}} GET request. Also, rollback fails with 404 error on {{api/v1/clusters/<clusterName>/hosts//host_components/HIVE_SERVER}} PUT request.
> Can be reproduced also if all hosts have HiveServer2 installed, both via host and service actions.



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