java.lang.UnsupportedOperationException: Invalid fast index type: -21

classic Classic list List threaded Threaded
2 messages Options
Yuriy Yuriy
Reply | Threaded
Open this post in threaded view
|

java.lang.UnsupportedOperationException: Invalid fast index type: -21

I have made the index on bite[] field:
    @QuerySqlField (index = true, notNull = true)
    private byte[] sha1;

After loading data the cluster (Ignate 2.4) break down with errors in log:
org.apache.ignite.IgniteException: Runtime failure on row: Row@4eaa09d2[
key: 63654, val: model.File [idHash=1152876998, hash=-392466620, sha1=[13,
120, 111, -46, -93, -15, 94, -12, -77, 14, -51, 108, 29, -22, 18, 65, 84,
-100, 19, 105]]]
and
java.lang.UnsupportedOperationException: Invalid fast index type: -21

How it is possible to index and use as a key of the byte[] field?



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
ezhuravlev ezhuravlev
Reply | Threaded
Open this post in threaded view
|

Re: java.lang.UnsupportedOperationException: Invalid fast index type: -21

Hi,

I've added the same field to one of the objects in Ignite example and everything works fine. Can you share the full reproducer or at least the whole object?

Thanks,
Evgenii

чт, 1 нояб. 2018 г. в 15:11, Yuriy <[hidden email]>:
I have made the index on bite[] field:
    @QuerySqlField (index = true, notNull = true)
    private byte[] sha1;

After loading data the cluster (Ignate 2.4) break down with errors in log:
org.apache.ignite.IgniteException: Runtime failure on row: Row@4eaa09d2[
key: 63654, val: model.File [idHash=1152876998, hash=-392466620, sha1=[13,
120, 111, -46, -93, -15, 94, -12, -77, 14, -51, 108, 29, -22, 18, 65, 84,
-100, 19, 105]]]
and
java.lang.UnsupportedOperationException: Invalid fast index type: -21

How it is possible to index and use as a key of the byte[] field?



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/