Hbase查看十六进制代码:
hbase(main):050:0> scan 'test'
row column+cell
row-1 column=f:c1, timestamp=1587984555307, value=\xe7\xa6\x85\xe5\x85\x8b
row-2 column=f:c2, timestamp=1587984555307, value=hbase\xe8\x80\x81\xe5\xba\x97
row-3 column=f:c3, timestamp=1587984555307, value=hbase\xe5\xb7\xa5\xe4\xbd\x9c\xe7\xac\x94\xe8\xae\xb0
row-4 column=f:c4, timestamp=1587984555307, value=\xe6\x88\x91\xe7\x88\xb1\xe4\xbd\xa0\xe4\xb8\xad\xe5\x9b\xbd\xef\xbc\x81
4 row(s) in 0.0190 seconds
用formatter 为tostring方法查看十六进制编码转为中文格式
hbase(main):051:0> scan 'test', {formatter => 'tostring'}
row column+cell
r