Skip to content

Commit

Permalink
fix hadoop provided dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: chenxu <[email protected]>
  • Loading branch information
dmetasoul01 committed Aug 5, 2024
1 parent 70a9eef commit 005d4e0
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/presto-cdc-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
echo "FLINK_TEST_JAR_NAME=$(python script/get_jar_name.py lakesoul-flink | sed -e 's/.jar/-tests.jar/g')" >> $GITHUB_ENV
echo "SPARK_JAR_NAME=$(python script/get_jar_name.py lakesoul-spark)" >> $GITHUB_ENV
echo "SPARK_TEST_JAR_NAME=$(python script/get_jar_name.py lakesoul-spark | sed -e 's/.jar/-tests.jar/g')" >> $GITHUB_ENV
echo "PRESTO_JAR_NAME=$(python script/get_jar_name.py lakesoul-presto | sed -e 's/.jar/-jar-with-dependencies.jar/g')" >> $GITHUB_ENV
echo "PRESTO_JAR_NAME=$(python script/get_jar_name.py lakesoul-presto)" >> $GITHUB_ENV
echo "PRESTO_TEST_JAR_NAME=$(python script/get_jar_name.py lakesoul-presto | sed -e 's/.jar/-tests.jar/g')" >> $GITHUB_ENV
- name: Copy built jar to work-dir
run: |
Expand Down
3 changes: 1 addition & 2 deletions lakesoul-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,6 @@ SPDX-License-Identifier: Apache-2.0
<version>3.22.0</version>
</dependency>


<!-- jnr-ffi deps-->
<dependency>
<groupId>com.github.jnr</groupId>
Expand All @@ -342,7 +341,7 @@ SPDX-License-Identifier: Apache-2.0
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-client-api</artifactId>
<version>3.3.6</version>
<version>3.4.0</version>
<scope>${local.scope}</scope>
</dependency>
</dependencies>
Expand Down
6 changes: 6 additions & 0 deletions lakesoul-flink/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,12 @@ SPDX-License-Identifier: Apache-2.0
<version>${flink.version}</version>
<scope>${local.scope}</scope>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-client-api</artifactId>
<version>3.4.0</version>
<scope>${local.scope}</scope>
</dependency>
</dependencies>

<build>
Expand Down
2 changes: 1 addition & 1 deletion lakesoul-presto/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-client-api</artifactId>
<version>3.3.2</version>
<version>3.4.0</version>
<scope>${local.scope}</scope>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,6 @@ trait TableCreationTests

test("CTAS a managed table with the existing empty directory") {
val tableLoc = new File(getDefaultTablePath("tab1").stripPrefix("file:"))
println(tableLoc.getAbsolutePath)
try {
tableLoc.mkdirs()
withTable("tab1") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ class CompactionSuite extends QueryTest

override def sparkConf: SparkConf = {
super.sparkConf
.set("spark.shuffle.manager", "org.apache.spark.shuffle.sort.ColumnarShuffleManager")
.set("spark.network.timeout", "10000000")
.set("spark.sql.catalog.lakesoul", classOf[LakeSoulCatalog].getName)
.set(SQLConf.DEFAULT_CATALOG.key, LakeSoulCatalog.CATALOG_NAME)
Expand Down

0 comments on commit 005d4e0

Please sign in to comment.