-
Notifications
You must be signed in to change notification settings - Fork 379
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] check-status.sh run failed in gravitino-ci-hive container #2379
Comments
Can you provide a more detailed log with timestamps for each line, similar to #2270? This will allow us to observe its retry behavior and intervals. |
#2270 check-status.sh exit 1 because HDFS is not ready , but in this issue , HDFS is ready. And check-status.sh failed at the command the log is the output of the script /tmp/check-status.sh which I ran in the container manually, so the log is no timestamp. |
Did you include #2366 change in your test code? |
@danhuawang you're right, #2090 introduced the bug due to moving the mysql-server installation before the How can we improve?
|
@mchades I would like to work on this issue, should I start with the image (datastrato/gravitino-ci-hive:0.1.8) first? |
Hi @charliecheng630 , Thank you so much for your interest in contributing to the project! Before you begin, please ensure that you can successfully execute the command |
@mchades This command But I am unable to reproduce the issue. Here are the three versions I've tried.
Output (The output appears to be normal.):
Was my testing method correct? Are there any other ways to reproduce the issue? |
@charliecheng630 You cannot reproduce because you didn't use the modified image. Maybe you can try to reproduce locally using the following steps:
|
) ### What changes were proposed in this pull request? Let user hive be able to access MySQL in gravitino-ci-hive container. ### Why are the changes needed? Fix: #2379 ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? existing tests
Version
main branch
Describe what's wrong
root@ip-172-31-44-48:/# /tmp/check-status.sh
++ hdfs dfsadmin -report
++ awk '{print $3}'
++ grep 'Live datanodes'
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0
HDFS is ready
++ hive -e 'show databases;'
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/local/hive/lib/log4j-slf4j-impl-2.6.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
Logging initialized using configuration in jar:file:/usr/local/hive/lib/hive-common-2.3.9.jar!/hive-log4j2.properties Async: true
Loading class
com.mysql.jdbc.Driver'\''. This is deprecated. The new driver class is
com.mysql.cj.jdbc.Driver'''. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.FAILED: SemanticException org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient'
Error message and/or stacktrace
N/A
How to reproduce
deploy latest gravitino-ci-hive image on ECS,
the container status is unhealthy
Additional context
No response
The text was updated successfully, but these errors were encountered: