cdap.sh is very brittle and needs some refactoring

Description

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

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.

Details

Assignee

Reporter

Labels

Affects versions

Components

Priority

Created September 25, 2014 at 4:20 AM
Updated June 8, 2020 at 8:28 PM
Resolved June 8, 2020 at 8:28 PM