hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd Lipcon <t...@cloudera.com>
Subject Re: Question on Streaming with RVM. Perhaps environment settings related.
Date Mon, 04 Apr 2011 17:26:04 GMT
Another way would be to set "mapred.child.env" in your Job configuration to
"PATH=$PATH:/path/to/rvm/bin"

-Todd

On Sat, Apr 2, 2011 at 7:37 AM, Allen Wittenauer
<awittenauer@linkedin.com>wrote:

>
> 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.
>



-- 
Todd Lipcon
Software Engineer, Cloudera

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message