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/12/13 22:13:19 UTC

[GitHub] [accumulo] milleruntime opened a new issue #2386: Cancel specific external compaction

milleruntime opened a new issue #2386:
URL: https://github.com/apache/accumulo/issues/2386


   A user can call "compact --cancel" on a table which will cancel all compactions for that table. It would be nice to be able to cancel a specific compaction, which I think can now be done easily using the ECID. I think this will only work with external compactions though as we don't have a way to specify an internal compaction.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

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



[GitHub] [accumulo] keith-turner commented on issue #2386: Cancel specific external compaction

Posted by GitBox <gi...@apache.org>.
keith-turner commented on issue #2386:
URL: https://github.com/apache/accumulo/issues/2386#issuecomment-993694464


   What are the use cases for this?  


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

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



[GitHub] [accumulo] dlmarion commented on issue #2386: Cancel specific external compaction

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


   Based on [this](https://github.com/apache/accumulo/blob/main/server/compactor/src/main/java/org/apache/accumulo/compactor/Compactor.java#L196), you can remove the ecid row from tablet metadata


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

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



[GitHub] [accumulo] keith-turner commented on issue #2386: Cancel specific external compaction

Posted by GitBox <gi...@apache.org>.
keith-turner commented on issue #2386:
URL: https://github.com/apache/accumulo/issues/2386#issuecomment-993750265


   > I have a long running compaction that I want to cancel but I don't want to cancel all compactions on a table.
   
   Cancel in the context of the compact command currently has the meaning that it interrupts user compactions and prevents new ones from starting.   May not want to overload this.  Could possibly do something like `compact --restart <table>[<optional start row>:<optional end row>]` which would restart any compactions on a table within for tablets that fall within a given range.  


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

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



[GitHub] [accumulo] dlmarion commented on issue #2386: Cancel specific external compaction

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


   My comment was an idea for implementation. Deleting the `ecid` row from the tablet metadata should cause the Compactor to stop compacting. Not sure what would happen on the tablet server though...
   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

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



[GitHub] [accumulo] milleruntime commented on issue #2386: Cancel specific external compaction

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


   I was thinking of a way to make this easier for the user to call but since the external compactions are experimental I didn't want to introduce anything into the public API yet. I thought I could create a server utility to cancel compactions or modify the Compaction Coordinator to accept a parameter to call a method, something that could be called using the scripts. I am not sure what is the best approach. Thoughts?


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

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



[GitHub] [accumulo] milleruntime commented on issue #2386: Cancel specific external compaction

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


   > and prevents new ones from starting.
   
   Do you mean that it prevents new ones from starting until all compactions have stopped? 


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

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



[GitHub] [accumulo] milleruntime closed issue #2386: Cancel specific external compaction

Posted by GitBox <gi...@apache.org>.
milleruntime closed issue #2386:
URL: https://github.com/apache/accumulo/issues/2386


   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

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



[GitHub] [accumulo] milleruntime commented on issue #2386: Cancel specific external compaction

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


   > What are the use cases for this?
   
   I have a long running compaction that I want to cancel but I don't want to cancel all compactions on a table. My configuration has changed since the long running compaction started and a new compaction with the proper config has started.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

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



[GitHub] [accumulo] keith-turner edited a comment on issue #2386: Cancel specific external compaction

Posted by GitBox <gi...@apache.org>.
keith-turner edited a comment on issue #2386:
URL: https://github.com/apache/accumulo/issues/2386#issuecomment-993750265


   > I have a long running compaction that I want to cancel but I don't want to cancel all compactions on a table.
   
   Cancel in the context of the compact command currently has the meaning that it interrupts user compactions and prevents new ones from starting.   May not want to overload this.  Could possibly do something like `compact --restart <table>[<optional start row>:<optional end row>]` which would restart any compactions on a table for tablets that fall within a given range.  


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

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



[GitHub] [accumulo] keith-turner commented on issue #2386: Cancel specific external compaction

Posted by GitBox <gi...@apache.org>.
keith-turner commented on issue #2386:
URL: https://github.com/apache/accumulo/issues/2386#issuecomment-993755333


   > Based on this, you can remove the ecid row from tablet metadata
   
   Also for internal compactions can kill the tserver running it 


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

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



[GitHub] [accumulo] milleruntime commented on issue #2386: Cancel specific external compaction

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


   @dlmarion @keith-turner are you giving ideas for implementing this enhancement or advocating for alternatives?


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

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