hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 郭杰 <wantofly...@gmail.com>
Subject About LocalResource
Date Mon, 01 Apr 2013 06:26:55 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