zhouyuan commented on code in PR #11516:
URL: 
https://github.com/apache/incubator-gluten/pull/11516#discussion_r2769885847


##########
.github/workflows/util/install-resources.sh:
##########
@@ -93,6 +93,64 @@ EOF
   "$HADOOP_HOME/bin/hdfs" dfs -ls /
 }
 
+function install_minio {
+  echo "Installing MinIO..."
+
+  apt-get update -y
+  apt-get install -y curl
+
+  curl -fsSL -o /usr/local/bin/minio 
https://dl.min.io/server/minio/release/linux-amd64/minio
+  chmod +x /usr/local/bin/minio
+
+  curl -fsSL -o /usr/local/bin/mc 
https://dl.min.io/client/mc/release/linux-amd64/mc
+  chmod +x /usr/local/bin/mc
+
+  echo "MinIO installed successfully"
+}
+
+function setup_minio {
+  echo "Setting up MinIO S3-compatible service..."
+
+  # Download S3 JARs to Spark jars directory
+  
SPARK_JARS_DIR="/opt/shims/spark35/spark_home/assembly/target/scala-2.12/jars"
+  wget -q 
https://repo1.maven.org/maven2/org/apache/hadoop/hadoop-aws/3.3.2/hadoop-aws-3.3.2.jar
 -P "$SPARK_JARS_DIR"
+  wget -q 
https://repo1.maven.org/maven2/com/amazonaws/aws-java-sdk-bundle/1.12.788/aws-java-sdk-bundle-1.12.788.jar
 -P "$SPARK_JARS_DIR"

Review Comment:
   Need to take different versions of AWS SDK for different Spark



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to