Options
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Cloudera Employee
Created on
10-26-2021
05:29 AM
- edited on
10-27-2021
01:55 AM
by
subratadas
Prerequisites
- Base cluster with Hive on Tez, Zookeeper, Spark services installed
- DDL files copied to the base cluster
Steps
Using beeline
- Kinit with hive user to base cluster host where Zookeeper is installed. We can get Zookeeper using CM client services.
Example: - Execute beeline command on Zookeeper host. Sample beeline URL:
beeline -f {data.sql} -u 'jdbc:hive2://{zookeeper_server}:2181/default;" \
f"serviceDiscoveryMode=zooKeeper;ssl=true;sslTrustStore={crt.jks};trustStorePassword={password}
Using Impala shell
- Kinit with impala user to base cluster host where Zookeeper/impala-server is installed. We can get Zookeeper, impala server using CM client services
- Execute impala-shell command on Zookeeper/Impala host. Sample impala-shell command:
impala-shell -i {impala_server}:25003 -d default -k --ssl -f {data}.sql
1,586 Views
Comments
Cloudera Employee
Created on 01-27-2022 05:30 AM
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
This assumes Knox is not used as a client gateway. It is optional, but used in many scenarios.