[ https://issues.apache.org/jira/browse/HIVE-2864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phabricator updated HIVE-2864: ------------------------------ Attachment: HIVE-2864.D2265.2.patch kevinwilfong updated the revision "HIVE-2864 [jira] If hive history file's directory doesn't exist don't crash". Reviewers: JIRA, njain Good call, Namit. I now catch all errors thrown while trying to initialize the history file. If any errors are seen, the user is warned that history is unavailable for the session, and the error is displayed. REVISION DETAIL https://reviews.facebook.net/D2265 AFFECTED FILES cli/src/java/org/apache/hadoop/hive/cli/CliDriver.java > If hive history file's directory doesn't exist don't crash > ---------------------------------------------------------- > > Key: HIVE-2864 > URL: https://issues.apache.org/jira/browse/HIVE-2864 > Project: Hive > Issue Type: Improvement > Reporter: Kevin Wilfong > Assignee: Kevin Wilfong > Attachments: HIVE-2864.D2265.1.patch, HIVE-2864.D2265.2.patch > > > Currently, if the history file's directory does not exist the Hive client > crashes. Instead, since this is not a vital feature, it should just display > a warning to the user and continue without it. > This will become more important once the directory becomes configurable, see: > https://issues.apache.org/jira/browse/HIVE-1708 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira