pitrou commented on PR #45998:
URL: https://github.com/apache/arrow/pull/45998#issuecomment-2890860924

   Hi @AlenkaF 
   
   > * Some C++ tests are failing in `hdfs_test`, with the following error:
   
   I think you're misreading the output, the test is actually skipped when the 
driver fails unloading, which is normal:
   ```
   (...)
   dlopen(/usr/java/latest//lib/amd64/server/libjvm.so) failed: 
/usr/java/latest//lib/amd64/server/libjvm.so: cannot open shared object file: 
No such file or directory
   /arrow/cpp/src/arrow/filesystem/hdfs_internal.cc:294  
try_dlopen(libjvm_potential_paths, "libjvm")
   /arrow/cpp/src/arrow/filesystem/hdfs.cc:95  ConnectLibHdfs(&driver_)
   /arrow/cpp/src/arrow/filesystem/hdfs.cc:725  ptr->impl_->Init()
   /arrow/cpp/src/arrow/filesystem/hdfs_test.cc:205: Skipped
   Driver not loaded, skipping
   ```
   
   
https://github.com/apache/arrow/actions/runs/15109276550/job/42464862030?pr=45998#step:7:3277
   
   The problem is in the other tests, because it seems a destructor crashes:
   ```
   
   [ RUN      ] TestHadoopFileSystem.DeleteDirContents
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   Running '/build/cpp/debug/arrow-hdfs-test' produced core dump at 
'/tmp/core.arrow-hdfs-test.25630', printing backtrace:
   [New LWP 25630]
   [New LWP 25631]
   [Thread debugging using libthread_db enabled]
   Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
   Core was generated by `/build/cpp/debug/arrow-hdfs-test'.
   Program terminated with signal SIGSEGV, Segmentation fault.
   #0  0x00007fc37b23d5be in arrow::io::internal::LibHdfsShim::Disconnect () at 
/arrow/cpp/src/arrow/filesystem/hdfs_internal.cc:340
   340  int LibHdfsShim::Disconnect(hdfsFS fs) { return 
this->hdfsDisconnect(fs); }
   [Current thread is 1 (Thread 0x7fc374633dc0 (LWP 25630))]
   (...)
   ```
   
   
https://github.com/apache/arrow/actions/runs/15109276550/job/42464862030?pr=45998#step:7:3281
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to