import happybase # HBase的连接信息 hbase_host = '192.168.23.128' hbase_table_name = 'bigdata' # 创建HBase连接 connection = happybase.Connection(host=hbase_host) print(connection.tables()) # 关闭连接 connection.close()