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 String toString() {
", deleteMissing=" + deleteMissing +
", ignoreFailures=" + ignoreFailures +
", overwrite=" + overwrite +
", append=" + append +
", useDiff=" + useDiff +
", fromSnapshot=" + fromSnapshot +
", toSnapshot=" + toSnapshot +
", skipCRC=" + skipCRC +
", blocking=" + blocking +
", numListstatusThreads=" + numListstatusThreads +

View File

@ -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=[], "