apache / apache/parquet-java

Classes fail to load when not packaged with Parquet.

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

描述

Parquet cannot dynamically load classes from another package. This has already been noticed and addressed here: https://github.com/Parquet/parquet-mr/pull/289

However, the fix didn't address all occurrences of Class.forName. parquet-cascading jobs fail trying to load cascading.scheme.Scheme, even though it is present on the classpath.

This bug shows up in cloudera distributions of parquet since they provide parquet jars on the hadoop classpath.

**Reporter**: [Alex Robbins](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=alexrobbins)

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

贡献指南

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

调研方向

首先查看 pull request 289,并定位与加载 cascading.scheme.Scheme 相关的剩余 Class.forName 出现位置。将 Parquet JAR 放在 Hadoop 类路径上,重现 parquet-cascading 失败,然后验证类路径上存在另一个包中的类时,这些类能够成功加载。

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

评估

技术栈
java
领域
backend
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

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