HADOOP-13034. Log message about input options in distcp lacks some items (Takashi Ohnishi via aw)
This commit is contained in:
parent
23c3ff85a9
commit
422c73a865
@ -632,6 +632,10 @@ public String toString() {
|
||||
", deleteMissing=" + deleteMissing +
|
||||
", ignoreFailures=" + ignoreFailures +
|
||||
", overwrite=" + overwrite +
|
||||
", append=" + append +
|
||||
", useDiff=" + useDiff +
|
||||
", fromSnapshot=" + fromSnapshot +
|
||||
", toSnapshot=" + toSnapshot +
|
||||
", skipCRC=" + skipCRC +
|
||||
", blocking=" + blocking +
|
||||
", numListstatusThreads=" + numListstatusThreads +
|
||||
|
@ -387,6 +387,7 @@ public void testToString() {
|
||||
DistCpOptions option = new DistCpOptions(new Path("abc"), new Path("xyz"));
|
||||
String val = "DistCpOptions{atomicCommit=false, syncFolder=false, "
|
||||
+ "deleteMissing=false, ignoreFailures=false, overwrite=false, "
|
||||
+ "append=false, useDiff=false, fromSnapshot=null, toSnapshot=null, "
|
||||
+ "skipCRC=false, blocking=true, numListstatusThreads=0, maxMaps=20, "
|
||||
+ "mapBandwidth=100.0, "
|
||||
+ "copyStrategy='uniformsize', preserveStatus=[], "
|
||||
|
Loading…
Reference in New Issue
Block a user