Skip to content

Commit e25642f

Browse files
authored
Merge pull request #98716 from hidwatanabe/patch-1
Hive Warehouse Connector version variableization
2 parents 93cf472 + 2197eee commit e25642f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/hdinsight/interactive-query/apache-hive-warehouse-connector.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ To start a spark-shell session, do the following steps:
102102

103103
```bash
104104
spark-shell --master yarn \
105-
--jars /usr/hdp/current/hive_warehouse_connector/hive-warehouse-connector-assembly-1.0.0.3.0.2.1-8.jar \
105+
--jars /usr/hdp/current/hive_warehouse_connector/hive-warehouse-connector-assembly-<STACK_VERSION>.jar \
106106
--conf spark.security.credentials.hiveserver2.enabled=false
107107
```
108108

@@ -127,7 +127,7 @@ The Enterprise Security Package (ESP) provides enterprise-grade capabilities lik
127127

128128
```bash
129129
spark-shell --master yarn \
130-
--jars /usr/hdp/3.0.1.0-183/hive_warehouse_connector/hive-warehouse-connector-assembly-1.0.0.3.0.1.0-183.jar \
130+
--jars /usr/hdp/current/hive_warehouse_connector/hive-warehouse-connector-assembly-<STACK_VERSION>.jar \
131131
--conf spark.security.credentials.hiveserver2.enabled=false
132132
--conf spark.hadoop.hive.llap.daemon.service.hosts='<LLAP_APP_NAME>'
133133
--conf spark.sql.hive.hiveserver2.jdbc.url='jdbc:hive2://<ZOOKEEPER_QUORUM>;serviceDiscoveryMode=zookeeper;zookeeperNamespace=hiveserver2-interactive'

0 commit comments

Comments
 (0)