You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Terence Yim (Jira)" <ji...@apache.org> on 2020/02/19 16:57:00 UTC

[jira] [Commented] (PARQUET-1802) CompressionCodec class not found if the codec class is not in the same defining classloader as the CodecFactory class

    [ https://issues.apache.org/jira/browse/PARQUET-1802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17040233#comment-17040233 ] 

Terence Yim commented on PARQUET-1802:
--------------------------------------

In the CodecFactory class, it loads the codec class via Class.forName(className), which assume the codec class is loadable via the defining classloader of the CodecFactory class. However, it may not always be the case. Ideally it should be using the ClassLoader from the job Configuration instead.

> CompressionCodec class not found if the codec class is not in the same defining classloader as the CodecFactory class
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: PARQUET-1802
>                 URL: https://issues.apache.org/jira/browse/PARQUET-1802
>             Project: Parquet
>          Issue Type: Improvement
>          Components: parquet-mr
>            Reporter: Terence Yim
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)