Using ElasticJob may meet some distributed problem which is not easy to observe.

Because of developer cannot debug in production environment, ElasticJob provide dump command to export job runtime information for debugging.

For security reason, the information dumped had already mask sensitive information, it instead of real IP address to ip1, ip2

Open Listener Port

Using Java API please refer to Java API usage for more details. Using Spring please refer to Spring usage for more details.

Execute Dump

Dump to stdout

  1. echo "dump@jobName" | nc <job server IP address> 9888

Dump

Dump to file

  1. echo "dump@jobName" | nc <job server IP address> 9888 > job_debug.txt