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

make: *** [date_dim] error 2 #51

Open
trexguojc opened this issue Aug 1, 2024 · 2 comments
Open

make: *** [date_dim] error 2 #51

trexguojc opened this issue Aug 1, 2024 · 2 comments

Comments

@trexguojc
Copy link

./tpcds-setup.sh 2 /usr/hive/warehouse

TPC-DS text data generation complete.
Loading text data into external tables.
make: *** [date_dim] 错误 2
Loading constraints
Data loaded into database tpcds_bin_partitioned_orc_2.

@trexguojc
Copy link
Author

I just modify my tpcds-setup.sh file
HIVE="beeline -u 'jdbc:hive2://localhost:10000' "
HIVE="beeline -n user -u 'jdbc:hive2://localhost:10000' "
according to hiveserver2 log,I find if mot specified -n ,the user atmatically is "anonymous"
The parameter '-n' must be specified

@SirYaro
Copy link

SirYaro commented Sep 19, 2024

I don't know it this is applicaple to older hive versions but with hive 4.0.0 I also had to change lines:
set hive.optimize.sort.dynamic.partition=true;
to
-- set hive.optimize.sort.dynamic.partition=true;
in file
settings/load-partitioned.sql

This parameter is not recognized in h4 anymore.

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