Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> About LocalResource

Copy link to this message
About LocalResource

  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