[ 
https://issues.apache.org/jira/browse/HIVE-14876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15563464#comment-15563464
 ] 

Sergey Shelukhin commented on HIVE-14876:
-----------------------------------------

1. I can add another config setting. I will leave max untouched as that is a 
separate concern... The max seems to be used as a default somewhere (JDBC?) as 
per above discussion. 
2. We have a scenario right now where fetch results takes forever even with 10k 
due to fetching very large number of rows.
Given that the value is supposed to be relevant mostly for large fetches (the 
small ones will fit within a few requests anyway), I feel like with those in 
mind it should be set to a maximum reasonably safe value, not "some" reasonably 
safe value; it's easy to decrease if one gets an OOM. I would set it to 100k :) 
1k seems too small. 


> make the number of rows to fetch from various HS2 clients/servers configurable
> ------------------------------------------------------------------------------
>
>                 Key: HIVE-14876
>                 URL: https://issues.apache.org/jira/browse/HIVE-14876
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HIVE-14876.patch
>
>
> Right now, it's hardcoded to a variety of values



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to