How can I specify the HADOOP_HOME after I install hadoop 1.0.1 in ubuntu with deb intall file

StackOverflow https://stackoverflow.com/questions/10412176

문제

I have installed hadoop 1.0.1 in my ubuntu laptop by a deb install file. the hadoop files are install into different directories, eg: config file are installed into /etc/hadoop, but the bin files are installed into /usr/sbin. So how can I specifiy the HADOOP_HOME?

도움이 되었습니까?

해결책

HADOOP_HOME is the parent directory of the bin directory that holds the Hadoop scripts. see Getting started with Hadoop

다른 팁

I would not set HADOOP_HOME in this case. I am using 1.0.4 deb installation on Ubuntu as well, and the only *HOME I set is JAVA_HOME in /etc/hadoop/hadoop-env.sh

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top