|
@@ -25,6 +25,16 @@
|
|
|
<groupId>com.aliyun.odps</groupId>
|
|
|
<artifactId>odps-sdk-core</artifactId>
|
|
|
<version>${sdk.version}</version>
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>org.slf4j</groupId>
|
|
|
+ <artifactId>slf4j-log4j12</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>log4j</groupId>
|
|
|
+ <artifactId>log4j</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.aliyun.odps</groupId>
|
|
@@ -104,6 +114,48 @@
|
|
|
<groupId>org.apache.hbase.connectors.spark</groupId>
|
|
|
<artifactId>hbase-spark</artifactId>
|
|
|
<version>1.0.0</version>
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <groupId> org.apache.spark</groupId>
|
|
|
+ <artifactId>spark-core_2.11</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ <exclusion>
|
|
|
+ <groupId> org.apache.spark</groupId>
|
|
|
+ <artifactId>spark-launcher_2.11</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ <exclusion>
|
|
|
+ <groupId> org.apache.spark</groupId>
|
|
|
+ <artifactId>spark-kvstore_2.11</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ <exclusion>
|
|
|
+ <groupId> org.apache.spark</groupId>
|
|
|
+ <artifactId>spark-network-common_2.11</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ <exclusion>
|
|
|
+ <groupId> org.apache.spark</groupId>
|
|
|
+ <artifactId>spark-network-shuffle_2.11</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ <exclusion>
|
|
|
+ <groupId> org.apache.spark</groupId>
|
|
|
+ <artifactId>spark-unsafe_2.11</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ <exclusion>
|
|
|
+ <groupId> org.apache.spark</groupId>
|
|
|
+ <artifactId>spark-tags_2.11</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ <exclusion>
|
|
|
+ <groupId> org.apache.spark</groupId>
|
|
|
+ <artifactId>spark-sql_2.11</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ <exclusion>
|
|
|
+ <groupId> org.apache.spark</groupId>
|
|
|
+ <artifactId>spark-sketch_2.11</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ <exclusion>
|
|
|
+ <groupId> org.apache.spark</groupId>
|
|
|
+ <artifactId>spark-catalyst_2.11</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.projectlombok</groupId>
|
|
@@ -116,6 +168,13 @@
|
|
|
<artifactId>dns-cache-manipulator</artifactId>
|
|
|
<version>1.5.1</version>
|
|
|
</dependency>
|
|
|
+ <!-- https://mvnrepository.com/artifact/org.elasticsearch/elasticsearch-spark-20 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.elasticsearch</groupId>
|
|
|
+ <artifactId>elasticsearch-spark-20_2.11</artifactId>
|
|
|
+ <version>6.0.0</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
@@ -135,10 +194,11 @@
|
|
|
<shadedArtifactAttached>true</shadedArtifactAttached>
|
|
|
<artifactSet>
|
|
|
<includes>
|
|
|
- <include>cn.hutool:*</include>
|
|
|
- <include>com.aliyun.odps:*</include>
|
|
|
+ <include>*:*</include>
|
|
|
+ <!--<include>com.aliyun.odps:*</include>
|
|
|
<include>org.mongodb.*:*</include>
|
|
|
<include>org.apache.hbase:*</include>
|
|
|
+ <include>org.elasticsearch:*</include>-->
|
|
|
</includes>
|
|
|
</artifactSet>
|
|
|
<filters>
|