Open nuclearwu opened 3 years ago
For future generations: scripts in these repo connect to remote Hive via 2181 port, but it's non-conventional. The default port is 10000
, see link 1 and link 2.
Change https://github.com/hortonworks/hive-testbench/blob/hdp3/tpcds-setup.sh#L73 to:
- HIVE="beeline -n hive -u 'jdbc:hive2://localhost:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2?tez.queue.name=default' "
+ HIVE="beeline -n hive -u 'jdbc:hive2://localhost:10000/' "
[root@D01-303-D5-1 hive-testbench-hdp3]# ./tpcds-setup.sh 4 TPC-DS text data generation complete. Loading text data into external tables. make: *** [date_dim] 错误 127 Loading constraints Data loaded into database tpcds_bin_partitioned_orc_4.