Hey All can u please help me in clearing following error ? I am getting this when I am running Mapreduce job fopr inserting data into hbase tables from hdfs files. using HFileOutputFormat.class
, earlier i ran the same using MultiTableOutputFormat.class
it was working fine , but it was taking so much time while inserting data into hbase tables .
So can u please help me ... :) *
job.setMapOutputKeyClass(ImmutableBytesWritable.class); job.setMapOutputValueClass(Put.class); job.setInputFormatClass(TextInputFormat.class);
job.setOutputFormatClass(HFileOutputFormat.class); job.setMapperClass(Map.class); HTable hTable = new HTable(conf,"ARK_3000"); HFileOutputFormat.configureIncrementalLoad(job, hTable);ERROR security.UserGroupInformation: PriviledgedActionException as:reddym (auth:SIMPLE) cause:org.apache.hadoop.mapred.InvalidJobConfException: Output directory not set. Exception in thread "main" org.apache.hadoop.mapred.InvalidJobConfException: Output directory not set.
Thanks Madhusudhana Reddy