First, I KNOW THIS HAS BEEN ASKED BEFORE, but none of the solutions work for me and I would like to know why.
I am trying to compile the standard 'WordCount.java' .jar for hadoop on my linux single-node cluster, but keep getting the package org.apache.hadoop.* does not exist
error.
I know that I have to edit the $CLASSPATH, but everything I have found online is saying to reference hadoop-core
and I cannot find a hadoop-core
anywhere in my build (2.4.0). How do I find where org.apache.hadoop.* would exist on my system?
I feel this would be a good 'general' answer since I have seen many questions on this and everyone gives a specific /path/to/classpath/, but it is (apparently) different depending on version and build of hadoop.