arsenalzp commented on issue #5524:
URL: https://github.com/apache/accumulo/issues/5524#issuecomment-2910746081
Hello,
I seems bulk import is done in by
`org.apache.accumulo.server.fs.VolumeManager` implementation, which is
`VolumeManagerImpl`.
```
public void bulkRename(Map<Path,Path> oldToNewPathMap, int poolSize, String
poolName,
FateId fateId) throws IOException {
List<Future<Void>> results = new ArrayList<>();
ExecutorService workerPool =
ThreadPools.getServerThreadPools().getPoolBuilder(poolName)
.numCoreThreads(poolSize).build();
oldToNewPathMap.forEach((oldPath, newPath) ->
results.add(workerPool.submit(() -> {
...
}
```
As I see each call of `fs.bulkRename()` creates a new `ExecutorService`
instance.
--
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]