String htableName = args[0]; logger.info(args[1]); byte[] startKey = BytesUtil.fromReadableText(args[1]); logger.info(args[2]); byte[] endKey = BytesUtil.fromReadableText(args[2]);
@Test public void testReadable() { String x = "\\x00\\x00\\x00\\x00\\x00\\x01\\xFC\\xA8"; byte[] bytes = BytesUtil.fromReadableText(x); String y = BytesUtil.toHex(bytes); assertEquals(x, y); }
String dd = "\\x00\\x00\\x00\\x00\\x01\\x41\\xBE\\x8F\\xD8\\x07\\x00\\x18\\x00\\x00\\x00"; byte[] bytes = BytesUtil.fromReadableText(dd); long ttt = BytesUtil.readLong(bytes, 2, 8); System.out.println(time(ttt));
String htableName = args[0]; System.out.println(args[1]); byte[] startKey = BytesUtil.fromReadableText(args[1]); System.out.println(args[2]); byte[] endKey = BytesUtil.fromReadableText(args[2]);
String htableName = args[0]; logger.info(args[1]); byte[] startKey = BytesUtil.fromReadableText(args[1]); logger.info(args[2]); byte[] endKey = BytesUtil.fromReadableText(args[2]);