Uh oh!
There was an error while loading. Please reload this page.
HBASE-28345 Close HBase connection on exit from HBase Shell - #5665
Conversation
| # happend via a call to exit | ||
| def exit(ret = 0) | ||
| # Non-deamon Netty threadpool in ZK ClientCnxnSocketNetty cannot be shut down otherwise | ||
| self.hbase.shutdown |
There was a problem hiding this comment.
If shutdown throws an exception then shell won't exit. Shouldn't we ignore the exceptions?
There was a problem hiding this comment.
Makes sense.
Modified to ignore exceptions from close.
Apache-HBase
commented
Feb 6, 2024
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Feb 6, 2024
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Feb 6, 2024
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Feb 6, 2024
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Feb 6, 2024
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Feb 6, 2024
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Feb 6, 2024
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Feb 6, 2024
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Feb 6, 2024
🎊 +1 overall
This message was automatically generated. |
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org> Signed-off-by: Balazs Meszaros <meszibalu@apache.org>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org> Signed-off-by: Balazs Meszaros <meszibalu@apache.org>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org> Signed-off-by: Balazs Meszaros <meszibalu@apache.org>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org> Signed-off-by: Balazs Meszaros <meszibalu@apache.org>
…se Shell (apache#5665) Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org> Signed-off-by: Balazs Meszaros <meszibalu@apache.org>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org> Signed-off-by: Balazs Meszaros <meszibalu@apache.org>
No description provided.