hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jie Guo <gfb...@motorola.com>
Subject About LocalResource
Date Thu, 28 Mar 2013 05:54:20 GMT

  I wrote a yarn application with two LocalResource, AppMaster.jar and
log4j.properties in hadoop-2.0.3-alpha.

 After several tries, I found I must set both $PWD and ./* in my CLASSPATH
 environment  params to load mainclass and log4j.properties. Since yarn
has created symlinks about two LocalResource, in my mind only './*' will be
ok.  Why did this happen?

btw, I picked a part of launch_container script to figure out why here.

ln -sf
ln -sf

View raw message