I'm trying to run the example found here: http://thysmichels.com/2012/01/31/java-based-hdfs-api-tutorial/
But when I go to compile the java program I get errors saying the packages don't exist eg.
error: package org.apache.hadoop.conf does not exist
import org.apache.hadoop.conf.Configuration;
Hadoop 1.0.4 is installed and works fine. Every tutorial I've looked at for dealing with hdfs just starts with a program like in the link I provided earlier and they do not talk about any special prereqs I need. So I'm wondering what do I need to do to make this compile? I'm assuming I need to edit my classpath to point to the appropriate packages but I do not know where those are located.
Also I'm running Ubuntu 12.04, Hadoop 1.0.4 on a single node cluster following the instructions here: http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/