You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ro...@apache.org on 2023/04/14 09:15:50 UTC

[iotdb] branch master updated: [IOTDB-5768] Fixed the bug that IoTDB will create pipe dir outside of IoTDB directory (#9616)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new fae06602d5 [IOTDB-5768] Fixed the bug that IoTDB will create pipe dir outside of IoTDB directory (#9616)
fae06602d5 is described below

commit fae06602d5a5875c102c980cf9ceb11eda1a1e6b
Author: Caideyipi <87...@users.noreply.github.com>
AuthorDate: Fri Apr 14 17:15:43 2023 +0800

    [IOTDB-5768] Fixed the bug that IoTDB will create pipe dir outside of IoTDB directory (#9616)
---
 server/src/assembly/resources/sbin/stop-datanode.sh            | 2 +-
 server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/src/assembly/resources/sbin/stop-datanode.sh b/server/src/assembly/resources/sbin/stop-datanode.sh
index c0adb1c07a..c472b68dbe 100644
--- a/server/src/assembly/resources/sbin/stop-datanode.sh
+++ b/server/src/assembly/resources/sbin/stop-datanode.sh
@@ -21,7 +21,7 @@
 DATANODE_CONF="`dirname "$0"`/../conf"
 dn_rpc_port=`sed '/^dn_rpc_port=/!d;s/.*=//' ${DATANODE_CONF}/iotdb-datanode.properties`
 
-echo "check whether the rpc_port is used..., port is" $dn_rpc_port
+echo "Check whether the rpc_port is used..., port is" $dn_rpc_port
 
 if  type lsof > /dev/null 2>&1 ; then
   PID=$(lsof -t -i:"${dn_rpc_port}" -sTCP:LISTEN)
diff --git a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
index 53e7f321b2..0e1d17a28c 100644
--- a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
+++ b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
@@ -1177,7 +1177,7 @@ public class IoTDBConfig {
     triggerDir = addDataHomeDir(triggerDir);
     triggerTemporaryLibDir = addDataHomeDir(triggerTemporaryLibDir);
     pipeDir = addDataHomeDir(pipeDir);
-    pipeTemporaryLibDir = addDataHomeDir(pipeDir);
+    pipeTemporaryLibDir = addDataHomeDir(pipeTemporaryLibDir);
     mqttDir = addDataHomeDir(mqttDir);
 
     extPipeDir = addDataHomeDir(extPipeDir);