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

Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. #33

Open
ergouy opened this issue Mar 29, 2021 · 1 comment

Comments

@ergouy
Copy link

ergouy commented Mar 29, 2021

Commands in scripts:
runcommand "$HIVE -f ddl-tpcds/bin_partitioned/add_constraints.sql --hivevar DB=${DATABASE}"

Error description:
ERROR : FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. InvalidObjectException(message:Parent table not found: customer_address)
Error: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. InvalidObjectException(message:Parent table not found: customer_address) (state=08S01,code=1)

But I see that the tables in the database exist!

Has anyone ever encountered this problem?

@ExplorerXP
Copy link

ExplorerXP commented Jul 9, 2023

You can try the following steps:1. Don't use beeline. Edit tpcds-set.sh and define Hive="hive";2. edit ddl-tpcds/bin_partitioned/add_constraints.sql,and add ‘use ${DB};’ as first line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants