hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naama Kraus" <naamakr...@gmail.com>
Subject Re: Problems compiling with 0.16.1 jar
Date Sun, 16 Mar 2008 09:30:28 GMT
Here is the compile error I get:


HBaseTry.java:41: cannot find symbol
    [javac] symbol  : constructor BatchUpdate(org.apache.hadoop.io.Text)
    [javac] location: class org.apache.hadoop.hbase.io.BatchUpdate
    [javac]                     BatchUpdate update = new BatchUpdate(row);
    [javac]                                              ^
    [javac] 1 error

On Sun, Mar 16, 2008 at 10:26 AM, Naama Kraus <naamakraus@gmail.com> wrote:

> Hi All,
>
> I've downloaded hadoop-0.16.1-hbase.jar from
> http://hadoop.apache.org/core/releases.html
> I try to implement a simple program, and I am stuck in the following line
> of code:
>
> BatchUpdate b = new BatchUpdate(new Text(k));
>
> My compiler complain that the above constructor is undefined. It is only
> familiar with the default constructor.
>
> Can anyone hint on what am I doing wrong ?
>
> Thanks, Naama
>
> --
> oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo
> 00 oo 00 oo
> "If you want your children to be intelligent, read them fairy tales. If
> you want them to be more intelligent, read them more fairy tales." (Albert
> Einstein)




-- 
oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo
00 oo 00 oo
"If you want your children to be intelligent, read them fairy tales. If you
want them to be more intelligent, read them more fairy tales." (Albert
Einstein)

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