Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

fix(hdfs): do not call hdfsDisconnect() after jvm exited #736

Merged
merged 1 commit into from
Jan 25, 2021

Conversation

zhangyifan27
Copy link
Contributor

When we kill a pegasus progress, vm_direct_exit(int) was first called, after that we should not call hdfsDisconnect() which would try to gc jni objects. So I removed hdfsDisconnect() from the destructor, this may lead connections leaked, but I couldn't find a safe way to call it when progress terminated.

@hycdong hycdong merged commit 035b526 into XiaoMi:master Jan 25, 2021
zhangyifan27 added a commit to zhangyifan27/rdsn that referenced this pull request Jan 26, 2021
zhangyifan27 added a commit to zhangyifan27/rdsn that referenced this pull request Jan 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants