简体   繁体   中英

how to find out driver process node for tasks running in spark in yarn-cluster mode

My spark is running in yarn cluster mode .When I submit a job , I want to find out which machine does the driver program locates in my cluster. It seems that I can only get the container location from the yarn web ui: 在此处输入图片说明

What can I do?

The Spark Web UI is launched on port 4040 of the driver node, so one way to find the driver's ip is to click on the logs link and search for 4040

A sample log line would be SparkUI: Bound SparkUI to 0.0.0.0, and started at http://10.100.0.117:4040 where 10.100.0.117 is the ip address of the driver node.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM