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

ZKFC should use getAversion() while setting the zkacl

    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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: