[
https://issues.apache.org/jira/browse/MAPREDUCE-2719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13068802#comment-13068802
]
Sharad Agarwal commented on MAPREDUCE-2719:
-------------------------------------------
Two possible solutions:
1. Launch the shell command *directly* via NodeManager (NM).
This will however require special handling in ResourceManager (RM), as
currently all ApplicationMasters (AM) are expected to do the lifecycle
invocations (- register, heartbeat, unregister) to RM.
RM would require to be able to work with apps which do not do these lifecycle
invocations.
2. Have a java AM which will in turn launch the shell command.
Java AM will do the register, heartbeat, unregister to RM
No change/special logic in RM needed.
This is similar to the pipes/streaming mr job currently.
> MR-279: Write a shell command application
> -----------------------------------------
>
> Key: MAPREDUCE-2719
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-2719
> Project: Hadoop Map/Reduce
> Issue Type: New Feature
> Components: mrv2
> Reporter: Sharad Agarwal
>
> With nextgen hadoop (mrv2), it is simple to write non-MR applications. Write
> an AplicationMaster (also corresponding simple client), to submit and run a
> shell command application in the cluster.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira