ClassNotFoundException: org.apache.avro.mapred.FsInput


This topic contains 0 replies, has 1 voice, and was last updated by  Thomas Risberg 11 months, 1 week ago.

  • Creator
  • #52232

    Thomas Risberg

    Hi, I created a Hive table with some Avro data. Having trouble querying the data – I see this in the logs for the yarn app running the mapreduce for the query (couldn’t fit the whole stacktrace in this post):

    Caused by: java.lang.NoClassDefFoundError: org/apache/avro/mapred/FsInput
    	... 16 more
    Caused by: java.lang.ClassNotFoundException: org.apache.avro.mapred.FsInput
    	at Method)
    	at java.lang.ClassLoader.loadClass(
    	at sun.misc.Launcher$AppClassLoader.loadClass(
    	at java.lang.ClassLoader.loadClass(
    	... 19 more

    Any thoughts how to solve this?

The forum ‘HDP 2.1 Technical Preview’ is closed to new topics and replies.

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.