This is an automated email from the ASF dual-hosted git repository.

jojochuang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new 1ff29ee6b86 HDDS-17153. Native rocks-tools library fails to load on 
Rocky Linux 9: GLIBCXX_3.4.32 not found (#11635)
1ff29ee6b86 is described below

commit 1ff29ee6b866b62f524f3b2a6c2ccc972de6269f
Author: Siyao Meng <[email protected]>
AuthorDate: Wed Oct 21 15:28:52 2026 -0700

    HDDS-17153. Native rocks-tools library fails to load on Rocky Linux 9: 
GLIBCXX_3.4.32 not found (#11635)
    
    Generated-by: Claude Opus 5.5 <[email protected]>
---
 hadoop-hdds/rocks-native/src/main/native/ManagedRawSSTFileIterator.cpp | 3 ++-
 hadoop-hdds/rocks-native/src/main/native/ManagedRawSSTFileReader.cpp   | 1 -
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/hadoop-hdds/rocks-native/src/main/native/ManagedRawSSTFileIterator.cpp 
b/hadoop-hdds/rocks-native/src/main/native/ManagedRawSSTFileIterator.cpp
index 7720e30b411..00eed8d276f 100644
--- a/hadoop-hdds/rocks-native/src/main/native/ManagedRawSSTFileIterator.cpp
+++ b/hadoop-hdds/rocks-native/src/main/native/ManagedRawSSTFileIterator.cpp
@@ -21,7 +21,8 @@
 #include "rocksdb/raw_iterator.h"
 #include <string>
 #include "cplusplus_to_java_convert.h"
-#include <iostream>
+#include <algorithm>
+#include <cstring>
 
 template <class T>
 static jint copyToDirect(JNIEnv* env, T& source, jobject jtarget, jint 
jtarget_off, jint jtarget_len);
diff --git 
a/hadoop-hdds/rocks-native/src/main/native/ManagedRawSSTFileReader.cpp 
b/hadoop-hdds/rocks-native/src/main/native/ManagedRawSSTFileReader.cpp
index ff49ee56f06..53c3e398727 100644
--- a/hadoop-hdds/rocks-native/src/main/native/ManagedRawSSTFileReader.cpp
+++ b/hadoop-hdds/rocks-native/src/main/native/ManagedRawSSTFileReader.cpp
@@ -22,7 +22,6 @@
 #include "rocksdb/raw_iterator.h"
 #include <string>
 #include "cplusplus_to_java_convert.h"
-#include <iostream>
 
 jlong 
Java_org_apache_hadoop_hdds_utils_db_ManagedRawSSTFileReader_newRawSSTFileReader(JNIEnv
 *env, jobject obj,
                                                                                
                jlong options_handle,


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to