predictionio-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rasna Tomar <ra...@getamplify.com>
Subject Update in hbase not working properly
Date Thu, 02 Nov 2017 10:07:04 GMT
Hi

I have a use case where in I need to update entityId for enitityType =
 user.
I am doing it with Apache phoenix.

Update is successfully happening in both Phoenix and hbase. But when I scan
in hbase, I found that the previous enityId also exists and newone enitytId
also exists. But count of rows in hbase does not increase.

Also when I check on eventserver I am getting unusual behaviour -


Suppose enitityId = 59af638e4d0dff65996eafa7 needs to updated to entityId =
59af638e4d0dff65996eafa8.
When I search for enitytId = 59af638e4d0dff65996eafa7, I get "message not
found"

whereas checking it for the updated enitytId = 59af638e4d0dff65996eafa8. I
am getting following exception -
{

   - message: "org.apache.predictionio.data.storage.hbase.HBEventsUtil$RowKeyException:
   Incorrect byte array size. Bytes:
   -65,-51,-28,105,42,13,90,-24,21,111,82,-66,-118,-32,101,127,0,0,1,93,17,-60,-77,-112,-109,-97,-7,-101,21,89,-95."

}

What is the issue with updation ?


Thanks

Mime
View raw message