[
https://issues.apache.org/jira/browse/PHOENIX-503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gabriel Reid resolved PHOENIX-503.
----------------------------------
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.
> Mutation size exceed exception on delete and upsert select
> ----------------------------------------------------------
>
> Key: PHOENIX-503
> URL: https://issues.apache.org/jira/browse/PHOENIX-503
> Project: Phoenix
> Issue Type: Task
> Reporter: mujtaba
> Labels: bug
>
> With a table of 500K+ rows, getting mutation size exception for both delete
> and upsert select. Phoenix should batch them with size of
> phoenix.mutate.batchSize
> Exception in thread "main" java.lang.IllegalArgumentException: MutationState
> size of 750000 is bigger than max allowed size of 500000
> at
> com.salesforce.phoenix.execute.MutationState.throwIfTooBig(MutationState.java:92)
> at
> com.salesforce.phoenix.execute.MutationState.join(MutationState.java:139)
> at
> com.salesforce.phoenix.compile.MutatingParallelIteratorFactory$1.close(MutatingParallelIteratorFactory.java:99)
> at
> com.salesforce.phoenix.iterate.ConcatResultIterator.currentIterator(ConcatResultIterator.java:83)
> at
> com.salesforce.phoenix.iterate.ConcatResultIterator.next(ConcatResultIterator.java:96)
> at
> com.salesforce.phoenix.compile.UpsertCompiler$2.execute(UpsertCompiler.java:457)
> at
> com.salesforce.phoenix.jdbc.PhoenixStatement.executeMutation(PhoenixStatement.java:184)
> at
> com.salesforce.phoenix.jdbc.PhoenixStatement.access$600(PhoenixStatement.java:74)
> at
> com.salesforce.phoenix.jdbc.PhoenixStatement$ExecutableUpsertStatement.executeUpdate(PhoenixStatement.java:217)
> at
> com.salesforce.phoenix.jdbc.PhoenixStatement$ExecutableUpsertStatement.execute(PhoenixStatement.java:210)
> at
> com.salesforce.phoenix.jdbc.PhoenixPreparedStatement.execute(PhoenixPreparedStatement.java:85)
--
This message was sent by Atlassian JIRA
(v6.2#6252)