[ https://issues.apache.org/jira/browse/HIVE-26372?focusedWorklogId=788261&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-788261 ]
ASF GitHub Bot logged work on HIVE-26372: ----------------------------------------- Author: ASF GitHub Bot Created on: 06/Jul/22 14:09 Start Date: 06/Jul/22 14:09 Worklog Time Spent: 10m Work Description: kasakrisz opened a new pull request, #3416: URL: https://github.com/apache/hive/pull/3416 ### What changes were proposed in this pull request? Loop for the text `MySQL init process done. Ready for start up.` in stdout of MySql server when launching it via docker from qtest. ### Why are the changes needed? See jira for details. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? ``` mvn test -Dtest.output.overwrite -DskipSparkTests -Dtest=TestMiniLlapLocalCliDriver -Dqfile=qt_database_mysql.q -pl itests/qtest -Pitests ``` Issue Time Tracking ------------------- Worklog Id: (was: 788261) Remaining Estimate: 0h Time Spent: 10m > QTests depend on mysql docker image are fail > -------------------------------------------- > > Key: HIVE-26372 > URL: https://issues.apache.org/jira/browse/HIVE-26372 > Project: Hive > Issue Type: Bug > Reporter: Krisztian Kasa > Assignee: Krisztian Kasa > Priority: Major > Fix For: 4.0.0 > > Time Spent: 10m > Remaining Estimate: 0h > > When QTest framework launches a mysql docker container checks whether the > mysql instance is ready for receiving connections. It search for the text > {code} > ready for connections > {code} > in the stderr: > https://github.com/apache/hive/blob/2f619988f69a569bfcdc2bef5d35a9ecabb2ef13/itests/util/src/main/java/org/apache/hadoop/hive/ql/externalDB/MySQLExternalDB.java#L56 > Seems that this behavior is changed at MySql side and QTest framework enters > into a infinite loo then times out after 300 sec. -- This message was sent by Atlassian Jira (v8.20.10#820010)