Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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.
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB