cdap.sh is very brittle and needs some refactoring
Description
Release Notes
None
Activity
Show:

Sreevatsan Raman June 8, 2020 at 8:28 PM
Marking as Won't fix since the bug is too old/
Won't Fix
Pinned fields
Click on the next to a field label to start pinning.
Created September 25, 2014 at 4:20 AM
Updated June 8, 2020 at 8:28 PM
Resolved June 8, 2020 at 8:28 PM
The problem is in the way we start the process and then grep the logs for a message that says "Reactor started successfully". That was recently changed to "Application Server started successfully". Hence reactor comes up but the script never recognizes that and keeps waiting.
I fixed that by allowing arbitrary text before the "started successfully". This works because currently no other messages of that form appear in the cdap.log (they may be in cdap-debug.log).