Skip to main content

How do I run the Vertica Hadoop example?

  • February 7, 2013
  • 1 reply
  • 3 views

Old_Community
Forum|alt.badge.img+2
Running the Hadoop example generated this exception:  Exception in thread “main” java.lang.ClassNotFoundException: VerticaExample  at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

1 reply

Old_Community
Forum|alt.badge.img+2
  • Author
  • Participating Frequently
  • February 7, 2013
First, be sure to include the 'jar' argument in the command line:  hadoop jar hadoop-vertica-example.jar VerticaExample  If the exception persists, it is likely due to running CDH4, which is incompatible with the Vertica hadoop connector (hadoop-vertica_1.4.4_20111004). In CDH4 the jobcontext is an interface, but the connector expects a class. Use CDH3 with the Vertica Hadoop connector.