You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2022/10/31 10:15:00 UTC
[jira] [Commented] (HDDS-7440) Rename package org.apache.hadoop.io.erasurecode.rawcoder to avoid conflict with Hadoop
[ https://issues.apache.org/jira/browse/HDDS-7440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17626515#comment-17626515 ]
Attila Doroszlai commented on HDDS-7440:
----------------------------------------
Unfortunately the package name turns out to be necessary to accesss protected methods in Hadoop classes.
On the other hand, package-info.java is required by checkstyle rules. I think we should make an exception for the latter.
> Rename package org.apache.hadoop.io.erasurecode.rawcoder to avoid conflict with Hadoop
> --------------------------------------------------------------------------------------
>
> Key: HDDS-7440
> URL: https://issues.apache.org/jira/browse/HDDS-7440
> Project: Apache Ozone
> Issue Type: Task
> Components: EC
> Affects Versions: 1.3.0
> Reporter: Attila Doroszlai
> Assignee: Attila Doroszlai
> Priority: Major
>
> Trying to use Ozone FS jar in Spark points out conflict with one of Hadoop's packages:
> {code}
> scala> :require /opt/ozone/share/ozone/lib/ozone-filesystem-hadoop3-1.3.0-SNAPSHOT.jar
> The path '/opt/ozone/share/ozone/lib/ozone-filesystem-hadoop3-1.3.0-SNAPSHOT.jar' cannot be loaded, it contains a classfile that already exists on the classpath: org.apache.hadoop.io.erasurecode.rawcoder.package-info
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org