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

Running distcp wo args throws IllegalArgumentException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-alpha
    • 2.0.2-alpha
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: