You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by Rita Liu <cr...@gmail.com> on 2010/09/06 06:34:02 UTC
How to specify HADOOP_COMMON_HOME in hadoop-mapreduce trunk?
Hi :)
In the current hadoop-common trunk, bin/start-all.sh has been deprecated. In
order to start the cluster, we have to go to hadoop-hdfs trunk and
hadoop-mapred trunk and run bin/start-dfs.sh and bin/start-mapred,
separately. However, when I do so, I always get the error message "can't
find hadoop common". This problem can be solved if I export
HADOOP_COMMON_HOME to be hadoop-common trunk, but is there a way to
configure this environment variable so that I don't have to export
HADOOP_COMMON_HOME every time when I start the cluster?
Please help me if possible? Thank you very much!
-Rita :))
Re: How to specify HADOOP_COMMON_HOME in hadoop-mapreduce trunk?
Posted by Chaitanya Krishna <ch...@gmail.com>.
Rita,
I think this should be solved when you build a jar of hadoop common and
place it in the classpath (preferably in lib/, to maintain the notion of
putting all dependent jars in this folder) of mapreduce-trunk/hdfs-trunk.
Hope this helps.
Thanks,
Chaitanya
On Mon, Sep 6, 2010 at 10:04 AM, Rita Liu <cr...@gmail.com> wrote:
> Hi :)
>
> In the current hadoop-common trunk, bin/start-all.sh has been deprecated.
> In order to start the cluster, we have to go to hadoop-hdfs trunk and
> hadoop-mapred trunk and run bin/start-dfs.sh and bin/start-mapred,
> separately. However, when I do so, I always get the error message "can't
> find hadoop common". This problem can be solved if I export
> HADOOP_COMMON_HOME to be hadoop-common trunk, but is there a way to
> configure this environment variable so that I don't have to export
> HADOOP_COMMON_HOME every time when I start the cluster?
>
> Please help me if possible? Thank you very much!
> -Rita :))
>
>