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

Caideyipi pushed a commit to branch patch-2094
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit b7d1d5eb68bfca6f8531dc7f5f5a701fec3cd11a
Author: 罗振羽 <[email protected]>
AuthorDate: Wed May 6 02:37:55 2026 +0000

    [TIMECHODB] Move tsfile-remote-sink plugin to ext/pipe
    
    (cherry picked from commit 649d81cbfa2d111756c6574bd59f2d90570834e5)
---
 distribution/src/assembly/extension.xml | 2 +-
 scripts/tools/tsfile-backup.sh          | 6 +++---
 scripts/tools/windows/tsfile-backup.bat | 6 +++---
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/distribution/src/assembly/extension.xml 
b/distribution/src/assembly/extension.xml
index 1e66f2c3696..71e6af65901 100644
--- a/distribution/src/assembly/extension.xml
+++ b/distribution/src/assembly/extension.xml
@@ -125,7 +125,7 @@
         </file>
         <file>
             
<source>${maven.multiModuleProjectDirectory}/library-pipe/tsfile-remote-sink/target/tsfile-remote-sink-${project.version}-jar-with-dependencies.jar</source>
-            <outputDirectory>lib</outputDirectory>
+            <outputDirectory>ext/pipe</outputDirectory>
         </file>
     </files>
     <componentDescriptors>
diff --git a/scripts/tools/tsfile-backup.sh b/scripts/tools/tsfile-backup.sh
index 4f8bcbd83d2..d99a13bac61 100755
--- a/scripts/tools/tsfile-backup.sh
+++ b/scripts/tools/tsfile-backup.sh
@@ -31,8 +31,8 @@ fi
 
 TOOL_ROOT="$(cd "$(dirname "$0")/.."; pwd)"
 PLUGIN_JAR=""
-if [ -d "$TOOL_ROOT/lib" ]; then
-  for f in "$TOOL_ROOT/lib"/tsfile-remote-sink-*-jar-with-dependencies.jar; do
+if [ -d "$TOOL_ROOT/ext/pipe" ]; then
+  for f in 
"$TOOL_ROOT/ext/pipe"/tsfile-remote-sink-*-jar-with-dependencies.jar; do
     if [ -f "$f" ]; then
       PLUGIN_JAR="$f"
       break
@@ -46,7 +46,7 @@ if [ -z "${IOTDB_HOME}" ]; then
 fi
 
 if [ -z "$PLUGIN_JAR" ] || [ ! -f "$PLUGIN_JAR" ]; then
-  echo "[ERROR] tsfile-remote-sink plugin JAR not found under 
$TOOL_ROOT/lib/." >&2
+  echo "[ERROR] tsfile-remote-sink plugin JAR not found under 
$TOOL_ROOT/ext/pipe/." >&2
   echo "        Use this script from the tsfile-backup distribution, or set 
TSFILE_REMOTE_SINK_JAR / --plugin_jar." >&2
   exit 1
 fi
diff --git a/scripts/tools/windows/tsfile-backup.bat 
b/scripts/tools/windows/tsfile-backup.bat
index c6fc592f2b2..908c8a8a852 100644
--- a/scripts/tools/windows/tsfile-backup.bat
+++ b/scripts/tools/windows/tsfile-backup.bat
@@ -38,12 +38,12 @@ if NOT DEFINED JAVA_HOME goto :err_java
 
 @REM Automatically scan and locate the plugin JAR (no delayed expansion 
required)
 set "PLUGIN_JAR="
-for %%f in ("%TOOL_ROOT%\lib\tsfile-remote-sink-*-jar-with-dependencies.jar") 
do (
+for %%f in 
("%TOOL_ROOT%\ext\pipe\tsfile-remote-sink-*-jar-with-dependencies.jar") do (
     set "PLUGIN_JAR=%%f"
 )
 
 if "%PLUGIN_JAR%"=="" (
-    echo [ERROR] tsfile-remote-sink plugin JAR not found under %TOOL_ROOT%\lib\
+    echo [ERROR] tsfile-remote-sink plugin JAR not found under 
%TOOL_ROOT%\ext\pipe\
     set ret_code=1
     goto finally
 )
@@ -84,4 +84,4 @@ goto finally
 @REM 
-----------------------------------------------------------------------------
 :finally
 if "%OS%" == "Windows_NT" endlocal
-EXIT /B %ret_code%
\ No newline at end of file
+EXIT /B %ret_code%

Reply via email to