Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connect hms(hive metastore store) sometimes breaks and does not reconnect #479

Closed
KANLON opened this issue Dec 1, 2023 · 1 comment · Fixed by #480
Closed

connect hms(hive metastore store) sometimes breaks and does not reconnect #479

KANLON opened this issue Dec 1, 2023 · 1 comment · Fixed by #480

Comments

@KANLON
Copy link
Contributor

KANLON commented Dec 1, 2023

when running the project ,after a period of time, connect hms sometimes breaks and does not reconnect (It may be a network issue, etc)

bug it not reconnect, I think this is a bit problematic

when i read code,i find it use new HiveMetaStoreClient(conf) to create IMetaStoreClient in MetastoreProvider#getRemoteMetastoreClient method . This way is not will reconnect, it should be replace RetryingMetaStoreClient.getProxy(conf)

some error message like

org.apache.thrift.transport.TTransportException Create breakpoint java.net.SocketException:Connection reset by peer:socket write error
at org.apache.thrift.transport.TIOStreamTransport.flush(TIOStreamTransport.java:161)~[libthrift-0.9.2.jar:0.9.2]
@1fanwang
Copy link
Collaborator

Closed by #480, thank you for the contribution @KANLON

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants