Text end = endRow.length == 0 ? null : new Text(endRow);
Text tableIdText = new Text(tableId);
if (start != null && end != null)
if (start.compareTo(end) >= 0)
throw new ThriftTableOperationException(tableId, null, TableOperation.MERGE, TableOperationExceptionType.BAD_RANGE,
"start row must be less than end row");
env.mustBeOnline(tableId);
MergeInfo info = env.getMergeInfo(tableIdText);