diff --git src/docbkx/troubleshooting.xml src/docbkx/troubleshooting.xml index 0b7c93a..5d63eb9 100644 --- src/docbkx/troubleshooting.xml +++ src/docbkx/troubleshooting.xml @@ -590,6 +590,15 @@ Caused by: java.io.FileNotFoundException: File _partition.lst does not exist. LocalJobRunner means the job is running locally, not on the cluster. + + To solve this problem, you should run your mapreduce job with your HADOOP_CLASSPATH set to include the HBase jar and HBase's configured classpath. For example (substitute your own hbase jar location for hbase-0.90.0-SNAPSHOT.jar): + + HADOOP_CLASSPATH=${HBASE_HOME}/target/hbase-0.90.0-SNAPSHOT.jar:`${HBASE_HOME}/bin/hbase classpath` \ + ${HADOOP_HOME}/bin/hadoop jar ${HBASE_HOME}/target/hbase-0.90.0-SNAPSHOT.jar rowcounter usertable + + + + See http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/mapreduce/package-summary.html#classpath for more