[
https://issues.apache.org/jira/browse/HDDS-11283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated HDDS-11283:
------------------------------------
Description:
Numerous developers have run into the following error while building from the
IntelliJ and it might have to do with varying ways in which the nested class
gets build via maven CLI followed by IntelliJ. Moving the nested class to its
own instance will reduce friction when developing on Ozone.
{code:java}
java: cannot access
org.apache.hadoop.ozone.container.keyvalue.impl.KeyValueStreamDataChannel$Buffers$1
bad class file:
hadoop-hdds/container-service/target/classes/org/apache/hadoop/ozone/container/keyvalue/impl/KeyValueStreamDataChannel$Buffers$1.class
bad enclosing method attribute for class
org.apache.hadoop.ozone.container.keyvalue.impl.KeyValueStreamDataChannel$Buffers$1
Please remove or make sure it appears in the correct subdirectory of the
classpath.{code}
was:
Numerous developers have run into the following error while building from the
IntelliJ and it might have to do with varying ways in which the nested class
gets build via maven CLI followed by IntelliJ. Moving the nested class to its
own instance will reduce friction when developing on Ozone.
{code:java}
java: cannot access
org.apache.hadoop.ozone.container.keyvalue.impl.KeyValueStreamDataChannel$Buffers$1
bad class file:
/Users/sodonnell/source/ozone2/hadoop-hdds/container-service/target/classes/org/apache/hadoop/ozone/container/keyvalue/impl/KeyValueStreamDataChannel$Buffers$1.class
bad enclosing method attribute for class
org.apache.hadoop.ozone.container.keyvalue.impl.KeyValueStreamDataChannel$Buffers$1
Please remove or make sure it appears in the correct subdirectory of the
classpath.{code}
> Refactor KeyValueStreamDataChannel$Buffers$1.class to avoid spurious IDE
> build issues
> -------------------------------------------------------------------------------------
>
> Key: HDDS-11283
> URL: https://issues.apache.org/jira/browse/HDDS-11283
> Project: Apache Ozone
> Issue Type: Bug
> Components: build
> Reporter: Ritesh Shukla
> Assignee: Ritesh Shukla
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.5.0
>
>
> Numerous developers have run into the following error while building from the
> IntelliJ and it might have to do with varying ways in which the nested class
> gets build via maven CLI followed by IntelliJ. Moving the nested class to
> its own instance will reduce friction when developing on Ozone.
> {code:java}
> java: cannot access
> org.apache.hadoop.ozone.container.keyvalue.impl.KeyValueStreamDataChannel$Buffers$1
> bad class file:
> hadoop-hdds/container-service/target/classes/org/apache/hadoop/ozone/container/keyvalue/impl/KeyValueStreamDataChannel$Buffers$1.class
> bad enclosing method attribute for class
> org.apache.hadoop.ozone.container.keyvalue.impl.KeyValueStreamDataChannel$Buffers$1
> Please remove or make sure it appears in the correct subdirectory of the
> classpath.{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]