This is an automated email from the ASF dual-hosted git repository.

yihua pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git


The following commit(s) were added to refs/heads/master by this push:
     new 8d11ae7066e [HUDI-9070] Fix Hudi cli bundle script to use 
HUDI_CONF_DIR environment variable (#12876)
8d11ae7066e is described below

commit 8d11ae7066e0fed43540c24369d9481a9f59f2d1
Author: Mansi Patel <[email protected]>
AuthorDate: Mon Feb 24 12:42:23 2025 -0800

    [HUDI-9070] Fix Hudi cli bundle script to use HUDI_CONF_DIR environment 
variable (#12876)
---
 packaging/hudi-cli-bundle/hudi-cli-with-bundle.sh | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/packaging/hudi-cli-bundle/hudi-cli-with-bundle.sh 
b/packaging/hudi-cli-bundle/hudi-cli-with-bundle.sh
index 380866b17f5..ecb5adc0fb6 100755
--- a/packaging/hudi-cli-bundle/hudi-cli-with-bundle.sh
+++ b/packaging/hudi-cli-bundle/hudi-cli-with-bundle.sh
@@ -33,7 +33,13 @@ fi
 echo "CLI_BUNDLE_JAR: $CLI_BUNDLE_JAR"
 echo "SPARK_BUNDLE_JAR: $SPARK_BUNDLE_JAR"
 
-HUDI_CONF_DIR="${DIR}"/conf
+if [ -z "$HUDI_CONF_DIR" ]; then
+  echo "HUDI_CONF_DIR not set, setting HUDI_CONF_DIR"
+  HUDI_CONF_DIR="${DIR}"/conf
+fi
+
+echo "HUDI_CONF_DIR: $HUDI_CONF_DIR"
+
 # hudi aux lib contains jakarta.el jars, which need to be put directly on 
class path
 HUDI_AUX_LIB="${DIR}"/auxlib
 

Reply via email to