hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reza <reza.no...@outlook.com>
Subject HBase looks for hadoop-common.jar in Hdfs
Date Fri, 07 Mar 2014 02:08:46 GMT
I am trying to run a hadoop(version:2.2.0) job on a single machine which 
writes the reducer output into a Hbase(version 0.98) table. When I run the 
job, HBase looks for hadoop-common.jar file in the HDFS:

2014-03-07 10:52:44,499 ERROR [main] security.UserGroupInformation 
(UserGroupInformation.java:doAs(1494)) - PriviledgedActionException 
as:ubuntu (auth:SIMPLE) cause:java.io.FileNotFoundException: File does not 
exist: hdfs://127.0.0.1:9000/home/ubuntu/workspace/XXXX/lib/hadoop-common-
2.2.0.jar

Here is my job configuration:

Configuration conf = HBaseConfiguration.create();
conf.set("hbase.zookeeper.quorum", "127.0.0.1");
Job job = Job.getInstance(conf, "CreateLookUpTable");
job.setJarByClass(HBaseLookUp.class);
// configure output and input source
N3TextInputFormat.addInputPath(job, new Path(inputText));
job.setInputFormatClass(N3InputFormat.class);
// configure mapper and reducer
job.setMapperClass(HBaseLookUp.Map.class);
// configure output
TableMapReduceUtil.initTableReducerJob("LookUp", HBaseLookUp.Red.class, 
job);
job.setMapOutputKeyClass(Text.class);
job.setMapOutputValueClass(Text.class);
job.setReducerClass(HBaseLookUp.Red.class);

job.setOutputKeyClass(Text.class);
job.setOutputValueClass(NullWritable.class);


Any idea about this issue?


Mime
View raw message