Hadoop Common
  1. Hadoop Common
  2. HADOOP-8431

Running distcp wo args throws IllegalArgumentException

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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
      
      1. diff1.txt
        0.9 kB
        Sandy Ryza

        Activity

        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Eli Collins made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Target Version/s 2.2.0-alpha [ 12322473 ]
        Fix Version/s 2.2.0-alpha [ 12322473 ]
        Resolution Fixed [ 1 ]
        Eli Collins made changes -
        Assignee Sandy Ryza [ sandyr ]
        Sandy Ryza made changes -
        Attachment diff1.txt [ 12544091 ]
        Sandy Ryza made changes -
        Status Reopened [ 4 ] Patch Available [ 10002 ]
        Eli Collins made changes -
        Target Version/s 2.1.0-alpha [ 12321441 ] 2.2.0-alpha [ 12322473 ]
        Eli Collins made changes -
        Resolution Cannot Reproduce [ 5 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Sho Shimauchi made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Cannot Reproduce [ 5 ]
        Eli Collins created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development