[hduser@centos ~]$ cd /usr/local/hadoop/hadoop-1.2.1/ [hduser@centos hadoop-1.2.1]$ javac -classpath $HADOOP_HOME/hadoop-core.jar:$HADOOP_HOME/lib/hadoop-vertica.jar -d classes VerticaExample.java && jar -cvf hadoop-vertica-example.jar -C classes VerticaExample.java:17: error: package org.apache.hadoop.conf does not exist import org.apache.hadoop.conf.Configuration; ^ VerticaExample.java:18: error: package org.apache.hadoop.conf does not exist import org.apache.hadoop.conf.Configured; ^ VerticaExample.java:19: error: package org.apache.hadoop.io does not exist import org.apache.hadoop.io.DoubleWritable; ^ VerticaExample.java:20: error: package org.apache.hadoop.io does not exist import org.apache.hadoop.io.LongWritable; ^ VerticaExample.java:21: error: package org.apache.hadoop.io does not exist import org.apache.hadoop.io.Text; ^ VerticaExample.java:22: error: package org.apache.hadoop.mapreduce does not exist import org.apache.hadoop.mapreduce.Job; ^ VerticaExample.java:23: error: package org.apache.hadoop.mapreduce does not exist import org.apache.hadoop.mapreduce.Mapper; ^ VerticaExample.java:24: error: package org.apache.hadoop.mapreduce does not exist import org.apache.hadoop.mapreduce.Reducer; ^ VerticaExample.java:25: error: package org.apache.hadoop.util does not exist import org.apache.hadoop.util.Tool; ^ VerticaExample.java:26: error: package org.apache.hadoop.util does not exist import org.apache.hadoop.util.ToolRunner; ^ VerticaExample.java:34: error: cannot find symbol public class VerticaExample extends Configured implements Tool { ^ symbol: class Configured VerticaExample.java:34: error: cannot find symbol public class VerticaExample extends Configured implements Tool { ^ symbol: class Tool VerticaExample.java:37: error: cannot find symbol Mapper { ^ symbol: class Mapper location: class VerticaExample VerticaExample.java:37: error: cannot find symbol Mapper { ^ symbol: class LongWritable location: class VerticaExample VerticaExample.java:37: error: cannot find symbol Mapper { ^ symbol: class Text location: class VerticaExample VerticaExample.java:37: error: cannot find symbol Mapper { ^ symbol: class DoubleWritable location: class VerticaExample VerticaExample.java:39: error: cannot find symbol public void map(LongWritable key, VerticaRecord value, Context context) ^ symbol: class LongWritable location: class Map VerticaExample.java:39: error: cannot find symbol public void map(LongWritable key, VerticaRecord value, Context context) ^ symbol: class Context location: class Map VerticaExample.java:53: error: cannot find symbol Reducer { ^ symbol: class Reducer location: class VerticaExample VerticaExample.java:53: error: cannot find symbol Reducer { ^ symbol: class Text location: class VerticaExample VerticaExample.java:53: error: cannot find symbol Reducer { ^ symbol: class DoubleWritable location: class VerticaExample VerticaExample.java:53: error: cannot find symbol Reducer { ^ symbol: class Text location: class VerticaExample VerticaExample.java:60: error: cannot find symbol public void setup(Context context) throws IOException, ^ symbol: class Context location: class Reduce VerticaExample.java:76: error: cannot find symbol public void reduce(Text key, Iterable values, ^ symbol: class Text location: class Reduce VerticaExample.java:76: error: cannot find symbol public void reduce(Text key, Iterable values, ^ symbol: class DoubleWritable location: class Reduce VerticaExample.java:77: error: cannot find symbol Context context) throws IOException, InterruptedException { ^ symbol: class Context location: class Reduce VerticaExample.java:46: error: cannot find symbol context.write(new Text((String) value.get(3)), ^ symbol: class Text location: class Map VerticaExample.java:47: error: cannot find symbol new DoubleWritable((Long) value.get(0))); ^ symbol: class DoubleWritable location: class Map VerticaExample.java:63: error: cannot find symbol super.setup(context); ^ symbol: variable super location: class Reduce VerticaExample.java:67: error: cannot access Configuration record = new VerticaRecord(context.getConfiguration()); ^ class file for org.apache.hadoop.conf.Configuration not found VerticaExample.java:158: error: cannot find symbol context.write(new Text("mrtarget"), record); ^ symbol: class Text location: class Reduce VerticaExample.java:166: error: cannot find symbol Configuration conf = getConf(); ^ symbol: class Configuration location: class VerticaExample VerticaExample.java:166: error: cannot find symbol Configuration conf = getConf(); ^ symbol: method getConf() location: class VerticaExample VerticaExample.java:167: error: cannot find symbol Job job = new Job(conf); ^ symbol: class Job location: class VerticaExample VerticaExample.java:167: error: cannot find symbol Job job = new Job(conf); ^ symbol: class Job location: class VerticaExample VerticaExample.java:180: error: cannot find symbol job.setMapOutputKeyClass(Text.class); ^ symbol: class Text location: class VerticaExample VerticaExample.java:181: error: cannot find symbol job.setMapOutputValueClass(DoubleWritable.class); ^ symbol: class DoubleWritable location: class VerticaExample VerticaExample.java:187: error: cannot find symbol job.setOutputKeyClass(Text.class); ^ symbol: class Text location: class VerticaExample VerticaExample.java:197: error: cannot access OutputFormat VerticaOutputFormat.setOutput(job, "mrtarget", true, "a int", ^ class file for org.apache.hadoop.mapreduce.OutputFormat not found VerticaExample.java:204: error: cannot access InputFormat VerticaInputFormat.setInput(job, "select * from allTypes where key = ?", ^ class file for org.apache.hadoop.mapreduce.InputFormat not found VerticaExample.java:163: error: method does not override or implement a method from a supertype @Override ^ VerticaExample.java:212: error: cannot find symbol int res = ToolRunner.run(new Configuration(), new VerticaExample(), ^ symbol: class Configuration location: class VerticaExample VerticaExample.java:212: error: cannot find symbol int res = ToolRunner.run(new Configuration(), new VerticaExample(), ^ symbol: variable ToolRunner location: class VerticaExample 43 errors [hduser@centos hadoop-1.2.1]$ ^C [hduser@centos hadoop-1.2.1]$