Apache9 commented on PR #4737:
URL: https://github.com/apache/hbase/pull/4737#issuecomment-1229487119

   ```
   diff --git a/hbase-shell/src/main/ruby/shell.rb 
b/hbase-shell/src/main/ruby/shell.rb
   index f6b3efd945..4bffdaacab 100644
   --- a/hbase-shell/src/main/ruby/shell.rb
   +++ b/hbase-shell/src/main/ruby/shell.rb
   @@ -108,6 +108,9 @@ module Shell
        # exit the interactive shell and save that this
        # happend via a call to exit
        def exit(ret = 0)
   +      if self.hbase
   +        self.hbase.shutdown
   +      end
          @exit_code = ret
          IRB.irb_exit(IRB.CurrentContext.irb, ret)
        end
   ```
   
   Apply this to branch-2.5 can make the shell quit immediately when typing 
'exit' command, but when calling 'quit' command it will still hang there... I'm 
not sure how we do we deal with the 'quit' command...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hbase.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to