./tpcds-setup.sh 2 fails
herrytco opened this issue · 2 comments
herrytco commented
Hello, I am running:
- Hadoop 2.7.1
- Hive 1.2.2
and I am trying to generate testdata.
I did:
./tpcds-build.sh
./tpcds-setup.sh 2
the latter fails then with this message:
[...]
TPC-DS text data generation complete.
Loading text data into external tables.
0: jdbc:hive2://localhost:2181/ (closed)> create database if not exists ${DB};
make: *** [load_orc_2.mk:3: date_dim] Error 2
Loading constraints
0: jdbc:hive2://localhost:2181/ (closed)> -- set hivevar:DB=tpcds_bin_partitioned_orc_10000
0: jdbc:hive2://localhost:2181/ (closed)>
0: jdbc:hive2://localhost:2181/ (closed)> alter table customer_address add constraint ${DB}_pk_ca primary key (ca_address_sk) disable novalidate rely;
Data loaded into database tpcds_bin_partitioned_orc_2.
But when I check, the database does not exist. How can I resolve this issue?
Aristohack commented
Thanks, I have also encountered this problem. Have you solved it?