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

Remove duplicated error message for snapshot commands when processing invalid arguments

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment