Re: How to set JVM arguments in Hadoop 0.23

2012-09-11 Thread Harsh J
Btw, you can also set a global JAVA_LIBRARY_PATH env-var containing your paths, and YARN will pick it up. On Wed, Sep 12, 2012 at 9:16 AM, Harsh J wrote: > Hi Shekhar, > > For YARN, try setting YARN_OPTS inside the yarn-env.sh. YARN scripts > do not reuse the hadoop-env.sh like the rest of the co

Re: How to set JVM arguments in Hadoop 0.23

2012-09-11 Thread Harsh J
Hi Shekhar, For YARN, try setting YARN_OPTS inside the yarn-env.sh. YARN scripts do not reuse the hadoop-env.sh like the rest of the components. The yarn-env.sh must reside in the YARN_CONF_DIR directory. Does this help? On Wed, Sep 12, 2012 at 8:07 AM, Shekhar Gupta wrote: > I am trying to tal

How to set JVM arguments in Hadoop 0.23

2012-09-11 Thread Shekhar Gupta
I am trying to talk to R from Resource Manager. To do that I have to set a VM argument -Djava.library.path=/Library/Frameworks/R.framework/Resources/library/rJava/jri/ I have tried to set this argument by adding following line in hadoop-env.sh export HADOOP_OPTS="-Djava.library.path=/Library/F