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

Running distcp wo args throws IllegalArgumentException

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.0.2-alpha
    • Component/s: None
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      Running distcp w/o args results in the following:

      hadoop-3.0.0-SNAPSHOT $ ./bin/hadoop distcp
      12/05/23 18:49:04 ERROR tools.DistCp: Invalid arguments: 
      java.lang.IllegalArgumentException: Target path not specified
      	at org.apache.hadoop.tools.OptionsParser.parse(OptionsParser.java:86)
      	at org.apache.hadoop.tools.DistCp.run(DistCp.java:102)
      	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
      	at org.apache.hadoop.tools.DistCp.main(DistCp.java:368)
      Invalid arguments: Target path not specified
      

        Attachments

        1. diff1.txt
          0.9 kB
          Sandy Ryza

          Activity

            People

            • Assignee:
              sandyr Sandy Ryza
              Reporter:
              eli2 Eli Collins
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: