hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rakhi Khatwani <rkhatw...@gmail.com>
Subject Re: error while using TableMap
Date Wed, 22 Jul 2009 11:24:13 GMT
Hi  Bharath,
       You are tryin to extend an interface. in your class. this is where
you are going wrong.
you could alternative define a class that implements the TableMap interface
or use IdentityTableMap depending on your requirement.
Hope that helps,
Regards,
Raakhi
On Wed, Jul 22, 2009 at 4:28 PM, bharath vissapragada <
bharat_v@students.iiit.ac.in> wrote:

> Hi all when i use TableMap class i get the following errors
>
> no interface expected here
> public class MR_DS_Scan_Case1 extends TableMap<Text, Text> implements Tool
> {
>                                              ^
> and
>
>  cannot find symbol
> symbol  : method
>
> run(org.apache.hadoop.hbase.HBaseConfiguration,MR_DS_Scan_Case1,java.lang.String[])
> location: class org.apache.hadoop.util.ToolRunner
>        int errCode = ToolRunner.run(new HBaseConfiguration(), new
> MR_DS_Scan_Case1(), args);
>                                ^
>
> I have imported org.apache.hadoop.hbase.mapred.TableMap;
>
> Iam using this TableMap after seeing the examples in the site
> http://wiki.apache.org/hadoop/Hbase/MapReduce
>
> can anyone tell me what those errors are!
>
> Thanks
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message