Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried to setup a 4 node Hadoop cluster using CDH4.7. The cluster is up and running fine and when I submit a word count MR job it completed successfully but when I am submitting an MR job to insert data into HBase it was throwing class not found errors. So I copied hbase jar from hbase lib to hadoop lib. Now it is running fine.

My question is: Is my approach right? I feel I should not copy hbase jar into hadoop lib folder.

Can someone suggest what is the best way? And do we need to set any environment variable or is the cloudera manager doing it itself?

share|improve this question
Could you indicate which class was not found? Could you add a snippet of the exception? – 030 Jun 26 '14 at 16:44
org.apache.hadoop.hbase.mapreduce.multitableoutputformat. – sunny Jun 30 '14 at 13:36
I restarted cluster couple of times so job history is not there. – sunny Jun 30 '14 at 13:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.