You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Yuriy <yu...@gmail.com> on 2018/11/01 12:11:24 UTC

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/

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

Posted by Evgenii Zhuravlev <e....@gmail.com>.
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 <yu...@gmail.com>:

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