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

Shwetha G S commented on FALCON-268:
------------------------------------

You can remove the System.exit in FalconCLI, redirect output of admin -status 
cmd to a variable
{noformat}
. ${BASEDIR}/bin/falcon admin -status > result
{noformat}
Check the value of $result for a particular string - 'started' or 'not started' 
which implies if the service is up or not. Use this info to set the exit status 
of script


> Checkstyle/Findbugs issues on FalconCLI
> ---------------------------------------
>
>                 Key: FALCON-268
>                 URL: https://issues.apache.org/jira/browse/FALCON-268
>             Project: Falcon
>          Issue Type: Bug
>          Components: client
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>         Attachments: FALCON-268.patch
>
>
> Falcon doesn't build due to a checkstyle issue on FalconCLI.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to