HBase Forum

Class not found error…

  • #19256
    eli vani

    i am doing my project in hadoop(singl node).i have to run my java code which containing map,reduce fuction on hadoop.while running i got the following error…please help me to clear this….thank you…

    2013-03-28 13:34:40 INFO JobClient:1317 – Task Id : attempt_201303281326_0003_m_000000_2, Status : FAILED
    Error: java.lang.ClassNotFoundException: org.apache.hadoop.hbase.HBaseConfiguration
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at apriori$CandidateGenMap.map(apriori.java:160)
    at apriori$CandidateGenMap.map(apriori.java:86)
    at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:144)
    at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:621)
    at org.apache.hadoop.mapred.MapTask.run(MapTask.java:305)
    at org.apache.hadoop.mapred.Child.main(Child.java:170)

to create new topics or reply. | New User Registration

  • Author
  • #19293
    Larry Liu

    Hi, Eli

    What version of HDP are you using? Can you please also provide your source code?

    This error is caused by missing jar in your classpath.


    eli vani

    i installed hadoop 0.20.2….ya i was added some jar …after adding jar that error is cleared….but i am having the following error…the hadoop nodes itself not started….


    Hi Eli,

    It looks like you used an installer other than that supplied by Hortonworks, possibly a manual installation. If you did install hadoop manually it looks like you didn’t set up your class path correctly. The reason I mention that it looks like you not using an installer that we provided is that our installers will install hadoop version 1.1 not hadoop 0.20.2. Also please try to keep you responses to a thread in that thread rather than creating a new thread for each response, it makes it difficult to get the history of your issue having to read through different threads.


You must be to reply to this topic. | Create Account

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.