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

ZKFC should use getAversion() while setting the zkacl

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha4
    • None
    • None
    • 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

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

          People

            brahmareddy Brahma Reddy Battula
            brahmareddy Brahma Reddy Battula
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment