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

[Bug report] SparkJdbcMysqlCatalogIT33 failed #6392

Open
FANNG1 opened this issue Feb 5, 2025 · 3 comments · May be fixed by #6432
Open

[Bug report] SparkJdbcMysqlCatalogIT33 failed #6392

FANNG1 opened this issue Feb 5, 2025 · 3 comments · May be fixed by #6432
Labels
bug Something isn't working

Comments

@FANNG1
Copy link
Contributor

FANNG1 commented Feb 5, 2025

Version

main branch

Describe what's wrong

SparkJdbcMysqlCatalogIT33 failed

Error message and/or stacktrace

SparkJdbcMysqlCatalogIT33 > initializationError FAILED
    java.lang.RuntimeException: Failed to create database
        at org.apache.gravitino.integration.test.container.MySQLContainer.createDatabase(MySQLContainer.java:132)
        at org.apache.gravitino.integration.test.container.ContainerSuite.startMySQLContainer(ContainerSuite.java:349)
        at org.apache.gravitino.spark.connector.integration.test.jdbc.SparkJdbcMysqlCatalogIT.initCatalogEnv(SparkJdbcMysqlCatalogIT.java:92)
        at org.apache.gravitino.spark.connector.integration.test.SparkEnvIT.startUp(SparkEnvIT.java:85)
        Caused by:
        java.sql.SQLException: No suitable driver found for jdbc:mysql://192.168.215.7:3306
            at java.sql.DriverManager.getConnection(DriverManager.java:689)
            at java.sql.DriverManager.getConnection(DriverManager.java:247)
            at org.apache.gravitino.integration.test.container.MySQLContainer.createDatabase(MySQLContainer.java:124)
            ... 77 more

How to reproduce

./gradlew :spark-connector:spark-3.3:test -PtestMode=deploy

Additional context

No response

@FANNG1 FANNG1 added the bug Something isn't working label Feb 5, 2025
@shaofengshi
Copy link
Contributor

The command "./gradlew :spark-connector:spark-3.3:test -PtestMode=deploy" at my side has no error.

@jerryshao
Copy link
Contributor

I saw this issue for several times, can you please spend time on this? @FANNG1

@FANNG1
Copy link
Contributor Author

FANNG1 commented Feb 6, 2025

ok, seems this IT failed in some specific environment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants