hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shiraz Memon" <a.me...@fz-juelich.de>
Subject Re: minor correction in getting started guide
Date Thu, 26 Jun 2008 09:03:54 GMT
oops,

but rather:

*System.out.println("Found row: " + row.getRow() + " with value: " + new
String((byte[]) columns.get(columns.firstKey())));*

will display

*Found row: myRow with value: columnQualifier1 value!*

Shiraz

On Thu, Jun 26, 2008 at 10:53 AM, Shiraz Memon <a.memon@fz-juelich.de>
wrote:

> Hi,
>
> I found one mistake (although very minor) in MyClient.java class which is
> given as an example test case for beginners in getting started page. I
> suggest to replace the following line
>
> *new String(columns.get("myColumnFamily:columnQualifier1")));*  // throws
> class cast exception
>
> with
>
> *new String((byte[])columns.get("myColumnFamily:columnQualifier1")));*  //
> throws class cast exception
>
>
> Cheers,
>
> Shiraz
>

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