[ 
https://issues.apache.org/jira/browse/HIVE-2134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashutosh Chauhan updated HIVE-2134:
-----------------------------------

    Attachment: hive_2134.patch

Now throws the exception instead of doing System.exit. Didn't do it in 
MetaStoreUtils since there it is launched in a thread and run() doesn't allow 
to throw checked exceptions. I could have casted exception into 
RuntimeException but even that would not make sense because once exception is 
thrown in thread, there is no one who can catch it and do something with it.

> Remove System.exit 
> -------------------
>
>                 Key: HIVE-2134
>                 URL: https://issues.apache.org/jira/browse/HIVE-2134
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>             Fix For: 0.8.0
>
>         Attachments: hive_2134.patch, no_sysexit.patch
>
>
> System.exit exists in various places in code. Its good to get rid of it.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to