[
https://issues.apache.org/jira/browse/HDDS-14218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Huang Guan Hao updated HDDS-14218:
----------------------------------
Description:
When I run mvn test-compile -pl hadoop-hdds/container-service -am locally, I
get the following error:
[ERROR]
/Users/rich/ozone/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/volume/VolumeUsage.java:[111,27]
incompatible types: org.apache.hadoop.hdds.fs.SpaceUsageSource cannot be
converted to org.apache.hadoop.hdds.fs.SpaceUsageSource.Fixed
was:
when I run this command locally
mvn test-compile -pl hadoop-hdds/container-service -am
the error comes out
[ERROR]
/Users/rich/ozone/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/volume/VolumeUsage.java:[111,27]
incompatible types: org.apache.hadoop.hdds.fs.SpaceUsageSource cannot be
converted to org.apache.hadoop.hdds.fs.SpaceUsageSource.Fixed
> Compilation Error: Type Conversion Issue in VolumeUsage.realUsage()
> -------------------------------------------------------------------
>
> Key: HDDS-14218
> URL: https://issues.apache.org/jira/browse/HDDS-14218
> Project: Apache Ozone
> Issue Type: Bug
> Environment: * macOS 25.1.0 (Darwin Kernel Version 25.1.0)
> * arm64 (Apple Silicon)
> * mise: 2025.11.4 macos-arm64 (2025-11-13)
> Java: OpenJDK 21.0.2 (Oracle Corporation)
> VM: OpenJDK 64-Bit Server VM (build 21.0.2+13-58, mixed mode, sharing)
> Maven: Apache Maven 3.9.10
> Node.js: 16.14.2
> Reporter: Huang Guan Hao
> Assignee: Huang Guan Hao
> Priority: Major
>
> When I run mvn test-compile -pl hadoop-hdds/container-service -am locally, I
> get the following error:
> [ERROR]
> /Users/rich/ozone/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/volume/VolumeUsage.java:[111,27]
>
> incompatible types: org.apache.hadoop.hdds.fs.SpaceUsageSource cannot be
> converted to org.apache.hadoop.hdds.fs.SpaceUsageSource.Fixed
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]