predictionio-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rasna Tomar <ra...@getamplify.com>
Subject Pio eventserver returning incorrect result
Date Fri, 03 Nov 2017 06:20:47 GMT
Hi

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

Update is successfully happening in both Phoenix and hbase.

But when I check on eventserver I am getting incorrect result .

*          Input - *

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


        I have checked 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  new entityId
   also returns "Message not found" - which is not expected
   3. Curl request with parameters (entityId only) on new entityId returns
   proper result
   4. When I again update Id back to old id , eventserver returns proper
   result


Also I am getting this exception for newId -
{

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


Thanks

Mime
View raw message