ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (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 05:47:13 GMT

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

Hadoop QA commented on AMBARI-8784:
-----------------------------------

{color:green}+1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12687958/AMBARI-8784.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new or modified
test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in ambari-server.

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/993//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/993//console

This message is automatically generated.

> 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