dlmarion commented on code in PR #5490:
URL: https://github.com/apache/accumulo/pull/5490#discussion_r2052920199


##########
core/src/main/java/org/apache/accumulo/core/clientImpl/OfflineIterator.java:
##########
@@ -345,9 +245,13 @@ private SortedKeyValueIterator<Key,Value> 
createIterator(KeyExtent extent,
 
     MultiIterator multiIter = new MultiIterator(readers, extent);
 
-    OfflineIteratorEnvironment iterEnv =
-        new OfflineIteratorEnvironment(context, tableId, authorizations, 
tableCC, false,
-            samplerConfImpl == null ? null : 
samplerConfImpl.toSamplerConfiguration());
+    ClientIteratorEnvironment.Builder iterEnvBuilder =
+        new 
ClientIteratorEnvironment.Builder().withAuthorizations(authorizations)
+            
.withScope(IteratorScope.scan).withTableId(tableId).withClient(context);
+    if (scannerSamplerConfig != null) {
+      iterEnvBuilder.withSamplerConfiguration(scannerSamplerConfig);
+    }
+    IteratorEnvironment iterEnv = iterEnvBuilder.build();

Review Comment:
   Fixed the `samplerConfImpl` issue in c14c35f



-- 
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-unsubscr...@accumulo.apache.org

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

Reply via email to