You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2021/05/05 15:47:22 UTC

[GitHub] [accumulo] keith-turner opened a new issue #2082: Remove compactors in ZK w/ no children

keith-turner opened a new issue #2082:
URL: https://github.com/apache/accumulo/issues/2082


   Compactors register their-self in ZK w/ a service lock.  Service locks are a persistent node w/ ephemeral nodes underneath.  If compactors come and go and different addresse+port, then this can pollute ZK w/ persistent host+port nodes w/o any children.  The Coordinator should periodically scan for persistent compactor nodes w/ no children and delete them.
   
   The manager does a similar thing for Tservers in the class LiverTserverSet, however the handling of this case in the manager is mixed in w/ lots of other things.  One thing worth taking from the Manager code is [ignoring the ZK NotEmptyException](https://github.com/apache/accumulo/blob/16a3cec36981a694ecdfbefb839ecf9ddd70a535/server/base/src/main/java/org/apache/accumulo/server/manager/LiveTServerSet.java#L280-L288) when trying to delete.  This a race condition that could occur in the case where between reading the children from ZK and deleting that something was created.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [accumulo] dlmarion commented on issue #2082: Remove compactors in ZK w/ no children

Posted by GitBox <gi...@apache.org>.
dlmarion commented on issue #2082:
URL: https://github.com/apache/accumulo/issues/2082#issuecomment-836627390


   was this addressed in b9ddb33c5920663990885bae5a17b90f0976315f?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [accumulo] keith-turner closed issue #2082: Remove compactors in ZK w/ no children

Posted by GitBox <gi...@apache.org>.
keith-turner closed issue #2082:
URL: https://github.com/apache/accumulo/issues/2082


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org