You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Gabriel Reid (JIRA)" <ji...@apache.org> on 2014/03/16 08:18:02 UTC

[jira] [Resolved] (PHOENIX-484) Exception on upserting data on table with salted index

     [ https://issues.apache.org/jira/browse/PHOENIX-484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gabriel Reid resolved PHOENIX-484.
----------------------------------

    Resolution: Fixed

Bulk resolve of closed issues imported from GitHub. This status was reached by first re-opening all closed imported issues and then resolving them in bulk.

> Exception on upserting data on table with salted index
> ------------------------------------------------------
>
>                 Key: PHOENIX-484
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-484
>             Project: Phoenix
>          Issue Type: Task
>            Reporter: mujtaba
>              Labels: bug
>
> On upserting data on table with salted index (CREATE INDEX IDX ON TABLE (COL) SALT_BUCKETS=9;)
> java.lang.NegativeArraySizeException: nbits < 0: -1
> 	at java.util.BitSet.<init>(BitSet.java:157)
> 	at com.salesforce.phoenix.util.IndexUtil.generateIndexData(IndexUtil.java:109)
> 	at com.salesforce.phoenix.util.IndexUtil.generateIndexData(IndexUtil.java:165)
> 	at com.salesforce.phoenix.execute.MutationState$1.next(MutationState.java:174)
> 	at com.salesforce.phoenix.execute.MutationState$1.next(MutationState.java:156)
> 	at com.salesforce.phoenix.execute.MutationState.commit(MutationState.java:283)
> 	at com.salesforce.phoenix.jdbc.PhoenixConnection.commit(PhoenixConnection.java:244)



--
This message was sent by Atlassian JIRA
(v6.2#6252)