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

Madhudeep Petwal commented on HIVE-18346:
-----------------------------------------

The max size for history is
DEFAULT_MAX_SIZE = 500;

and this function maybeResize()  is keeping a check on history size 
It looks like you manually inserted some history records, 
in that case also beeline truncate history size to 3k
-rw-------. 1 user group 3.0K Jan  3 16:17 .beeline/history

am I wrong ?? 
I am not able to reproduce this bug. I think it is handled [~asherman]

> Beeline could not launch because of size of history
> ---------------------------------------------------
>
>                 Key: HIVE-18346
>                 URL: https://issues.apache.org/jira/browse/HIVE-18346
>             Project: Hive
>          Issue Type: Bug
>          Components: Beeline
>    Affects Versions: 1.2.1
>            Reporter: Jumping
>            Assignee: Madhudeep Petwal
>            Priority: Minor
>
> Beeline version 1.2.1 could not launch when the size of  
> ${user.home}/.beeline/history larger than 39MB. Which reports 
> "java.lang.outofmemoryerror" .



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

Reply via email to