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

Remove redundant -R option from setrep

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.0, 3.0.0-alpha1
    • 2.2.0
    • tools
    • None

    Description

      The -R option to setrep is redundant because it is required for directory targets and ignored for file targets.

      We can just remove the option and make -R the default for directories.

      Attachments

        1. HDFS-5139.01.patch
          2 kB
          Arpit Agarwal
        2. HDFS-5139.02.patch
          8 kB
          Arpit Agarwal
        3. HDFS-5139.03.patch
          10 kB
          Arpit Agarwal
        4. HDFS-5139.04.patch
          11 kB
          Arpit Agarwal

        Issue Links

        Activity

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

          People

            arp Arpit Agarwal Assign to me
            arp Arpit Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment