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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.0
    • Component/s: None
    • Labels:
      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

            • Assignee:
              dhruba dhruba borthakur
              Reporter:
              mahadev Mahadev konar
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: