[ https://issues.apache.org/jira/browse/HADOOP-2297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12547423 ]
Edward Yoon commented on HADOOP-2297: ------------------------------------- This is my test code : {code} static class InvokeLauncher extends Thread { private String[] newArgs; private Method main; public InvokeLauncher(Method main, String[] newArgs) { this.newArgs = newArgs; this.main = main; } public void run() { try { try { main.invoke(null, new Object[] { newArgs }); } catch (IllegalAccessException e) { e.printStackTrace(); } catch (InvocationTargetException e) { e.printStackTrace(); } } catch (IllegalArgumentException e) { } } public Thread.UncaughtExceptionHandler getUncaughtExceptionHandler() { return new Thread.UncaughtExceptionHandler() { public void uncaughtException(Thread t, Throwable e) { } }; } } {code} > [Hbase Shell] System.exit() Handling in Jar command > --------------------------------------------------- > > Key: HADOOP-2297 > URL: https://issues.apache.org/jira/browse/HADOOP-2297 > Project: Hadoop > Issue Type: Improvement > Components: contrib/hbase > Affects Versions: 0.15.0 > Reporter: Edward Yoon > Assignee: Edward Yoon > Fix For: 0.16.0 > > Attachments: 2297_v02.patch, 2297_v03.patch, Capture.java > > > I'd like to block the exitVM by System.exit(). > Shell should terminate by "quit" command. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.