I don't see the code in the Yarn where you calling the localizer?  Are you
solving the Yarn Jar issue by putting it into
$HADOOP_PREFIX/share/hadoop/common
instead of putting it on the classpath?  If it's only used my the main
class then it should be on the class path if it's needed by every container
then it needs to use the localizer API, see below.

http://hortonworks.com/blog/resource-localization-in-yarn-deep-dive/


On Wed, May 21, 2014 at 4:28 AM, Nizar <notifications@github.com> wrote:

> In README.md:
>
> > +# Build the application
> > +- Open config.yml, to configure the kafka producer, if you had installed kafka with default parameters then you don't have to change the config.yml, You can run the random producer like a single java program without using yarn by excuting gradle runRamdomProducer.
> > +
> > +- Execute gradle allInOne.
> > +
> > +# Run the application
> > +- Install Hodoop Yarn (details are here https://github.com/DemandCube/yarn-app)
> > +- Run Hadoop Yarn
> > +```
> > +$HADOOP_PREFIX/bin/hdfs namenode -format
> > +$HADOOP_PREFIX/sbin/hadoop-daemon.sh start namenode
> > +$HADOOP_PREFIX/sbin/hadoop-daemon.sh start datanode
> > +$HADOOP_PREFIX/sbin/yarn-daemon.sh start resourcemanager
> > +$HADOOP_PREFIX/sbin/yarn-daemon.sh start nodemanager
> > +```
> > +- Copy lib.zip and DemandSpike.jar from build/libs folder to hadoop folder
>
> only jcommander-1.35.jar will be copied to
> $HADOOP_PREFIX/share/hadoop/common because the hadoop client is using
> jcommanderto parse argument of the command, we can also add the
> jcommander-1.35.jar in the class path
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/DemandCube/DemandSpike/pull/2/files#r12891348>
> .
>



-- 
Steve Morin | Hacker, Entrepreneur, Startup Advisor
twitter.com/SteveMorin | stevemorin.com
*Live the dream start a startup. Make the world ... a better place.*