-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-8230 [WIP][Java] Move Netty memory manager into a separate module #6782
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
Conversation
This creates a new module `arrow-memory-netty` and attempts to move all netty specific references to this module.
|
Hi @rymurr Thanks for the quick response.
IMO, this PR should perform the following tasks
|
|
hey @liyafan82 I appreciate the feedback! I agree, I will open a ticket for the removal of netty from As for the cyclic dependencies maven won't allow One way forward would be to introduce two new modules My best way forward is to:
What do you think @liyafan82 ? If you agree I will close this PR and begin on 1. from above. |
|
@rymurr Your plan sounds reasonable.
Anyway, it is ok to start removing netty references now. |
|
Hey @liyafan82 thanks for the comments. I agree, I don't think we should create the In the meantime I will close this PR and start one to minimize Netty usage in |
Sure, reflection is a feasible solution. Please go ahead with minimizing netty usage. |
This attempts to complete ARROW-8230. However pulling Netty out of
arrow-memoryis much harder than I had anticipated.The code changes are extensive and not altogether nice. I personally think we have to break down the task of removing Netty even further and I am posting this PR to get some feedback
This PR:
PlatformDependentfromarrow-memoryarrow-memory-nettyand moves netty specific stuff thereTrivialAllocationManagerfor when Netty isn't availableI am not overly happy with this approach and would love some feedback about how to break this down further. @liyafan82 and @jacques-n especially as they are the reporters of this issue and its parent.
Note: most
arrow-memorytests are broken on this branch and a number of other modules are not compiling eitherNote: I have left
ArrowBufunderio.netty.bufferas this will be moved out by #6729