Spark: Monitoring a cluster mode application

前端 未结 2 1415
春和景丽
春和景丽 2021-01-22 17:33

Right now I\'m using spark-submit to launch an application in cluster mode. The response from the master server gives a json object with a submissionId which I use to identify

2条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-22 18:00

    Had to scrape the spark master web ui for an application id that's close (within the same minute & same suffix e.g. 20161010025XXX-0005 with X as wildcard), then look for the worker url in the link tag after it. Not pretty, reliable, or secure, but for now it'll work. Leaving open for a bit in case someone has another approach.

提交回复
热议问题