pom.xml
<dependency>
<groupId>org.apache.hadoopgroupId>
<artifactId>hadoop-commonartifactId>
<version>2.7.3version>
dependency>
<dependency>
<groupId>org.apache.hadoopgroupId>
<artifactId>hadoop-coreartifactId>
<version>1.2.1version>
dependency>
<dependency>
<groupId>org.apache.hivegroupId>
<artifactId>hive-jdbcartifactId>
<version>2.1.0version>
dependency>
Application.yml
spring:
datasource:
driver-class-name: org.apache.hive.jdbc.HiveDriver
url: jdbc:hive2://127.0.0.1:10000/test
username: test
password: test
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)