milleruntime edited a comment on issue #1872:
URL: https://github.com/apache/accumulo/issues/1872#issuecomment-774113139


   > In 1.10 there is also some code w/ the intent to cancel compactions.
   > 
   > 
https://github.com/apache/accumulo/blob/018756754ff0f289a8b30f846af8b7092270318d/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java#L1365
   > 
   > Wonder if these are working as intended.
   
   I was able to see a compaction cancelled while testing 1.10. This exception 
was thrown in the compactor:
   
https://github.com/apache/accumulo/blob/0a9837f3f8395d89c5cd7bab7805c4aae28919be/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Compactor.java#L406
   ```
   tserver_2.debug.log:2021-02-05 10:25:33,463 [tablet.Tablet] DEBUG: Starting 
MajC e<;9 (NORMAL) 
[hdfs://localhost:8020/accumulo/tables/e/b-00000mp/I00000ms.rf, 
hdfs://localhost:8020/accumulo/tables/e/default_tablet/A00000g5.rf, 
hdfs://localhost:8020/accumulo/tables/e/b-00000mp/I00000mr.rf, 
hdfs://localhost:8020/accumulo/tables/e/b-00000mp/I00000mv.rf, 
hdfs://localhost:8020/accumulo/tables/e/b-00000mp/I00000mq.rf, 
hdfs://localhost:8020/accumulo/tables/e/b-00000mp/I00000mw.rf, 
hdfs://localhost:8020/accumulo/tables/e/b-00000mp/I00000mt.rf, 
hdfs://localhost:8020/accumulo/tables/e/b-00000mp/I00000mu.rf] --> 
hdfs://localhost:8020/accumulo/tables/e/default_tablet/A00000g6.rf_tmp  []
   master.log: 2021-02-05 10:25:34,235 [tables.TableManager] DEBUG: 
Transitioning state for table e from ONLINE to DELETING
   tserver_2.debug.log:2021-02-05 10:25:34,402 [tablet.Tablet] DEBUG: 
initiateClose(saveState=false queueMinC=false disableWrites=false) e<;9
   tserver_2.debug.log:2021-02-05 10:25:34,828 [tablet.Tablet] DEBUG: Major 
compaction canceled, extent = e<;9
   tserver_2.debug.log:2021-02-05 10:25:34,828 [tablet.Tablet] DEBUG: 
completeClose(saveState=false completeClose=true) e<;9
   tserver_2.debug.log:2021-02-05 10:25:34,828 [tablet.Tablet] TABLET_HIST: 
e<;9 closed
   tserver_2.debug.log:2021-02-05 10:25:34,828 [tserver.TabletServer] DEBUG: 
Unassigning e<;9@(null,localhost:11000[100007e21d80002],null)
   tserver_2.debug.log:2021-02-05 10:25:34,841 [tserver.TabletServer] INFO : 
unloaded e<;9
   ```


----------------------------------------------------------------
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:
[email protected]


Reply via email to