You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Mahadev konar (JIRA)" <ji...@apache.org> on 2014/02/25 09:15:20 UTC
[jira] [Commented] (AMBARI-2475) Ambari bootstrap actions report
success even if a failure happened
[ https://issues.apache.org/jira/browse/AMBARI-2475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13911376#comment-13911376 ]
Mahadev konar commented on AMBARI-2475:
---------------------------------------
[~edrevo] any chance you can add a unit test? Not sure how much of it is covered in BootStrapTest.java but it will be good to add unit test for this. Other than that the patch looks good.
> Ambari bootstrap actions report success even if a failure happened
> ------------------------------------------------------------------
>
> Key: AMBARI-2475
> URL: https://issues.apache.org/jira/browse/AMBARI-2475
> Project: Ambari
> Issue Type: Bug
> Affects Versions: 1.3.0
> Reporter: Ximo Guanter
> Assignee: Ximo Guanter
> Fix For: 1.5.0
>
> Attachments: 1.patch
>
>
> Sometimes, bootstrap actions reports success even if it has failed host tasks:
> {code:xml}
> <bootStrapRequest>
> <status>SUCCESS</status>
> <hostsStatus>
> <hostName>andromeda54.hi.inet</hostName>
> <status>FAILED</status>
> <statusCode>1</statusCode>
> <log>
> [...]
> </log>
> </hostsStatus>
> <hostsStatus>
> <hostName>andromeda55.hi.inet</hostName>
> <status>FAILED</status>
> <statusCode>1</statusCode>
> <log>
> [...]
> </log>
> </hostsStatus>
> <log>
> [...]
> </log>
> </bootStrapRequest>
> {code}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)