Support Questions
Find answers, ask questions, and share your expertise

Can we submit a Yarn job through REST ?

Rising Star
 
1 ACCEPTED SOLUTION

Accepted Solutions

@krajguru

You can't run MR or Tez jobs using the REST API. The YARN REST API is meant for developers of applications such as Distributed shell, MR and Tez, not for users who submit applications.

However for spark jobs on yarn REST api can be used as given here.

https://community.hortonworks.com/articles/28070/starting-spark-jobs-directly-via-yarn-rest-api.html

View solution in original post

1 REPLY 1

@krajguru

You can't run MR or Tez jobs using the REST API. The YARN REST API is meant for developers of applications such as Distributed shell, MR and Tez, not for users who submit applications.

However for spark jobs on yarn REST api can be used as given here.

https://community.hortonworks.com/articles/28070/starting-spark-jobs-directly-via-yarn-rest-api.html

View solution in original post