(base) sbusbey@Seans-MacBook-Pro Downloads % cd hbase-2.2.7 (base) sbusbey@Seans-MacBook-Pro hbase-2.2.7 % ./bin/start-hbase.sh running master, logging to /Users/sbusbey/Downloads/hbase-2.2.7/bin/../logs/hbase-sbusbey-master-seans-mbp.lan.out (base) sbusbey@Seans-MacBook-Pro hbase-2.2.7 % ./bin/hbase version HBase 2.2.7 Source code repository git://hao-OptiPlex-7050/home/hao/open_source/hbase revision=0fc18a9056e5eb3a80fdbde916865607946c5195 Compiled by hao on 2021年 04月 11日 星期日 19:24:57 CST From source with checksum 7d77e075e35dfbe689167abee1e88e29 (base) sbusbey@Seans-MacBook-Pro hbase-2.2.7 % ./bin/hbase shell ../tmp/clean_exit.rb 2021-11-19 00:00:24,329 WARN [main] util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable TABLE 0 row(s) Took 0.3260 seconds (base) sbusbey@Seans-MacBook-Pro hbase-2.2.7 % echo $? 0 (base) sbusbey@Seans-MacBook-Pro hbase-2.2.7 % ./bin/hbase shell -n ../tmp/clean_exit.rb 2021-11-19 00:00:35,463 WARN [main] util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable TABLE 0 row(s) Took 0.3103 seconds (base) sbusbey@Seans-MacBook-Pro hbase-2.2.7 % echo $? 0 (base) sbusbey@Seans-MacBook-Pro hbase-2.2.7 % ./bin/hbase shell ../tmp/error_exit.rb 2021-11-19 00:00:49,340 WARN [main] util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable TABLE 0 row(s) Took 0.3197 seconds (base) sbusbey@Seans-MacBook-Pro hbase-2.2.7 % echo $? 1 (base) sbusbey@Seans-MacBook-Pro hbase-2.2.7 % ./bin/hbase shell -n ../tmp/error_exit.rb 2021-11-19 00:01:01,719 WARN [main] util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable TABLE 0 row(s) Took 0.3496 seconds (base) sbusbey@Seans-MacBook-Pro hbase-2.2.7 % echo $? 1 (base) sbusbey@Seans-MacBook-Pro hbase-2.2.7 % ./bin/hbase shell < ../tmp/clean_exit.rb 2021-11-19 00:01:21,021 WARN [main] util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable HBase Shell Use "help" to get list of supported commands. Use "exit" to quit this interactive shell. For Reference, please visit: http://hbase.apache.org/2.0/book.html#shell Version 2.2.7, r0fc18a9056e5eb3a80fdbde916865607946c5195, 2021年 04月 11日 星期日 19:24:57 CST Took 0.0018 seconds list TABLE 0 row(s) Took 0.3080 seconds [] exit (base) sbusbey@Seans-MacBook-Pro hbase-2.2.7 % echo $? 0 (base) sbusbey@Seans-MacBook-Pro hbase-2.2.7 % ./bin/hbase shell -n < ../tmp/clean_exit.rb 2021-11-19 00:01:36,303 WARN [main] util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable TABLE 0 row(s) Took 0.3178 seconds ERROR SystemExit: exit (base) sbusbey@Seans-MacBook-Pro hbase-2.2.7 % echo $? 1 (base) sbusbey@Seans-MacBook-Pro hbase-2.2.7 % ./bin/hbase shell < ../tmp/error_exit.rb 2021-11-19 00:02:01,062 WARN [main] util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable HBase Shell Use "help" to get list of supported commands. Use "exit" to quit this interactive shell. For Reference, please visit: http://hbase.apache.org/2.0/book.html#shell Version 2.2.7, r0fc18a9056e5eb3a80fdbde916865607946c5195, 2021年 04月 11日 星期日 19:24:57 CST Took 0.0021 seconds list TABLE 0 row(s) Took 0.3155 seconds [] exit 1 (base) sbusbey@Seans-MacBook-Pro hbase-2.2.7 % echo $? 0 (base) sbusbey@Seans-MacBook-Pro hbase-2.2.7 % ./bin/hbase shell -n < ../tmp/error_exit.rb 2021-11-19 00:02:19,003 WARN [main] util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable TABLE 0 row(s) Took 0.3340 seconds ERROR SystemExit: exit (base) sbusbey@Seans-MacBook-Pro hbase-2.2.7 % echo $? 1 (base) sbusbey@Seans-MacBook-Pro hbase-2.2.7 %