hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jens Rabe (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-3135) There should be an easier way to submit Java-based YARN applications
Date Wed, 04 Feb 2015 14:05:34 GMT
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)

Mime
View raw message