This problem  "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." is resolved after restarting hbase.

But, still getting unusual results from eventserver -

*Input - *

   - Old entityId = 59af638e4d0dff65996eafa7
   - New enitytId = 59af638e4d0dff65996eafa8


After updating, I have tested following scenarios using eventserver-


   1. Curl request with parameters (entityId, entityType) on  old entityId
   returns "Message not found" - which is obvious because this Id is updated
   2. Curl request with parameters (entityId, entityType) on  old entityId
   3. dhshd





On Thu, Nov 2, 2017 at 3:37 PM, Rasna Tomar <[email protected]> wrote:

> 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
>

Reply via email to