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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 2.1.1-beta
    • snapshots
    • None
    • 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.001.patch
          3 kB
          Jing Zhao
        2. HDFS-5111.002.patch
          2 kB
          Jing Zhao

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: