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

[Bug] IcebergScanNode throws exception "Split size must be > 0: 0" #44573

Open
2 of 3 tasks
wenwj0 opened this issue Nov 25, 2024 · 5 comments
Open
2 of 3 tasks

[Bug] IcebergScanNode throws exception "Split size must be > 0: 0" #44573

wenwj0 opened this issue Nov 25, 2024 · 5 comments

Comments

@wenwj0
Copy link

wenwj0 commented Nov 25, 2024

Search before asking

  • I had searched in the issues and found no similar issues.

Version

Doris 2.1.6

What's Wrong?

After I upgrade doris from 2.1.5 to 2.1.6, I occasionally encountered an exception when querying iceberg table.

image

The exception may be thrown in org.apache.iceberg.util.TableScanUtil

public static CloseableIterable<FileScanTask> splitFiles(CloseableIterable<FileScanTask> tasks, long splitSize) {
        Preconditions.checkArgument(splitSize > 0L, "Split size must be > 0: %s", splitSize);
        Iterable<FileScanTask> splitTasks = FluentIterable.from(tasks).transformAndConcat((input) -> {
            return input.split(splitSize);
        });
        return CloseableIterable.combine(splitTasks, tasks);
    }

What You Expected?

Expect no exeception

How to Reproduce?

QuerySQL is

SELECT * FROM 
doris_hive_xxx.xxx.ods_xxx_event_iceberg_day 
LIMIT 10;

Anything Else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@wenwj0
Copy link
Author

wenwj0 commented Nov 25, 2024

@morningman PTAL, I guess it maybe related to #38311

@sacredcodex
Copy link

Did you solve this problem? I faced it when selecting the logical view of Iceberg.

@wenwj0
Copy link
Author

wenwj0 commented Dec 5, 2024

Did you solve this problem? I faced it when selecting the logical view of Iceberg.

@sacredcodex No, I change to use doris-2.1.5.
By the way, do you config hadoop kerberos? I saw some error logs related to that.

@sacredcodex
Copy link

Thank you for your reply. We used Doris 2.1.2 before and config Kerberos then. We recently upgraded to 2.1.5, and we met with this problem. It might not be caused by Kerberos. Thank you anyway.

谢谢您的回复,我们之前使用的doris2.1.2,并且配置过Kerberos了。我们最近升级到了2.1.5版本并遇到了这个问题。应该不是Kerberos导致的,再次感谢您的帮助。

@morningman
Copy link
Contributor

You can try

  1. set enable_fallback_to_original_planner=false;
    run sql again to see if there are errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants