This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hudi-> connect -–path TABLE_PATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export SPARK_HOME=<spark-home-folder> | |
export CLI_BUNDLE_JAR=<cli-bundle-jar-to-use> | |
export SPARK_BUNDLE_JAR=<spark-bundle-jar-to-use> | |
./hudi-cli-with-bundle.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cp $HUDI_REPO_ROOT/packaging/hudi-cli-bundle/hudi-cli-with-bundle.sh cli-staging/ | |
mkdir cli-staging/conf | |
cp $HUDI_REPO_ROOT/packaging/hudi-cli-bundle/conf/* cli-staging/conf/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cp $HUDI_REPO_ROOT/packaging/hudi-spark-bundle/target/hudi-spark3.2-bundle_2.12-0.13.0.jar cli-staging/ | |
cp $HUDI_REPO_ROOT/packaging/hudi-cli-bundle/target/hudi-cli-bundle_2.12-0.13.0.jar cli-staging/ | |
cp $HUDI_REPO_ROOT/packaging/hudi-cli-bundle/hudi-cli-with-bundle.sh cli-staging/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir cli-staging/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mvn -T 2C clean package -DskipTests -Dspark[YourVersion] -Dscala-[YourVersion] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ../ | |
export SPARK_HOME=<spark-home-folder> | |
export CLI_BUNDLE_JAR=<cli-bundle-jar-to-use> | |
export SPARK_BUNDLE_JAR=<spark-bundle-jar-to-use> | |
./hudi-cli-with-bundle.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir conf/ | |
cd conf/ | |
$ curl https://raw.githubusercontent.com/apache/hudi/release-0.13.0/packaging/hudi-cli-bundle/conf/hudi-env.sh -o hudi-env.sh | |
$ curl https://raw.githubusercontent.com/apache/hudi/release-0.13.0/packaging/hudi-cli-bundle/conf/log4j2.properties -o log4j2.properties |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl https://repo1.maven.org/maven2/org/apache/hudi/hudi-cli-bundle_2.12/0.13.0/hudi-cli-bundle_2.12-0.13.0.jar -o hudi-cli-bundle_2.12-0.13.0.jar | |
$ curl https://repo1.maven.org/maven2/org/apache/hudi/hudi-spark3.2-bundle_2.12/0.13.0/hudi-spark3.2-bundle_2.12-0.13.0.jar -o hudi-spark3.2-bundle_2.12-0.13.0.jar | |
$ curl https://raw.githubusercontent.com/apache/hudi/release-0.13.0/packaging/hudi-cli-bundle/hudi-cli-with-bundle.sh -o hudi-cli-with-bundle.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir cli-staging/ | |
cd cli-staging/ |