Skip to main content
vsundaram
Gold ⭐️
Gold ⭐️
May 11, 2017

Beeline hangs only from few sessions and exit with OOM errors

  • October 5, 2026 at 9:23 AM
  • 0 replies
  • 2123 views
  • Translate All

This issue is caused due to the size of "~/.beeline/history" file in user's home directory. While we run big queries, it will flood the history file and slow down beeline on start up and shutdown. To resolve this issue, please move "~/.beeline/history" file and retry beeline. In the lower versions (below 2.1.0), we can have a cron job to delete "history" file periodically. This issue has been fixed in latest Hive versions by adding "--maxHistoryRows". Please check the below JIRA for more details. https://issues.apache.org/jira/browse/HIVE-15166