How do I run the Vertica Hadoop example?

Running the Hadoop example generated this exception:  Exception in thread “main” java.lang.ClassNotFoundException: VerticaExample  at java.net.URLClassLoader$1.run(URLClassLoader.java:202) 

Comments

  • 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.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file