[KYUUBI #296] Add spark 2.4 profile and shade hive-sevice-rpc to engine jar to fix thrift build err (#296)

* add spark 2.4.7 profile

* nit

* nit

* scala versions for profile spark-2.4
This commit is contained in:
Kent Yao 2021-01-18 14:23:31 +08:00 committed by GitHub
parent 6f8564ce59
commit eadca7589c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 43 additions and 2 deletions

View File

@ -65,4 +65,4 @@
</plugins>
</build>
</project>
</project>

View File

@ -93,4 +93,36 @@
</plugin>
</plugins>
</build>
</project>
<profiles>
<profile>
<id>spark-2.4</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<configuration>
<shadedArtifactAttached>false</shadedArtifactAttached>
<artifactSet>
<includes>
<include>org.apache.kyuubi:kyuubi-common</include>
<include>org.apache.kyuubi:kyuubi-ha</include>
<include>org.apache.hive:hive-service-rpc</include>
</includes>
</artifactSet>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

View File

@ -808,5 +808,14 @@
<module>dev/kyuubi-tpcds</module>
</modules>
</profile>
<profile>
<id>spark-2.4</id>
<properties>
<spark.version>2.4.7</spark.version>
<scala.version>2.11.12</scala.version>
<scala.binary.version>2.11</scala.binary.version>
</properties>
</profile>
</profiles>
</project>