Add comment

This commit is contained in:
Björn Busse 2021-03-04 23:10:25 +01:00
parent ee0e1724e7
commit 46ef8a179d
1 changed files with 1 additions and 0 deletions

View File

@ -743,6 +743,7 @@ if __name__ == '__main__':
level = logging.getLevelName(loglevel) level = logging.getLevelName(loglevel)
logger.setLevel(level) logger.setLevel(level)
# Try the hbase from test suite if no hbase on PATH
if not which('hbase'): if not which('hbase'):
if os.access(cmd_hbase_test, os.X_OK): if os.access(cmd_hbase_test, os.X_OK):
cmd_hbase = cmd_hbase_test cmd_hbase = cmd_hbase_test