Clarify solution for problem described on 
http://hbase.apache.org/book/trouble.mapreduce.html
---------------------------------------------------------------------------------------------

                 Key: HBASE-5044
                 URL: https://issues.apache.org/jira/browse/HBASE-5044
             Project: HBase
          Issue Type: Improvement
          Components: documentation
            Reporter: Eugene Koontz
            Assignee: Eugene Koontz
            Priority: Trivial
             Fix For: 0.94.0, 0.90.4


Add some documentation regarding how to fix the problem described on :

http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/mapreduce/package-summary.html#classpath

Should be some text like: 
{quote}
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 is {{hbase-0.90.0-SNAPSHOT.jar}}):
{quote}
{code}
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
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to