The exit patch is just a quick hack to catch the NPE in order to allow ^D to exit hive without a stacktrace.
This issue is fixed and released as part of 0.10.0 release. If you find an issue which seems to be related to this one, please create a new jira and link this one with new jira.
Thanks, set to Fixed
Yup, this is not a problem on the latest trunk.
This is no longer a problem on Hive trunk/recent releases. Was resolved (in a different manner) quite a while ago after a CLI refactor I think.