Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5111

Remove duplicated error message for snapshot commands when processing invalid arguments

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 2.1.1-beta
    • Component/s: snapshots
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The FSShell commands CreateSnapshot/DeleteSnapshot/RenameSnapshot currently may output duplicated error msg. E.g., when trying to create snapshot on a file, we have the following error msg:

      createSnapshot: `/newFile': Is not a directory
      createSnapshot: `/newFile': Is not a directory
      

        Attachments

        1. HDFS-5111.002.patch
          2 kB
          Jing Zhao
        2. HDFS-5111.001.patch
          3 kB
          Jing Zhao

          Issue Links

            Activity

              People

              • Assignee:
                jingzhao Jing Zhao
                Reporter:
                jingzhao Jing Zhao
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: