You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by GitBox <gi...@apache.org> on 2021/11/05 13:54:42 UTC

[GitHub] [hive] zabetak opened a new pull request #2767: HIVE-25675: Intermittent PSQLException when trying to connect to Postgres in tests

zabetak opened a new pull request #2767:
URL: https://github.com/apache/hive/pull/2767


   ### What changes were proposed in this pull request?
   1. Ensure the database is ready by checking a certain message appears two times in the logs.
   2. Remove the now unused logger.
   
   ### Why are the changes needed?
   Sometimes when we try to connect to Postgres, the database is not yet completely ready despite the fact that the respective port is open thus leading to the following exception.
   
   `PSQLException: FATAL: the database system is starting up`
   
   ### Does this PR introduce _any_ user-facing change?
   Avoids intermittent failures due to partially initialised Postgres.
   
   ### How was this patch tested?
   Run the flaky-checker on some tests relying on the dockerized Postgres (e.g., `qt_database_postgres.q`, `qt_database_all.q`, `jdbc_table_with_schema_postgres.q`).


-- 
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: gitbox-unsubscribe@hive.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] pvary commented on pull request #2767: HIVE-25675: Intermittent PSQLException when trying to connect to Postgres in tests

Posted by GitBox <gi...@apache.org>.
pvary commented on pull request #2767:
URL: https://github.com/apache/hive/pull/2767#issuecomment-962931656


   @zabetak: Did we run http://ci.hive.apache.org/job/hive-flaky-check/ to check that the flakiness is fixed?


-- 
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: gitbox-unsubscribe@hive.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] pvary commented on pull request #2767: HIVE-25675: Intermittent PSQLException when trying to connect to Postgres in tests

Posted by GitBox <gi...@apache.org>.
pvary commented on pull request #2767:
URL: https://github.com/apache/hive/pull/2767#issuecomment-963204404


   > > @zabetak: Did we run http://ci.hive.apache.org/job/hive-flaky-check/ to check that the flakiness is fixed?
   > 
   > @pvary Here is the run http://ci.hive.apache.org/job/hive-flaky-check/454/
   
   Thanks @zabetak for the quick response and the fix!


-- 
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: gitbox-unsubscribe@hive.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] zabetak closed pull request #2767: HIVE-25675: Intermittent PSQLException when trying to connect to Postgres in tests

Posted by GitBox <gi...@apache.org>.
zabetak closed pull request #2767:
URL: https://github.com/apache/hive/pull/2767


   


-- 
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: gitbox-unsubscribe@hive.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] zabetak commented on pull request #2767: HIVE-25675: Intermittent PSQLException when trying to connect to Postgres in tests

Posted by GitBox <gi...@apache.org>.
zabetak commented on pull request #2767:
URL: https://github.com/apache/hive/pull/2767#issuecomment-963203059


   > @zabetak: Did we run http://ci.hive.apache.org/job/hive-flaky-check/ to check that the flakiness is fixed?
   
   @pvary Here is the run http://ci.hive.apache.org/job/hive-flaky-check/454/


-- 
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: gitbox-unsubscribe@hive.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org