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

(cherry picked from commit 422c73a865)
This commit is contained in:
Allen Wittenauer 2016-06-28 07:21:04 -07:00 committed by Yongjun Zhang
parent e02c756f16
commit a5a56c3564
3 changed files with 6 additions and 0 deletions

View File

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

View File

@ -305,6 +305,7 @@ public class TestDistCpOptions {
DistCpOptions option = new DistCpOptions(new Path("abc"), new Path("xyz"));
final 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, sslConfigurationFile='null', "
+ "copyStrategy='uniformsize', preserveStatus=[], "

View File

@ -400,6 +400,7 @@ public class TestOptionsParser {
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, sslConfigurationFile='null', "
+ "copyStrategy='uniformsize', preserveStatus=[], "