Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

this QuickStart guide mentions configuring JAVA_HOME in This is supposed to be located in the hadoop installation directory. However, I installed this from a 1.0.4 .deb package on Ubuntu 12.04. This creates multiple and the startup scripts at /usr/sbin. I'm not sure which i should use for my configuration. A related question is what directory should be specified as HADOOP_HOME.

from the wiki:

HADOOP_HOME is the parent directory of the bin directory that holds the Hadoop scripts

i'm sure they don't mean the parent of /usr/sbin though.

$> locate



I am also using this for reference since I'm setting up a single-node cluster. I think I downloaded the deb package from Cloudera but I can't recall at the moment and I'm considering restarting the installation

share|improve this question

I think that /etc/hadoop/ is a right file to edit.

I also set up Hadoop according to the tutorial you mentioned but I downloaded a Hadoop distribution from Apache website.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.