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


   > > @keith-ratcliffe do you know if you may have different version of 
iterators on your classpath? ...
   > 
   > As far as Accumulo iterators, I only have the 2.1.0-SNAPSHOT versions on 
the classpath. In the deepCopy example you ran, did the code path include 
`LocalityGroupIterator`? Seems like that's one of the few, if not only, ways to 
trigger that explicit cast on deepCopy
   
   Actually, I am not sure that matters. The `FileCompactor` will call the 
method even without any locality groups setup. Here is the part of the code in 
`compactLocalityGroup()` that creates the `ColumnFamilySkippingIterator` and 
then loads the configured iterators:
   
https://github.com/apache/accumulo/blob/146b1d3d0dc2ade6f1888c9905d83e37d98aedbe/server/base/src/main/java/org/apache/accumulo/server/compaction/FileCompactor.java#L351-L359
   
   And here is the only place that method gets called. It will get called at 
least once (or once for each LG + 1):
   
https://github.com/apache/accumulo/blob/146b1d3d0dc2ade6f1888c9905d83e37d98aedbe/server/base/src/main/java/org/apache/accumulo/server/compaction/FileCompactor.java#L219-L228


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