milleruntime commented on issue #2341:
URL: https://github.com/apache/accumulo/issues/2341#issuecomment-961067347


   OK I finally was able to reproduce it locally using Uno and ChunkCombiner 
from examples. It is a bit of a pain to reproduce since it is a very specific 
situation but a good find either way. To add another layer to this bug, I also 
noticed testing that it depends on whether native map is used or not.
   
   Natvie map iterator has no problem loading:
   <pre>
   2021-11-04T10:04:53,287 [system.LocalityGroupIterator] INFO : DUDE about to 
cast for lg 
org.apache.accumulo.core.iteratorsImpl.system.LocalityGroupIterator$LocalityGroup@9abcd34
 lg.iter = class org.apache.accumulo.tserver.NativeMap$NMSKVIter
   </pre>
   But when not using them, you get the cast exception.
   <pre>
   2021-11-04T09:00:59,228 [system.LocalityGroupIterator] INFO : DUDE about to 
cast for lg 
org.apache.accumulo.core.iteratorsImpl.system.LocalityGroupIterator$LocalityGroup@75d0c58f
 lg.iter = class 
org.apache.accumulo.core.iteratorsImpl.system.InterruptibleMapIterator
   2021-11-04T09:00:59,228 [compaction.FileCompactor] ERROR: class 
org.apache.accumulo.core.iterators.SortedMapIterator cannot be cast to class 
org.apache.accumulo.core.iteratorsImpl.system.InterruptibleIterator 
(org.apache.accumulo.core.iterators.SortedMapIterator and 
org.apache.accumulo.core.iteratorsImpl.system.InterruptibleIterator are in 
unnamed module of loader 'app')
   </pre>


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

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


Reply via email to