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-8784) Unable To Move Manual Task From HOLDING to COMPLETED Via API
Date Thu, 18 Dec 2014 16:19:13 GMT

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

Hudson commented on AMBARI-8784:
--------------------------------

FAILURE: Integrated in Ambari-trunk-Commit-docker #529 (See [https://builds.apache.org/job/Ambari-trunk-Commit-docker/529/])
AMBARI-8784 - Unable To Move Manual Task From HOLDING to COMPLETED Via API (tbeerbower) (tbeerbower:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=8dba77e8b50b1189790c9000089fce160d4073a3)
* ambari-server/src/main/resources/key_properties.json
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeItemResourceProvider.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/StageResourceProvider.java


> Unable To Move Manual Task From HOLDING to COMPLETED Via API
> ------------------------------------------------------------
>
>                 Key: AMBARI-8784
>                 URL: https://issues.apache.org/jira/browse/AMBARI-8784
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Tom Beerbower
>            Assignee: Tom Beerbower
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-8784.patch
>
>
> Create a manual upgrade task via the upgrade pack, the result stage/task combination
that's created in the database cannot be updated via the upgrade_items endpoint.
> {noformat}
> GET http://localhost:8080/api/v1/clusters/c1/upgrades/26/upgrade_groups/19/upgrade_items/1/tasks/614
> {
>   "href" : "http://localhost:8080/api/v1/clusters/c1/upgrades/26/upgrade_groups/19/upgrade_items/1/tasks/614",
>   "Tasks" : {
>     "attempt_cnt" : 1,
>     "cluster_name" : "c1",
>     "command" : "EXECUTE",
>     "command_detail" : "AMBARI_SERVER_ACTION EXECUTE",
>     "end_time" : -1,
>     "error_log" : "/var/lib/ambari-agent/data/errors-614.txt",
>     "exit_code" : 0,
>     "host_name" : "c6403.ambari.apache.org",
>     "id" : 614,
>     "output_log" : "/var/lib/ambari-agent/data/output-614.txt",
>     "request_id" : 26,
>     "role" : "AMBARI_SERVER_ACTION",
>     "stage_id" : 1,
>     "start_time" : 1418838183777,
>     "status" : "HOLDING",
>     "stderr" : "",
>     "stdout" : "",
>     "structured_out" : { }
>   }
> }
> {noformat}
> {noformat}
> PUT http://localhost:8080/api/v1/clusters/c1/upgrades/26/upgrade_groups/19/upgrade_items/1/tasks/614
> {
>   "UpgradeItem" : {
>     "status" : "COMPLETED"
>   }
> }
> 404 Method Not Allowed
> PUT  http://localhost:8080/api/v1/clusters/c1/upgrades/26/upgrade_groups/19/upgrade_items/1
> {
>   "UpgradeItem" : {
>     "status" : "COMPLETED"
>   }
> }
> 404 Method Not Allowed
> PUT http://localhost:8080/api/v1/clusters/c1/requests/26/stages/1
> {
>   "Stage" : {
>     "status" : "COMPLETED"
>   }
> }
> HTTP 200
> {noformat}



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

Mime
View raw message