Ritesh Shukla created HDDS-11283:
------------------------------------
Summary: 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
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}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]