import happybase
conn = happybase.Connection("hadoop103", 9090)
print( conn.tables())
table=conn.table('zhy')
# table.put('test2',{'info:data':'2222'})
table.put('test2',{'info:data2':'2222'})
table.put('test3',{'info:data2':'2222'})
row=table.row('test2')
print(row)
table=conn.table('student')
# table.put('test2',{'info:data':'2222'})
table.put('1001',{'info:data2':'2222'})
table.put('1002',{'info3:data2':'2222'})
row=table.rows(['1001','1002'])
print(row)
ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝,无法连接。