apache / apache/parquet-java

remove deprecated PathGlobPattern and DeprecatedFieldProjectionFilter to compile on hadoop 3.2+

Đang mở
#2,698 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Component: Parquet Component: Thrift Priority: Major Type: enhancement
Ngôn ngữ chính
Java
Star
3.1k
Fork
1.6k
Merge trung bình
3 ngày 12 giờ
Pull request đã merge (30 ngày)
33

Mô tả

remove the deprecated PathGlobPattern class and its uses from parquet-thrift

The return types from the hadoop GlobPattern code changed in HADOOP-12436; in the class as is will not compile against hadoop 3.x

Parquet releases compiled against hadoop 2.x will not be able to instantiate these classes on a hadoop 3 release, because things will not link.

Nobody appears to have complained about the linkage problem to the extent of filing a JIRA.

**Reporter**: [Steve Loughran](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=stevel@apache.org) / @steveloughran
#### Related issues:
- [Upgrade Hadoop dependency to version 3.2.0](https://github.com/apache/parquet-java/issues/2695) (is related to)

**Note**: *This issue was originally created as [PARQUET-2165](https://issues.apache.org/jira/browse/PARQUET-2165). Please see the [migration documentation](https://issues.apache.org/jira/browse/PARQUET-2502) for further details.*

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Bắt đầu bằng cách tìm PathGlobPattern, DeprecatedFieldProjectionFilter và các vị trí sử dụng chúng trong parquet-thrift, sau đó kiểm tra Hadoop GlobPattern API và thay đổi dependency của Hadoop 3.2. Xóa các class và tham chiếu đã lỗi thời, đồng thời xác minh rằng parquet-thrift biên dịch được với Hadoop 3.2 hoặc mới hơn.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
hadoop, java
Lĩnh vực
build-system
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
38/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.