HBASE-735 hbase shell doesn't trap CTRL-C signal
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@675658 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f3549073a7
commit
1f13177b07
|
@ -276,6 +276,8 @@ Trunk (unreleased changes)
|
||||||
(Jean-Daniel Cryans via Stack)
|
(Jean-Daniel Cryans via Stack)
|
||||||
HBASE-706 On OOME, regionserver sticks around and doesn't go down with cluster
|
HBASE-706 On OOME, regionserver sticks around and doesn't go down with cluster
|
||||||
(Jean-Daniel Cryans via Stack)
|
(Jean-Daniel Cryans via Stack)
|
||||||
|
HBASE-735 hbase shell doesn't trap CTRL-C signal
|
||||||
|
(Jean-Daniel Cryans via Stack)
|
||||||
|
|
||||||
NEW FEATURES
|
NEW FEATURES
|
||||||
HBASE-47 Option to set TTL for columns in hbase
|
HBASE-47 Option to set TTL for columns in hbase
|
||||||
|
|
|
@ -332,10 +332,6 @@ module IRB
|
||||||
@CONF[:IRB_RC].call(hirb.context) if @CONF[:IRB_RC]
|
@CONF[:IRB_RC].call(hirb.context) if @CONF[:IRB_RC]
|
||||||
@CONF[:MAIN_CONTEXT] = hirb.context
|
@CONF[:MAIN_CONTEXT] = hirb.context
|
||||||
|
|
||||||
trap("SIGINT") do
|
|
||||||
hirb.signal_handle
|
|
||||||
end
|
|
||||||
|
|
||||||
catch(:IRB_EXIT) do
|
catch(:IRB_EXIT) do
|
||||||
hirb.eval_input
|
hirb.eval_input
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue