SuccessChanges

Summary

  1. Stop Alluxio processes properly (details)
Commit 7963ba2132ad429e9ebd5249d9de77ce8da8be2b by noreply
Stop Alluxio processes properly
There are 3 main categories of fixes:
- Register shutdown hooks for all processes
- Make abstract worker implementation restartable in compliance with
`Server` interface
- Fix various resource disposal issues
Thse all together will prevent many gRPC level warnings.
pr-link: Alluxio/alluxio#10777 change-id:
cid-a586252d8866a23169d2028033e63d077aa2f842
The file was modifiedcore/server/worker/src/main/java/alluxio/worker/AlluxioWorkerProcess.java (diff)
The file was modifiedcore/server/worker/src/main/java/alluxio/worker/block/DefaultBlockWorker.java (diff)
The file was modifiedcore/server/worker/src/main/java/alluxio/worker/block/AsyncBlockRemover.java (diff)
The file was modifiedjob/server/src/main/java/alluxio/master/AlluxioJobMaster.java (diff)
The file was modifiedjob/server/src/main/java/alluxio/worker/AlluxioJobWorker.java (diff)
The file was modifiedcore/server/worker/src/main/java/alluxio/worker/block/BlockMasterSync.java (diff)
The file was modifiedjob/server/src/main/java/alluxio/worker/JobWorker.java (diff)
The file was modifiedcore/server/common/src/main/java/alluxio/worker/AbstractWorker.java (diff)
The file was modifiedcore/server/worker/src/main/java/alluxio/worker/AlluxioWorker.java (diff)
The file was modifiedcore/server/worker/src/main/java/alluxio/worker/SessionCleaner.java (diff)