hbase的rowkey问题?????

hbase是其他人建好的,如何知道rowkey
用java api 试试了
public class myclass {
static Configuration conf=HBaseConfiguration.create();
public static void main(String[] args) throws IOException {
HTable table = new HTable(conf,"表名称");
Scan scan = new Scan();
ResultScanner rs = table.getScanner(scan);
Result jg = rs.next();
KeyValue sz[ ] = jg.raw();
KeyValue hh=sz[0];
System.out.print(hh.getKeyString());
输出结果:\x00\x1B\x00\x001425139209016230600645069\x011\x0D\x00\x00\x01K\xD0\xEA\x93(\x04

用Get方法
Get get = new Get(Bytes.toBytes(上面的得结果));
返回空
上面结果的几种组合都试了试,比如去掉“\x00\x1B\x00\x00”部分,或去掉“\x011\x0D\x00\x00\x01K\xD0\xEA\x93(\x04”部分,包括加\,都不行

参考how to list all row keys in an hbase table?

Configuration conf = HBaseConfiguration.create();
HTable table = new HTable(conf, tableName.getBytes());

System.out.println("scanning full table:");
ResultScanner scanner = table.getScanner(new Scan());
for (Result rr = scanner.next(); rr != null; rr = scanner.next()) {
  byte[] key == rr.getRow();
}