From ade6149e37f6cb6cac99165a9d252a1b60c7e777 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Tue, 13 Aug 2013 04:36:25 +0000 Subject: [PATCH] HBASE-5044 Clarify solution for problem described on http://hbase.apache.org/book/trouble.mapreduce.html git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1513344 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/docbkx/troubleshooting.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main/docbkx/troubleshooting.xml b/src/main/docbkx/troubleshooting.xml index 586e76a6309..e722df4d355 100644 --- a/src/main/docbkx/troubleshooting.xml +++ b/src/main/docbkx/troubleshooting.xml @@ -694,6 +694,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 MR job with your + HADOOP_CLASSPATH set to include the HBase dependencies. + The "hbase classpath" utility can be used to do this easily. + For example (substitute VERSION with your HBase version): + + HADOOP_CLASSPATH=`hbase classpath` hadoop jar $HBASE_HOME/hbase-VERSION.jar rowcounter usertable + + See http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/mapreduce/package-summary.html#classpath for more