mvn install上传:
mvn install:install-file -Dfile=ql.jar -DgroupId=com.cloudera.impala.jdbc -DartifactId=ql -Dversion=2.5.30 -Dpackaging=jar
mvn install:install-file -Dfile=TCLIServiceClient.jar -DgroupId=com.cloudera.impala.jdbc -DartifactId=TCLIServiceClient -Dversion=2.5.30 -Dpackaging=jar
mvn install:install-file -Dfile=hive_metastore.jar -DgroupId=com.cloudera.impala.jdbc -DartifactId=hive_metastore -Dversion=2.5.30 -Dpackaging=jar
mvn install:install-file -Dfile=hive_service.jar -DgroupId=com.cloudera.impala.jdbc -DartifactId=hive_service -Dversion=2.5.30 -Dpackaging=jar
使用:
<impala.jdbc.version>2.5.30</impala.jdbc.version>
<dependency> <groupId>com.cloudera.impala.jdbc</groupId> <artifactId>hive_metastore</artifactId> <version>${impala.jdbc.version}</version> </dependency> <dependency> <groupId>com.cloudera.impala.jdbc</groupId> <artifactId>hive_service</artifactId> <version>${impala.jdbc.version}</version> </dependency> <dependency> <groupId>com.cloudera.impala.jdbc</groupId> <artifactId>ImpalaJDBC41</artifactId> <version>${impala.jdbc.version}</version> </dependency> <dependency> <groupId>com.cloudera.impala.jdbc</groupId> <artifactId>ql</artifactId> <version>${impala.jdbc.version}</version> </dependency> <dependency> <groupId>com.cloudera.impala.jdbc</groupId> <artifactId>TCLIServiceClient</artifactId> <version>${impala.jdbc.version}</version> </dependency>