HBASE-11579 CopyTable should check endtime value only if != 0 (Jean-Marc Spaggiari)
This commit is contained in:
parent
cc61cc3081
commit
7b5a309697
|
@ -248,7 +248,7 @@ public class CopyTable extends Configured implements Tool {
|
||||||
"peer address must be specified");
|
"peer address must be specified");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (startTime > endTime) {
|
if ((endTime != 0) && (startTime > endTime)) {
|
||||||
printUsage("Invalid time range filter: starttime=" + startTime + " > endtime=" + endTime);
|
printUsage("Invalid time range filter: starttime=" + startTime + " > endtime=" + endTime);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue