[
https://issues.apache.org/jira/browse/HDFS-17814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18011670#comment-18011670
]
ASF GitHub Bot commented on HDFS-17814:
---------------------------------------
zeekling commented on code in PR #7842:
URL: https://github.com/apache/hadoop/pull/7842#discussion_r2249701133
##########
hadoop-hdfs-project/hadoop-hdfs/pom.xml:
##########
@@ -208,6 +208,16 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
<groupId>${leveldbjni.group}</groupId>
<artifactId>leveldbjni-all</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.iq80.leveldb</groupId>
+ <artifactId>leveldb</artifactId>
+ <version>0.12</version>
+ </dependency>
+ <dependency>
+ <groupId>org.iq80.leveldb</groupId>
+ <artifactId>leveldb-api</artifactId>
Review Comment:
leveldb-api already in leveldb-all.
<img width="543" height="496" alt="image"
src="https://github.com/user-attachments/assets/e0574382-d452-4429-89ec-fe074e0e1e73"
/>
> Add missing LevelDB dependencies to hadoop-hdfs module
> ------------------------------------------------------
>
> Key: HDFS-17814
> URL: https://issues.apache.org/jira/browse/HDFS-17814
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs
> Affects Versions: 3.5.0
> Environment: Apache Maven 3.6.3 (openEuler 3.6.3-2)
> Maven home: /usr/share/maven
> Java version: 1.8.0_412, vendor: Bisheng, runtime:
> /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.412.b08-5.oe2403.riscv64/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "6.6.0-27.0.0.31.oe2403.riscv64", arch: "riscv64",
> family: "unix"
> Hadoop Version: 3.5.0-SNAPSHOT (trunk)
> Reporter: Ptroc
> Priority: Major
> Labels: build, dependencies, leveldb, pull-request-available,
> trunk
> Fix For: 3.5.0
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> The hadoop-hdfs module compilation fails on trunk branch due to missing
> LevelDB dependencies.
> Error message:
> 'dependencies.dependency.version' for org.iq80.leveldb:leveldb:jar is missing
> 'dependencies.dependency.version' for org.iq80.leveldb:leveldb-api:jar is
> missing
> The hadoop-hdfs module requires LevelDB dependencies for metadata storage
> functionality, but these are not declared in the module's pom.xml.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]