Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-2693

When topology is updated twice consecutively with 275ms delay then redeployed topology doesnt have 2nd updates

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.0
    • 2.0.0
    • None
    • None

    Description

      ENV:

      Have a custom topology_1.xml with below provider 

            <provider>
               <role>authorization</role>
               <name>CompositeAuthz</name>
               <enabled>true</enabled>
               <param>
                  <name>AclsAuthz.atlas-api.acl</name>
                  <value>user1;group1;10.10.10.10</value>
               </param> 
            </provider>

      Steps:
      1. Replace acl "user1" value to "guest" using sed
      sed -i -e 's#user1#guest#g' topology_1.xml

      2. Within 250 ms issue another sed command to replace acl "group1" value to "analyst"
      sed -i -e 's#group1#analyst#g' topology_1.xml

      Issue:

      After 5 mins redeployed topology_1.xml still have "group1" as acl value instead of having analyst.

      Attachments

        Issue Links

          Activity

            People

              smolnar Sandor Molnar
              andreina J.Andreina
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m