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

Switch to Threaded View
Hadoop >> mail # user >> Question on Streaming with RVM. Perhaps environment settings related.


Copy link to this message
-
Re: Question on Streaming with RVM. Perhaps environment settings related.

On Apr 1, 2011, at 9:47 PM, Guang-Nan Cheng wrote:
>
> The problem is MapRed process seems can't load RVM. I added
> /etc/profile.d/rvm.sh in hadoop-env.sh. But the script still fails due
> to the same error.

Add this to the .bashrc:

[ -x /etc/profile ] && . /etc/profile

and make sure /etc/profile is executable.