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

DFSShell throws out arrayoutofbounds exceptions if the number of arguments is not right

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.8.0
    • None
    • None

    Description

      All the DFSShell commands do not check for the number of arguments. In DFSShell.run(), the args length is not checked before calling copyfromlocal, movefromlocal, copytolocal, and some others as well. This throws out arrrayoutofbounds exception in case lesser number of arguments is specified.

      Attachments

        1. dfsshell.patch.3
          15 kB
          Dhruba Borthakur

        Activity

          People

            dhruba Dhruba Borthakur
            mahadev Mahadev Konar
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: