[
https://issues.apache.org/jira/browse/HDFS-17814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18010966#comment-18010966
]
ASF GitHub Bot commented on HDFS-17814:
---------------------------------------
PeterPtroc opened a new pull request, #7842:
URL: https://github.com/apache/hadoop/pull/7842
<!--
Thanks for sending a pull request!
1. If this is your first time, please read our contributor guidelines:
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
2. Make sure your PR title starts with JIRA issue id, e.g.,
'HADOOP-17799. Your PR title ...'.
-->
### Description of PR
The hadoop-hdfs module compilation fails on trunk branch due to missing
LevelDB dependencies. This PR adds the required `org.iq80.leveldb:leveldb` and
`org.iq80.leveldb:leveldb-api` dependencies to resolve compilation failures.
**Environment:**
- Apache Maven 3.6.3 (openEuler 3.6.3-2)
- Java version: 1.8.0_412
- OS: Linux 6.6.0-27.0.0.31.oe2403.riscv64
- Platform: openEuler on RISC-V architecture
**Solution:**
- Added `org.iq80.leveldb:leveldb` dependency with version 0.12
- Added `org.iq80.leveldb:leveldb-api` dependency with version 0.12
- Both dependencies are required for successful compilation across different
architectures
### How was this patch tested?
- [x] Verified successful compilation of hadoop-hdfs module after adding
dependencies
- [x] Confirmed that the added dependencies resolve the missing dependency
errors
### For code changes:
- [x] Does the title or this PR starts with the corresponding JIRA issue id
(e.g. 'HADOOP-17799. Your PR title ...')?
- [ ] Object storage: have the integration tests been executed and the
endpoint declared according to the connector-specific documentation?
- [x] If adding new dependencies to the code, are these dependencies
licensed in a way that is compatible for inclusion under [ASF
2.0](http://www.apache.org/legal/resolved.html#category-a)?
- [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`,
`NOTICE-binary` files?
> 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, 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]