apache / apache/parquet-java

Cache FileStatus in Footer to reduce redundant NameNode RPC calls

未关闭
#3,394 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Type: enhancement
主要语言
Java
星标
3.1k
派生
1.6k
平均合并
3 天 12 小时
30 天内合并 PR
33

描述

### Describe the enhancement requested

Optimization reduces redundant getFileStatus() RPC calls to the NameNode
when processing Parquet files.

Benefits:
- Reduces NameNode RPC calls by 1 per Parquet file during split generation
- For workloads with thousands of small files, this can significantly reduce
  NameNode pressure and improve job startup time
- Maintains full backward compatibility with existing code paths

### Component(s)

Core

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先,在生成 Parquet split 的过程中跟踪 getFileStatus() 调用,并检查每个 Parquet 文件的 Footer 是如何处理的。确认在不改变行为的情况下,现有代码路径中可以在哪个位置保留 FileStatus 缓存。完成的标准是每个文件减少一次 NameNode RPC、保持向后兼容,并减少包含大量小文件的工作负载中的调用次数。

由索引模型根据 Issue 内容生成。

评估

技术栈
hadoop, java
领域
distributed-systems
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。