[ https://issues.apache.org/jira/browse/HIVE-2864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227726#comment-13227726 ]
Phabricator commented on HIVE-2864: ----------------------------------- njain has commented on the revision "HIVE-2864 [jira] If hive history file's directory doesn't exist don't crash". INLINE COMMENTS cli/src/java/org/apache/hadoop/hive/cli/CliDriver.java:661 If these lines run into an error, the error will get propagated all the way up. Can you catch this error, and have a system.err... in case of that ? Basically, the client should not die due to any problems with history file. REVISION DETAIL https://reviews.facebook.net/D2265 > 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 > > > 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