Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MapProcessor 添加子任务报错 #891

Open
huyingshan opened this issue Apr 11, 2024 · 0 comments
Open

MapProcessor 添加子任务报错 #891

huyingshan opened this issue Apr 11, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@huyingshan
Copy link

// 执行采集 List<CollectionSubTask> collectionSubTasks = collectionService.processCollection(subTask); // 分发子任务 if (ListUtils.isNotEmpty(collectionSubTasks)) { List<List<CollectionSubTask>> partitions = ListUtils.partition(collectionSubTasks, 200); for (List<CollectionSubTask> partition : partitions) { map(partition, "采集子任务"); } }
tech.powerjob.common.exception.PowerJobCheckedException: java.util.concurrent.TimeoutException at tech.powerjob.worker.common.utils.TransportUtils.reliableMapTask(TransportUtils.java:80) at tech.powerjob.worker.core.processor.sdk.MapProcessor.map(MapProcessor.java:57) at com.data.cube.work.processor.DataCollectionProcessor.process(DataCollectionProcessor.java:102) at tech.powerjob.worker.core.processor.runnable.HeavyProcessorRunnable.innerRun(HeavyProcessorRunnable.java:92) at tech.powerjob.worker.core.processor.runnable.HeavyProcessorRunnable.run(HeavyProcessorRunnable.java:244) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.util.concurrent.TimeoutException: null at java.base/java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1960) at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2095) at tech.powerjob.worker.common.utils.TransportUtils.reliableAsk(TransportUtils.java:104) at tech.powerjob.worker.common.utils.TransportUtils.reliableMapTask(TransportUtils.java:78) ... 9 common frames omitted

@huyingshan huyingshan added the bug Something isn't working label Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants