You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Tianyi Wang (JIRA)" <ji...@apache.org> on 2017/11/06 18:56:00 UTC

[jira] [Resolved] (IMPALA-5541) Enforce sane maximum for BATCH_SIZE

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

Tianyi Wang resolved IMPALA-5541.
---------------------------------
       Resolution: Fixed
    Fix Version/s: Impala 2.11.0

IMPALA-5541: Reject BATCH_SIZE greater than 65536

Setting a very large value could cause strange behaviour like crashing,
hanging, excessive memory usage, spinning etc. This patch rejects values
out of the range [0,65536].

Change-Id: Idd5a2490a73b6915224160d7604b4badc72c1d97
Reviewed-on: http://gerrit.cloudera.org:8080/8419
Reviewed-by: Tim Armstrong <ta...@cloudera.com>
Tested-by: Impala Public Jenkins

> Enforce sane maximum for BATCH_SIZE
> -----------------------------------
>
>                 Key: IMPALA-5541
>                 URL: https://issues.apache.org/jira/browse/IMPALA-5541
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Backend
>    Affects Versions: Impala 2.10.0
>            Reporter: Tim Armstrong
>            Assignee: Tianyi Wang
>            Priority: Minor
>              Labels: ramp-up
>             Fix For: Impala 2.11.0
>
>
> We don't enforce maximums on BATCH_SIZE. Setting a very large value could cause strange behaviour like crashing, hanging, excessive memory usage, spinning etc.
> I think a limit like  65536 (64x the default) would be reasonable but it's worth discussing further.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)