How to run Vertica example on Hadoop using Eclipse

Hi, I am trying to execute example from https://my.vertica.com/docs/5.1.6/HTML/index.htm#15539.htm.

I did all settings correctly. I am getting following error while executing program on Haddop using Eclipse IDE.

 Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/mapreduce/InputFormat at java.lang.ClassLoader.findBootstrapClass(Native Method) at java.lang.ClassLoader.findBootstrapClassOrNull(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at hadoopConnection.VerticaExample.run(VerticaExample.java:163) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at hadoopConnection.VerticaExample.main(VerticaExample.java:203)

Comments

Leave a Comment

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