ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Level D" <724172...@qq.com>
Subject Re: Re: NullPointerException When Use ReadThrough
Date Sat, 14 May 2016 05:19:20 GMT
Er...

In my opinion, readthrough synchronizes data from hbase to ignite cache. Even though readthrough
doesn't get any data from hbase, it also synchronizes data.

As a result, nullpointerexception comes out.

As I mentioned before,  I use hbase without ignite to execute that line, console will  return
a null value. But when I use ignite readthrough, console return a  nullpointerexception.

By the way, forgot to add one point. If the key queried is exsited in hbase, readthrough is
good.


------------------ Original ------------------
From:  "vkulichenko";<valentin.kulichenko@gmail.com>;
Date:  Sat, May 14, 2016 02:51 AM
To:  "user"<user@ignite.apache.org>; 

Subject:  Re: Re: NullPointerException When Use ReadThrough



Hi,

This line has nothing to do with Ignite. What is null - hbaseBean or hTable?

Most likely there is an initialization issue and you should check the cache
store factory that you're using. It has to properly initialize HBase
connections when the store is created.

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/NullPointerException-When-Use-ReadThrough-tp4886p4938.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Mime
View raw message