Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-13034

Log message about input options in distcp lacks some items

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 2.9.0, 3.0.0-alpha1
    • tools/distcp
    • None

    Description

      The log message in running distcp does not show some options, i.e. append, useDiff and snapshot names.

      16/04/18 21:57:36 INFO tools.DistCp: Input Options: DistCpOptions{atomicCommit=false, syncFolder=true, deleteMissing=false, ignoreFailures=false, overwrite=false, skipCRC=false, blocking=true, numListstatusThreads=0, maxMaps=20, mapBandwidth=100.0, copyStrategy='uniformsize', preserveStatus=[], preserveRawXattrs=false, atomicWorkPath=null, logPath=null, sourceFileListing=null, sourcePaths=[/user/hadoop/source], targetPath=/user/hadoop/target, targetPathExists=true, filtersFile='null'}
      

      I think that this message is useful for debugging and so it is better to add the lacked options.

      Attachments

        1. HADOOP-13034.1.patch
          2 kB
          Takashi Ohnishi

        Activity

          People

            bwtakacy Takashi Ohnishi
            bwtakacy Takashi Ohnishi
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: