1. Improve error handling on creating Processes (details)
Commit ce1b26a7eb1f8b1f26251f38364f43f5700379d1 by bot
Improve error handling on creating Processes
It turns out that our process creation can be quite heavy and we may see
`java.lang.ExceptionInInitializerError` on constructors. Adding error
handling to match how we are doing with alluxio master and alluxio job
master on other processes.
Prior to this change, the reasons of a failed process (e.g., a worker)
may not be in `worker.log` but in `worker.out` instead, as the
`ExceptionInInitializerError` is treated as a JVM runtime exception not
logged. After this patch, users can tell the errors easier by looking at
`{worker,proxy,job_worker}.log` similar as how they can reason at
pr-link: Alluxio/alluxio#10546 change-id:
The file was modifiedcore/server/proxy/src/main/java/alluxio/proxy/ (diff)
The file was modifiedcore/server/worker/src/main/java/alluxio/worker/ (diff)
The file was modifiedjob/server/src/main/java/alluxio/worker/ (diff)