2017-07-17 56 views

回答

0

資源管理器Cluster Applications API接受queue作爲過濾參數。不過,這個API只會顯示你當前的工作。對於已完成的作業,您需要查看作業歷史記錄服務器。作業歷史記錄服務器的Jobs API顯示已完成的作業,並且還支持queue作爲過濾參數。

curl JOB_HIST_URL/ws/v1/history/mapreduce/jobs?queue=QUEUENAME 

https://hadoop.apache.org/docs/stable/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/HistoryServerRest.html#Jobs_API

相關問題