Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14543

ZKFC should use getAversion() while setting the zkacl

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-alpha4
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      while setting the zkacl we used getVersion() which is dataVersion,Ideally we should use getAversion(). If there is any acl changes( i.e relam change/..) ,we set the ACL with dataversion which will cause BADVersion and process will not start. See here

      zkClient.setACL(path, zkAcl, stat.getVersion());

        Attachments

        1. HADOOP-14543-003.patch
          3 kB
          Brahma Reddy Battula
        2. HADOOP-14543-002.patch
          3 kB
          Brahma Reddy Battula
        3. HADOOP-14543.patch
          1.0 kB
          Brahma Reddy Battula

        Issue Links

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              brahmareddy Brahma Reddy Battula Assign to me
              Reporter:
              brahmareddy Brahma Reddy Battula

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment