HadoopStreams to support ByteBufferPositionedReadable input streams
- 主要语言
- Java
- 星标
- 3.1k
- 派生
- 1.6k
- 平均合并
- 3 天 12 小时
- 30 天内合并 PR
- 33
描述
### Describe the enhancement requested
If a stream declares in its StreamCapabilities that it supports
ByteBufferPositionedReadable, then use it for `readFully(ByteBuffer)`
All streams in Hadoop 3.0.0 + do declare this.
+ use StreamCapabilities to look for `ByteBufferReadable`.
For detecting ByteBufferReadable, use this probe falling back to the recursive scan.
All streams in the hadoop codebase will report this via StreamCapabilities, but there
may be some third-party streams which do not.
### Component(s)
_No response_
贡献指南
这个仓库没有索引到贡献指南
调研方向
从 HadoopStreams 的实现开始,跟踪 readFully(ByteBuffer),然后检查如何使用 StreamCapabilities 和现有的递归扫描来检测可读流。完成标准是:声明 ByteBufferPositionedReadable 的流使用该能力执行 readFully(ByteBuffer),而第三方流仍回退到递归扫描。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- data
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100