[
https://issues.apache.org/jira/browse/BIGTOP-1337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14084974#comment-14084974
]
Manikandan Narayanaswamy commented on BIGTOP-1337:
--------------------------------------------------
Thanks Roman. I just got back from a vacation and hence the delay.
I've removed the modified files that currently are not present in BIGTOP. I've
applied the patch to my local BIGTOP repo and found that it worked fine. Could
you please take a look at the patch now.
I'll file a separate JIRA for backporting the changes that are not in BIGTOP.
> Logging success messages in service startup and shutdown only after
> verification.
> ---------------------------------------------------------------------------------
>
> Key: BIGTOP-1337
> URL: https://issues.apache.org/jira/browse/BIGTOP-1337
> Project: Bigtop
> Issue Type: Bug
> Affects Versions: 0.8.0
> Reporter: Manikandan Narayanaswamy
> Assignee: Roman Shaposhnik
> Labels: packaging
> Fix For: 0.8.0
>
> Attachments: BIGTOP-1337.patch
>
>
> Right now, it appears like we log success messages right at the beginning of
> the method call irrespective of whether the service was successfully stopped
> / started. In a scenario where the user issues "service serviceName start"
> and immediately sees a success message but, the service in reality has failed
> to start leads to some amount of confusion.
> The proposed change will only log success messages if the operation was
> actually successful.
--
This message was sent by Atlassian JIRA
(v6.2#6252)