mirror of
https://github.com/wassname/ray.git
synced 2026-07-09 19:25:42 +08:00
[Java] fix java/cleanup.sh (#2989)
Remove legacy-ray-related stuff from this script, and update temp file locations.
This commit is contained in:
committed by
Robert Nishihara
parent
18173dde26
commit
c5b8840193
+6
-10
@@ -1,10 +1,6 @@
|
||||
pkill -9 python
|
||||
pkill -9 local_scheduler
|
||||
pkill -9 plasma_manager
|
||||
pkill -9 plasma_store_server
|
||||
pkill -9 global_scheduler
|
||||
pkill -9 redis-server
|
||||
pkill -9 redis
|
||||
pkill -9 raylet
|
||||
ps aux | grep ray | awk '{system("kill "$2);}'
|
||||
rm /tmp/raylet*
|
||||
# Stop backend processes
|
||||
ray stop
|
||||
# Kill Java workers
|
||||
ps aux | grep DefaultWorker | grep -v grep | awk '{print $2}' | xargs kill -9
|
||||
# Remove temp files
|
||||
rm -rf /tmp/ray
|
||||
|
||||
Reference in New Issue
Block a user