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

org.postgresql.util.PSQLException: This ResultSet is closed. #19

Open
ashishsoni opened this issue Mar 20, 2018 · 5 comments
Open

org.postgresql.util.PSQLException: This ResultSet is closed. #19

ashishsoni opened this issue Mar 20, 2018 · 5 comments

Comments

@ashishsoni
Copy link

Getting below error when starting Hive Meta Store

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.hadoop.util.RunJar.run(RunJar.java:233)
at org.apache.hadoop.util.RunJar.main(RunJar.java:148)
NestedThrowablesStackTrace:
org.postgresql.util.PSQLException: This ResultSet is closed.
at org.postgresql.jdbc2.AbstractJdbc2ResultSet.checkClosed(AbstractJdbc2
ResultSet.java:2656)
at org.postgresql.jdbc2.AbstractJdbc2ResultSet.setFetchSize(AbstractJdbc

@EvgenAnufriev
Copy link

@ashishsoni , I'm facing the same issue. Are you using the single-container.yml?

@ashishsoni
Copy link
Author

ashishsoni commented Mar 21, 2018

@EvgenAnufriev Use Postgresh 9.4 docker image instead of latest as latest is postgres 10 version which is not supported by Ambari and HDP , Once i changed it worked for me .
You have to modify postgresh docker file to say FROM postgres:9.4 and it should work

@EvgenAnufriev
Copy link

@ashishsoni , THANKS!!!!!
If you have time, can you tell, how you found what causes error?

@ashishsoni
Copy link
Author

@EvgenAnufriev i did not found the cause but i checked the HDP docs and it says not supported PG 10 so i just straight went to lower pg version, will try to find out if i get some time.

@EvgenAnufriev
Copy link

Btw, Even though i've changed hdp repo version to 2.6.3 in every place i found, I see links to 2.6.4 in "Stack and Versions" instead. @ashishsoni, maybe you have any idea why? what did i miss?

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

No branches or pull requests

2 participants