Well I got it. There is a class TableMapReduceUtil which provides the same functionality.
Thanks, Akhil akhil1988 wrote: > > Hi All! > > I am new to HBase and I am trying to run a simple HBase program > (BulkCopy.java) but I get the following Error: > > BulkCopy.java:60: cannot find symbol > symbol : method initJob(java.lang.String, java.lang.String, > java.lang.Class<BulkCopy>, java.lang.Class<org.apache.hadoop.io.Text>, > java.lang.Class<org.apache.hadoop.io.Text>, > org.apache.hadoop.mapred.JobConf) > location: interface org.apache.hadoop.hbase.mapred.TableMap > TableMap.initJob(args[1], sb.toString(), BulkCopy.class, Text.class, > Text.class, c); > ^ > 1 error > > I am using hbase-0.19.3. It seems that method TableMap.initJob() is not > there in hbase-0.19.3 > > Please let me know the alternative to this statement. > > Thanks, > Akhil > > -- View this message in context: http://www.nabble.com/TableMap.initJob-not-found-tp24382705p24383115.html Sent from the HBase User mailing list archive at Nabble.com.
