Repository: falcon Updated Branches: refs/heads/master 9864f0013 -> 5869c0627
FALCON-1538 Prism status gives wrong info. Contributed by Praveen Adlakha. Project: http://git-wip-us.apache.org/repos/asf/falcon/repo Commit: http://git-wip-us.apache.org/repos/asf/falcon/commit/5869c062 Tree: http://git-wip-us.apache.org/repos/asf/falcon/tree/5869c062 Diff: http://git-wip-us.apache.org/repos/asf/falcon/diff/5869c062 Branch: refs/heads/master Commit: 5869c062769ad681559ebb0e6b256a4799622979 Parents: 9864f00 Author: Ajay Yadava <[email protected]> Authored: Tue Jan 19 17:25:18 2016 +0530 Committer: Ajay Yadava <[email protected]> Committed: Tue Jan 19 17:25:18 2016 +0530 ---------------------------------------------------------------------- CHANGES.txt | 2 ++ src/bin/service-status.sh | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/falcon/blob/5869c062/CHANGES.txt ---------------------------------------------------------------------- diff --git a/CHANGES.txt b/CHANGES.txt index 7fec9e1..d3834e1 100755 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -114,6 +114,8 @@ Proposed Release Version: 0.9 OPTIMIZATIONS BUG FIXES + FALCON-1538 Prism status gives wrong info(Praveen Adlakha via Ajay Yadava) + FALCON-1715 IllegalStateException in MetadataMappingService when entity is scheduled via native scheduler (Pallavi Rao) FALCON-1732 Folders not getting deleted after testing (Praveen Adlakha via Pallavi Rao) http://git-wip-us.apache.org/repos/asf/falcon/blob/5869c062/src/bin/service-status.sh ---------------------------------------------------------------------- diff --git a/src/bin/service-status.sh b/src/bin/service-status.sh index e1aff5e..0fe0fb1 100644 --- a/src/bin/service-status.sh +++ b/src/bin/service-status.sh @@ -35,9 +35,8 @@ APP_TYPE=$1 if [ -f $FALCON_PID_FILE ]; then if kill -0 `cat $FALCON_PID_FILE` > /dev/null 2>&1; then RESULT=$(${BASEDIR}/bin/falcon admin -status) - echo -n $RESULT - if [[ $RESULT == "*is running*" ]]; then - echo "$APP_TYPE process: `cat $FALCON_PID_FILE`" + if [[ $RESULT == *"is running"* ]]; then + echo "$APP_TYPE process is running with PID: `cat $FALCON_PID_FILE`" exit `cat $FALCON_PID_FILE` else exit -2
