Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wForget committed Mar 28, 2024
1 parent 10a6adf commit 50da1b0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/gluten.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,9 @@ jobs:
if [[ "${{ steps.gluten-cache.outputs.cache-hit }}" != 'true' ]]; then
git clone https://github.com/oap-project/gluten.git
cd gluten
./dev/builddeps-veloxbe.sh
./dev/package.sh
rm -rf dist && mkdir -p dist
mvn clean package -Pbackends-velox -Prss -Pspark-3.2 -DskipTests
cp package/target/gluten-velox-bundle-spark*.jar dist
cp package/target/thirdparty-lib/gluten-thirdparty-lib-*.jar dist
mvn clean package -Pbackends-velox -Prss -Pspark-3.3 -DskipTests
cp package/target/gluten-velox-bundle-spark*.jar dist
mvn clean package -Pbackends-velox -Prss -Pspark-3.4 -DskipTests
Expand Down
8 changes: 8 additions & 0 deletions integration-tests/kyuubi-gluten-it/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,14 @@
<systemPath>${project.basedir}/../../gluten/dist/${gluten.artifact.name}_x86_64-${gluten.version}.jar</systemPath>
</dependency>

<dependency>
<groupId>io.glutenproject</groupId>
<artifactId>gluten-thirdparty-lib</artifactId>
<version>${gluten.version}</version>
<scope>system</scope>
<systemPath>${project.basedir}/../../gluten/dist/gluten-thirdparty-lib-ubuntu-22.04-x86_64.jar</systemPath>
</dependency>

<dependency>
<groupId>org.apache.kyuubi</groupId>
<artifactId>kyuubi-common_${scala.binary.version}</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ trait GlutenSuiteMixin {
protected def extraJars: String = {
System.getProperty("java.class.path")
.split(":")
.filter(_.contains("gluten-velox-bundle-spark")).head
.filter(_.contains("gluten-")).mkString(",")
}

protected def extraConfigs: Map[String, String] = Map(
Expand All @@ -30,5 +30,6 @@ trait GlutenSuiteMixin {
"spark.memory.offHeap.enabled" -> "true",
"spark.shuffle.manager" -> "org.apache.spark.shuffle.sort.ColumnarShuffleManager",
"spark.gluten.ui.enabled" -> "false",
"spark.gluten.loadLibFromJar" -> "true",
"spark.jars" -> extraJars)
}

0 comments on commit 50da1b0

Please sign in to comment.