mirror of
https://github.com/apache/impala.git
synced 2026-01-09 15:00:11 -05:00
exist or is uneditable. Currently, the shell warns the user that it's unable to load the command history if the command history file (~/.impalahistory) is not found. Moreover, if the file is not editable, then an error is thrown after each the execution of each command. This change disables readline if the history file is not editable instead of throwing repeated errors, and removes the warning if the history file does not exist. Change-Id: Ie4c94629431f2407b0679a7721a6bdf28907437f Reviewed-on: http://gerrit.ent.cloudera.com:8080/532 Reviewed-by: Ishaan Joshi <ishaan@cloudera.com> Tested-by: Ishaan Joshi <ishaan@cloudera.com>