Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Can we submit a Yarn job through REST ?

Solved Go to solution
Highlighted

Can we submit a Yarn job through REST ?

Rising Star
 
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Can we submit a Yarn job through REST ?

@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

1 REPLY 1

Re: Can we submit a Yarn job through REST ?

@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