wzh241215 opened a new issue, #36432:
URL: https://github.com/apache/arrow/issues/36432

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   we use ThreadPool to read hdfsfile, when the std::thread finishes task,it is 
destroyed and  the hdfsThreadDestructor could be called.
   
![image](https://github.com/apache/arrow/assets/62052325/e4b246ad-5e73-4f0a-960e-23352beb73d5)
   In the  hdfsThreadDestructor , it will call (*env)->GetJavaVM(env, &vm) and 
it couldn't get the vm which is condition wait, so the program is not finished.
   
![image](https://github.com/apache/arrow/assets/62052325/e46e3383-ca70-4160-b964-27c50a431c97)
   
   arrow version: apache-arrow-11.0.0
   hadoop version: branch-3.2.0
   
   ### Component(s)
   
   C++


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to