Skip to content

Commit

Permalink
ci: stop the pulsar service forcefully (#410)
Browse files Browse the repository at this point in the history
**Motivation**

I found that CI always failed, the following is CI log:
```
--- Stop the pulsar service ---
doing stop standalone ...
stopping standalone
Shutdown is in progress... Please wait...
...........
Shutdown is in progress... Please wait...
Thread dumps are taken for analysis at /pulsar/logs/standalone.out
WARNNING :  standalone is not stopped completely.
Error: Process completed with exit code 1.
````
so I add `-force` to `bin/pulsar-daemon stop standalone` for stop the pulsar service forcefully.
  • Loading branch information
nodece authored Aug 4, 2021
1 parent a4b13dc commit 36d2297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/pulsar-service-shutdown.sh
Original file line number Diff line number Diff line change
@@ -4,6 +4,6 @@ set -e
readonly PULSAR_HOME=${PULSAR_HOME:-"/pulsar"}
pushd ${PULSAR_HOME}
echo "--- Stop the pulsar service ---"
bin/pulsar-daemon stop standalone
bin/pulsar-daemon stop standalone -force
echo "--- Pulsar service is stopped ---"
popd

0 comments on commit 36d2297

Please sign in to comment.