-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[opt](hive docker)Exit on creating table failed #47390
Conversation
Change-Id: Ic5547208db9f56257d0ab1c6981c2cb180e70ed2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
run buildall |
PR approved by anyone and no changes requested. |
Change-Id: I212395f220cd855b53b4cc937a0d531ee25b84ee
af0fb88
to
f89b48b
Compare
Change-Id: I6263a2762f0302399e5b1a01cd28de6a7a768f0f
run buildall |
Change-Id: Idbe6e43e9b3d060dd8be77aef92bf8ff426ee069
Change-Id: I15d26cd548305ca4f862ea31b9cedda584adce83
665d09a
to
41348ff
Compare
Change-Id: Id84568dd98d30e3ea8284bd014c518563171cc84
41348ff
to
bc33a15
Compare
Change-Id: Id5c9a35819d176f374c440358e3c1a66abfa263d
Change-Id: I38489b0c5539033364845c1f87b5da03539f5f3a
run external |
Change-Id: I66928ac1cec624d5af6084bf79dfec448123dbef
run buildall |
run cloud_p0 |
PR approved by at least one committer and no changes requested. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
### What problem does this PR solve? Problem Summary: There're some table not found error when querying external hive catalog in CI, like [#614159](http://43.132.222.7:8111/buildConfiguration/Doris_External_Regression/614159?buildTab=overview&hideTestsFromDependencies=false&hideProblemsFromDependencies=false&expandPull+Request+Details=true&expandBuildTestsSection=true&expandBuildChangesSection=true&expandBuildDeploymentsSection=false) and [#613945](http://43.132.222.7:8111/buildConfiguration/Doris_External_Regression/613945?buildTab=tests&status=failed&expandedTest=build%3A%28id%3A613945%29%2Cid%3A2000000035). <img width="782" alt="image" src="https://github.com/user-attachments/assets/74ce8b6f-3116-4aca-a5a5-3d7f3845a1c9" /> The create table script should exit once the sql failed, so we can easily to see which script failed. #### Failed scripts Total 7 ~ 10+ failures, you can search `FAILED: ` in [hive metastore docker logs](https://github.com/user-attachments/files/18532083/logs.txt). 1. Create table when hive metastore is not ready , like `student`: ```bash 2025-01-24T04:30:01.794131928Z FAILED: SemanticException org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient ``` 2. HQL grammar wrong, like `/mnt/scripts/data/regression/crdmm_data/run.sh` : ```bash FAILED: ParseException line 3:12 extraneous input 'crdmm_data' expecting EOF near '<EOF>' ``` 3. Error at `msck repair table partition_location_2;`, need `set hive.msck.path.validation=ignore;`, like `/mnt/scripts/data/multi_catalog/partition_location_2/run.sh`: ```bash FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask ```
### What problem does this PR solve? Problem Summary: There're some table not found error when querying external hive catalog in CI, like [#614159](http://43.132.222.7:8111/buildConfiguration/Doris_External_Regression/614159?buildTab=overview&hideTestsFromDependencies=false&hideProblemsFromDependencies=false&expandPull+Request+Details=true&expandBuildTestsSection=true&expandBuildChangesSection=true&expandBuildDeploymentsSection=false) and [#613945](http://43.132.222.7:8111/buildConfiguration/Doris_External_Regression/613945?buildTab=tests&status=failed&expandedTest=build%3A%28id%3A613945%29%2Cid%3A2000000035). <img width="782" alt="image" src="https://github.com/user-attachments/assets/74ce8b6f-3116-4aca-a5a5-3d7f3845a1c9" /> The create table script should exit once the sql failed, so we can easily to see which script failed. #### Failed scripts Total 7 ~ 10+ failures, you can search `FAILED: ` in [hive metastore docker logs](https://github.com/user-attachments/files/18532083/logs.txt). 1. Create table when hive metastore is not ready , like `student`: ```bash 2025-01-24T04:30:01.794131928Z FAILED: SemanticException org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient ``` 2. HQL grammar wrong, like `/mnt/scripts/data/regression/crdmm_data/run.sh` : ```bash FAILED: ParseException line 3:12 extraneous input 'crdmm_data' expecting EOF near '<EOF>' ``` 3. Error at `msck repair table partition_location_2;`, need `set hive.msck.path.validation=ignore;`, like `/mnt/scripts/data/multi_catalog/partition_location_2/run.sh`: ```bash FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask ```
…47452) Cherry-picked from #47390 Co-authored-by: Thearas <[email protected]>
What problem does this PR solve?
Problem Summary:
There're some table not found error when querying external hive catalog in CI, like #614159 and #613945.
The create table script should exit once the sql failed, so we can easily to see which script failed.
Failed scripts
Total 7 ~ 10+ failures, you can search
FAILED:
in hive metastore docker logs.Create table when hive metastore is not ready , like
student
:HQL grammar wrong, like
/mnt/scripts/data/regression/crdmm_data/run.sh
:Error at
msck repair table partition_location_2;
, needset hive.msck.path.validation=ignore;
, like/mnt/scripts/data/multi_catalog/partition_location_2/run.sh
:FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)