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

morningman pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new 3e6d0fa35b9 [branch-2.1](auditlog) remove auditlog build command in 
build.sh
3e6d0fa35b9 is described below

commit 3e6d0fa35b97d7614a593b57370c5e9b07e11260
Author: morningman <[email protected]>
AuthorDate: Thu Mar 28 00:07:09 2024 +0800

    [branch-2.1](auditlog) remove auditlog build command in build.sh
---
 build-for-release.sh |  1 -
 build.sh             | 20 --------------------
 2 files changed, 21 deletions(-)

diff --git a/build-for-release.sh b/build-for-release.sh
index bdf95b76b56..6e302d430a0 100755
--- a/build-for-release.sh
+++ b/build-for-release.sh
@@ -156,7 +156,6 @@ cp -R "${ORI_OUTPUT}"/fe/* "${OUTPUT_FE}"/
 
 # EXT
 cp -R "${ORI_OUTPUT}"/apache_hdfs_broker "${OUTPUT_EXT}"/apache_hdfs_broker
-cp -R "${ORI_OUTPUT}"/audit_loader "${OUTPUT_EXT}"/audit_loader
 
 # BE
 cp -R "${ORI_OUTPUT}"/be/* "${OUTPUT_BE}"/
diff --git a/build.sh b/build.sh
index a4c4010f7ad..efa808652b6 100755
--- a/build.sh
+++ b/build.sh
@@ -44,7 +44,6 @@ Usage: $0 <options>
      --meta-tool            build Backend meta tool. Default OFF.
      --index-tool           build Backend inverted index tool. Default OFF.
      --broker               build Broker. Default ON.
-     --audit                build audit loader. Default ON.
      --spark-dpp            build Spark DPP application. Default ON.
      --hive-udf             build Hive UDF library for Spark Load. Default ON.
      --be-java-extensions   build Backend java extensions. Default ON.
@@ -120,7 +119,6 @@ if ! OPTS="$(getopt \
     -l 'fe' \
     -l 'be' \
     -l 'broker' \
-    -l 'audit' \
     -l 'meta-tool' \
     -l 'index-tool' \
     -l 'spark-dpp' \
@@ -142,7 +140,6 @@ PARALLEL="$(($(nproc) / 4 + 1))"
 BUILD_FE=0
 BUILD_BE=0
 BUILD_BROKER=0
-BUILD_AUDIT=0
 BUILD_META_TOOL='OFF'
 BUILD_INDEX_TOOL='OFF'
 BUILD_SPARK_DPP=0
@@ -159,7 +156,6 @@ if [[ "$#" == 1 ]]; then
     BUILD_FE=1
     BUILD_BE=1
     BUILD_BROKER=1
-    BUILD_AUDIT=1
     BUILD_META_TOOL='OFF'
     BUILD_INDEX_TOOL='OFF'
     BUILD_SPARK_DPP=1
@@ -185,10 +181,6 @@ else
             BUILD_BROKER=1
             shift
             ;;
-        --audit)
-            BUILD_AUDIT=1
-            shift
-            ;;
         --meta-tool)
             BUILD_META_TOOL='ON'
             shift
@@ -253,7 +245,6 @@ else
         BUILD_FE=1
         BUILD_BE=1
         BUILD_BROKER=1
-        BUILD_AUDIT=1
         BUILD_META_TOOL='ON'
         BUILD_INDEX_TOOL='ON'
         BUILD_SPARK_DPP=1
@@ -439,7 +430,6 @@ echo "Get params:
     BUILD_FE                    -- ${BUILD_FE}
     BUILD_BE                    -- ${BUILD_BE}
     BUILD_BROKER                -- ${BUILD_BROKER}
-    BUILD_AUDIT                 -- ${BUILD_AUDIT}
     BUILD_META_TOOL             -- ${BUILD_META_TOOL}
     BUILD_INDEX_TOOL            -- ${BUILD_INDEX_TOOL}
     BUILD_SPARK_DPP             -- ${BUILD_SPARK_DPP}
@@ -797,16 +787,6 @@ if [[ "${BUILD_BROKER}" -eq 1 ]]; then
     cd "${DORIS_HOME}"
 fi
 
-if [[ "${BUILD_AUDIT}" -eq 1 ]]; then
-    install -d "${DORIS_OUTPUT}/audit_loader"
-
-    cd "${DORIS_HOME}/fe_plugins/auditloader"
-    ./build.sh
-    rm -rf "${DORIS_OUTPUT}/audit_loader"/*
-    cp -r -p "${DORIS_HOME}/fe_plugins/auditloader/output"/* 
"${DORIS_OUTPUT}/audit_loader"/
-    cd "${DORIS_HOME}"
-fi
-
 echo "***************************************"
 echo "Successfully build Doris"
 echo "***************************************"


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

Reply via email to