Skip to content

[Java] Remove Netty references from ArrowBuf and move Allocator out of vector package #21076

@asfimport

Description

@asfimport

Arrow currently has a hard dependency on Netty and exposes this in public APIs. This shouldn't be the case. There could be many allocator implementations with Netty as one possible option. We should remove hard dependency between arrow-vector and Netty, instead creating a trivial allocator. ArrowBuf should probably expose an T unwrap(Class clazz) method instead to allow inner providers availability without a hard reference. This should also include drastically reducing the number of methods on ArrowBuf as right now it includes every method from ByteBuf but many of those are not very useful, appropriate.

This work should come after we do the simpler ARROW-3191

Reporter: Jacques Nadeau / @jacques-n
Assignee: Liya Fan / @liyafan82

Related issues:

Note: This issue was originally created as ARROW-4526. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions