HADOOP-13034. Log message about input options in distcp lacks some items (Takashi Ohnishi via aw)

This commit is contained in:
Allen Wittenauer 2016-06-28 07:21:04 -07:00
parent 23c3ff85a9
commit 422c73a865
2 changed files with 5 additions and 0 deletions

View File

@ -632,6 +632,10 @@ public class DistCpOptions {
", deleteMissing=" + deleteMissing + ", deleteMissing=" + deleteMissing +
", ignoreFailures=" + ignoreFailures + ", ignoreFailures=" + ignoreFailures +
", overwrite=" + overwrite + ", overwrite=" + overwrite +
", append=" + append +
", useDiff=" + useDiff +
", fromSnapshot=" + fromSnapshot +
", toSnapshot=" + toSnapshot +
", skipCRC=" + skipCRC + ", skipCRC=" + skipCRC +
", blocking=" + blocking + ", blocking=" + blocking +
", numListstatusThreads=" + numListstatusThreads + ", numListstatusThreads=" + numListstatusThreads +

View File

@ -387,6 +387,7 @@ public class TestOptionsParser {
DistCpOptions option = new DistCpOptions(new Path("abc"), new Path("xyz")); DistCpOptions option = new DistCpOptions(new Path("abc"), new Path("xyz"));
String val = "DistCpOptions{atomicCommit=false, syncFolder=false, " String val = "DistCpOptions{atomicCommit=false, syncFolder=false, "
+ "deleteMissing=false, ignoreFailures=false, overwrite=false, " + "deleteMissing=false, ignoreFailures=false, overwrite=false, "
+ "append=false, useDiff=false, fromSnapshot=null, toSnapshot=null, "
+ "skipCRC=false, blocking=true, numListstatusThreads=0, maxMaps=20, " + "skipCRC=false, blocking=true, numListstatusThreads=0, maxMaps=20, "
+ "mapBandwidth=100.0, " + "mapBandwidth=100.0, "
+ "copyStrategy='uniformsize', preserveStatus=[], " + "copyStrategy='uniformsize', preserveStatus=[], "