Connection connection = HBaseFactory.getIns().getHbaseConn();
RegionLocator r= connection.getRegionLocator(TableName.valueOf("mk"));
HRegionLocation location = r.getRegionLocation(Bytes.toBytes("5800001511501"));
HRegionInfo rg = location.getRegionInfo();
String regionname = Bytes.toString(rg.getRegionName());
String strkey = Bytes.toString(rg.getStartKey());
String endkey = Bytes.toString(rg.getEndKey()); System.out.println(regionname);
System.out.println(strkey);
System.out.println(endkey);