Hello,
We got the error below when uploading files to Dremio. Can you help to identify the problem? Thank you so much.
2018-08-03 15:20:01,954 [249b8d5d-cbf0-c360-5933-71d6d7f04000:foreman] ERROR c.d.e.p.f.HardAffinityFragmentParallelizer - Number of mandatory endpoints (2) that require an assignment is more than the allowed fragment max width (1).
2018-08-03 15:20:01,954 [249b8d5d-cbf0-c360-5933-71d6d7f04000:foreman] INFO query.logger - {"queryId":"249b8d5d-cbf0-c360-5933-71d6d7f04000","schema":"","queryText":"select * from table(\"__home\".dremio_data_dist.pdfs.uploads.\"_staging.e18f00f7c8f4\".\"@admin\".\"test_csv-054a7338-78cc-4593-a2b4-8de390bd7a13\" (type => 'text', fieldDelimiter => ',', comment => '#', \"escape\" => '\"', quote => '\"', lineDelimiter => '\r\n', extractHeader => false, skipFirstLine => false, autoGenerateColumnNames => true, trimHeader => true)) limit 500","start":1533309601830,"finish":1533309601954,"outcome":"FAILED","username":"admin","commandDescription":"<unknown>"}
2018-08-03 15:20:01,954 [249b8d5d-cbf0-c360-5933-71d6d7f04000:foreman] INFO query.logger - {"queryId":"249b8d5d-cbf0-c360-5933-71d6d7f04000","schema":"","queryText":"select * from table(\"__home\".dremio_data_dist.pdfs.uploads.\"_staging.e18f00f7c8f4\".\"@admin\".\"test_csv-054a7338-78cc-4593-a2b4-8de390bd7a13\" (type => 'text', fieldDelimiter => ',', comment => '#', \"escape\" => '\"', quote => '\"', lineDelimiter => '\r\n', extractHeader => false, skipFirstLine => false, autoGenerateColumnNames => true, trimHeader => true)) limit 500","start":1533309601830,"finish":1533309601954,"outcome":"FAILED","username":"admin","commandDescription":"<unknown>"}
2018-08-03 15:20:01,954 [249b8d5d-cbf0-c360-5933-71d6d7f04000:foreman] ERROR c.d.exec.work.foreman.AttemptManager - PhysicalOperatorSetupException: Can not parallelize fragment.
com.dremio.common.exceptions.UserException: PhysicalOperatorSetupException: Can not parallelize fragment.
at com.dremio.common.exceptions.UserException$Builder.build(UserException.java:746) ~[dremio-common-2.0.5-201806021755080191-767cfb5.jar:2.0.5-201806021755080191-767cfb5]
at com.dremio.exec.work.foreman.AttemptManager$AttemptResult.close(AttemptManager.java:563) [dremio-sabot-kernel-2.0.5-201806021755080191-767cfb5.jar:2.0.5-201806021755080191-767cfb5]
at com.dremio.exec.work.foreman.AttemptManager.moveToState(AttemptManager.java:618) [dremio-sabot-kernel-2.0.5-201806021755080191-767cfb5.jar:2.0.5-201806021755080191-767cfb5]
at com.dremio.exec.work.foreman.AttemptManager.run(AttemptManager.java:341) [dremio-sabot-kernel-2.0.5-201806021755080191-767cfb5.jar:2.0.5-201806021755080191-767cfb5]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_171]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_171]
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_171]
Caused by: com.dremio.exec.work.foreman.ForemanException: Unexpected exception during fragment initialization: Can not parallelize fragment.
at com.dremio.exec.work.foreman.AttemptManager.run(AttemptManager.java:342) [dremio-sabot-kernel-2.0.5-201806021755080191-767cfb5.jar:2.0.5-201806021755080191-767cfb5]
... 3 common frames omitted
Caused by: com.dremio.exec.physical.PhysicalOperatorSetupException: Can not parallelize fragment.
at com.dremio.exec.planner.fragment.HardAffinityFragmentParallelizer.checkOrThrow(HardAffinityFragmentParallelizer.java:146) ~[dremio-sabot-kernel-2.0.5-201806021755080191-767cfb5.jar:2.0.5-201806021755080191-767cfb5]
at com.dremio.exec.planner.fragment.HardAffinityFragmentParallelizer.parallelizeFragment(HardAffinityFragmentParallelizer.java:78) ~[dremio-sabot-kernel-2.0.5-201806021755080191-767cfb5.jar:2.0.5-201806021755080191-767cfb5]
at com.dremio.exec.planner.fragment.SimpleParallelizer.parallelizeFragment(SimpleParallelizer.java:289) ~[dremio-sabot-kernel-2.0.5-201806021755080191-767cfb5.jar:2.0.5-201806021755080191-767cfb5]
at com.dremio.exec.planner.fragment.SimpleParallelizer.getFragmentsHelper(SimpleParallelizer.java:203) ~[dremio-sabot-kernel-2.0.5-201806021755080191-767cfb5.jar:2.0.5-201806021755080191-767cfb5]
at com.dremio.exec.planner.fragment.SimpleParallelizer.getFragments(SimpleParallelizer.java:174) ~[dremio-sabot-kernel-2.0.5-201806021755080191-767cfb5.jar:2.0.5-201806021755080191-767cfb5]
at com.dremio.exec.planner.sql.handlers.commands.ExecutionPlanCreator.getExecutionPlan(ExecutionPlanCreator.java:85) ~[dremio-sabot-kernel-2.0.5-201806021755080191-767cfb5.jar:2.0.5-201806021755080191-767cfb5]
at com.dremio.exec.planner.sql.handlers.commands.HandlerToExec.plan(HandlerToExec.java:68) ~[dremio-sabot-kernel-2.0.5-201806021755080191-767cfb5.jar:2.0.5-201806021755080191-767cfb5]
at com.dremio.exec.work.foreman.AttemptManager.run(AttemptManager.java:293) [dremio-sabot-kernel-2.0.5-201806021755080191-767cfb5.jar:2.0.5-201806021755080191-767cfb5]
... 3 common frames omitted