dlmarion commented on issue #2028:
URL: https://github.com/apache/accumulo/issues/2028#issuecomment-828415033


   I just ran into this. I think what's happening is that the Compactor fails 
because split is called and the compaction is cancelled. The tablet must have 
split and when the Compactor calls getNextJob() the Coordinator has another one 
ready to go. Here is the log from the Compactor:
   ```
   2021-04-28T12:23:22,738 [coordinator.CompactionCoordinator] DEBUG: 
getCompactionJob called for queue DCQ1 by compactor 
ip-10-113-12-209.evoforge.org:9101
   2021-04-28T12:23:22,739 [coordinator.CompactionCoordinator] DEBUG: Getting 
compaction for queue DCQ1 from tserver ip-10-113-12-209.evoforge.org:42012
   2021-04-28T12:23:22,775 [coordinator.CompactionCoordinator] DEBUG: Returning 
external job ECID:36f38535-2a9b-450f-b5dd-f02ef27e8ddf to 
ip-10-113-12-209.evoforge.org:9101
   2021-04-28T12:23:22,799 [coordinator.CompactionCoordinator] INFO : 
Compaction status update, id: ECID:36f38535-2a9b-450f-b5dd-f02ef27e8ddf, 
timestamp: 1619612602791, state: STARTED, message: Compaction started
   2021-04-28T12:23:23,213 [test.TestCompactionCoordinator] DEBUG: Returning 
metrics: started: 1, running: 1, completed: 0, failed: 0
   2021-04-28T12:23:24,436 [test.TestCompactionCoordinator] DEBUG: Returning 
metrics: started: 1, running: 1, completed: 0, failed: 0
   2021-04-28T12:23:24,694 [test.TestCompactionCoordinator] DEBUG: Returning 
metrics: started: 1, running: 1, completed: 0, failed: 0
   2021-04-28T12:23:24,954 [test.TestCompactionCoordinator] DEBUG: Returning 
metrics: started: 1, running: 1, completed: 0, failed: 0
   2021-04-28T12:23:25,218 [test.TestCompactionCoordinator] DEBUG: Returning 
metrics: started: 1, running: 1, completed: 0, failed: 0
   2021-04-28T12:23:25,480 [test.TestCompactionCoordinator] DEBUG: Returning 
metrics: started: 1, running: 1, completed: 0, failed: 0
   2021-04-28T12:23:25,738 [test.TestCompactionCoordinator] DEBUG: Returning 
metrics: started: 1, running: 1, completed: 0, failed: 0
   2021-04-28T12:23:25,997 [test.TestCompactionCoordinator] DEBUG: Returning 
metrics: started: 1, running: 1, completed: 0, failed: 0
   2021-04-28T12:23:26,256 [test.TestCompactionCoordinator] DEBUG: Returning 
metrics: started: 1, running: 1, completed: 0, failed: 0
   2021-04-28T12:23:26,513 [test.TestCompactionCoordinator] DEBUG: Returning 
metrics: started: 1, running: 1, completed: 0, failed: 0
   2021-04-28T12:23:26,668 [server.GarbageCollectionLogger] DEBUG: gc G1 Young 
Generation=0.08(+0.01) secs G1 Old Generation=0.00(+0.00) secs 
freemem=207,560,904(-13,765,624) totalmem=268,435,456
   2021-04-28T12:23:26,778 [test.TestCompactionCoordinator] DEBUG: Returning 
metrics: started: 1, running: 1, completed: 0, failed: 0
   2021-04-28T12:23:26,832 [coordinator.CompactionCoordinator] INFO : 
Compaction status update, id: ECID:36f38535-2a9b-450f-b5dd-f02ef27e8ddf, 
timestamp: 1619612606831, state: CANCELLED, message: Compaction cancelled
   2021-04-28T12:23:26,841 [coordinator.CompactionCoordinator] INFO : 
Compaction failed, id: ECID:36f38535-2a9b-450f-b5dd-f02ef27e8ddf
   2021-04-28T12:23:26,872 [coordinator.CompactionCoordinator] DEBUG: 
getCompactionJob called for queue DCQ1 by compactor 
ip-10-113-12-209.evoforge.org:9101
   2021-04-28T12:23:26,873 [coordinator.CompactionCoordinator] DEBUG: Getting 
compaction for queue DCQ1 from tserver ip-10-113-12-209.evoforge.org:42012
   2021-04-28T12:23:26,884 [coordinator.CompactionCoordinator] DEBUG: Returning 
external job ECID:acd7e431-505f-4e7b-9315-108e11ccf620 to 
ip-10-113-12-209.evoforge.org:9101
   2021-04-28T12:23:26,888 [coordinator.CompactionCoordinator] INFO : 
Compaction status update, id: ECID:acd7e431-505f-4e7b-9315-108e11ccf620, 
timestamp: 1619612606887, state: STARTED, message: Compaction 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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to