You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Jens Rabe (JIRA)" <ji...@apache.org> on 2015/02/04 15:05:34 UTC
[jira] [Created] (YARN-3135) There should be an easier way to
submit Java-based YARN applications
Jens Rabe created YARN-3135:
-------------------------------
Summary: There should be an easier way to submit Java-based YARN applications
Key: YARN-3135
URL: https://issues.apache.org/jira/browse/YARN-3135
Project: Hadoop YARN
Issue Type: Improvement
Components: api
Reporter: Jens Rabe
Since YARN is designed to not only work with Java, it is quite difficult and cumbersome to correctly setup a YARN application. For Java-based ones, it should be easier; there should be something like the MR2 Job API. My proposal is the following:
# Have a basic Job / Application object, e.g. YarnApplication, which could be instantiated and configured the following:
{code:java}
final Configuration conf = ...
final YarnApplication app = YarnApplication.getInstance(conf);
app.setContainerClassName(MyContainer.class);
app.setJarByClass(MyContainer.class);
{code}
# There should be a means to send and receive messages between container and AppMaster
# The container should be able to report progress and state to the AppMaster
# Bonus: A simplified WebAppMaster should start a web application and have its URL automatically proxied when run
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)