Skip to content

Conversation

@liyafan82
Copy link
Contributor

The problem was caused by a cyclic dependency of class loading.

Please see the discussion in the jira:
https://issues.apache.org/jira/browse/ARROW-9315

We solve it by making DefaultAllocationManagerOption#DEFAULT_ALLOCATION_MANAGER_FACTORY initialize lazily.

@github-actions
Copy link

github-actions bot commented Jul 3, 2020

Copy link
Contributor

@rymurr rymurr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @liyafan82 I found the same last night and put something similar into #7619

I noticed this was failing a lot on Java 11 for me.

@liyafan82
Copy link
Contributor Author

Hey @liyafan82 I found the same last night and put something similar into #7619

I noticed this was failing a lot on Java 11 for me.

I see. Thanks a lot for your confirm.
The problem depends on the particular order of class loading, which can be underministic.

Anyway, I hope the problem can be resolved soon, as the master build is breaking because of it.

@liyafan82 liyafan82 closed this in 289608b Jul 3, 2020
pribor pushed a commit to GlobalWebIndex/arrow that referenced this pull request Oct 24, 2025
The problem was caused by a cyclic dependency of class loading.

Please see the discussion in the jira:
https://issues.apache.org/jira/browse/ARROW-9315

We solve it by making DefaultAllocationManagerOption#DEFAULT_ALLOCATION_MANAGER_FACTORY initialize lazily.

Closes apache#7628 from liyafan82/fly_0703_cyc

Authored-by: liyafan82 <fan_li_ya@foxmail.com>
Signed-off-by: liyafan82 <fan_li_ya@foxmail.com>
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

Successfully merging this pull request may close these issues.

2 participants