falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shwetha G S (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (FALCON-268) Checkstyle/Findbugs issues on FalconCLI
Date Fri, 17 Jan 2014 06:55:20 GMT

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

Shwetha G S edited comment on FALCON-268 at 1/17/14 6:54 AM:
-------------------------------------------------------------

We can check the output string from 
{noformat}
. ${BASEDIR}/bin/falcon admin -status
{noformat}
 to figure out if falcon is up or not. Use that to set the exit code in the script

On another note,     
{noformat}
if [ $? -eq 0 ]; then
        echo "$APP_TYPE process: `cat $FALCON_PID_FILE`"
        exit `cat $FALCON_PID_FILE`
{noformat}
This should exit with 0 to signify success


was (Author: shwethags):
We can check the output string from '. ${BASEDIR}/bin/falcon admin -status' to figure out
if falcon is up or not. Use that to set the exit code in the script

On another note,     
if [ $? -eq 0 ]; then
        echo "$APP_TYPE process: `cat $FALCON_PID_FILE`"
        exit `cat $FALCON_PID_FILE`
This should exit with 0 to signify success

> 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)

Mime
View raw message