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

Chinna Rao Lalam resolved HIVE-27893.
-------------------------------------
    Fix Version/s: 4.1.0
       Resolution: Fixed

> Add a range validator in hive.metastore.batch.retrieve.max to only have 
> values greater than 0
> ---------------------------------------------------------------------------------------------
>
>                 Key: HIVE-27893
>                 URL: https://issues.apache.org/jira/browse/HIVE-27893
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Vikram Ahuja
>            Assignee: Vikram Ahuja
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.1.0
>
>
> Currently there is no Validation for the property 
> hive.metastore.batch.retrieve.max. In case if it is ever set to <= 0, 
> PartitionIterable will throw up NoSuchElement Exception because the batch 
> size will be 0 there. Adding a range validator as the part of this Jira to 
> keep the lower bound value of hive.metastore.batch.retrieve.max to be 1. Also 
> blocking PartitionIterable call if any user/client ever calls the constructor 
> directly with batch size <1.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to