Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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? –  utrecht Jun 26 at 16:44
    
org.apache.hadoop.hbase.mapreduce.multitableoutputformat. –  sunny Jun 30 at 13:36
    
I restarted cluster couple of times so job history is not there. –  sunny Jun 30 at 13:38

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.