IoTDB Edge: stop-edge.bat ignores IOTDB_HOME, while start-edge.bat honours it
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
研究方向
Read scripts/sbin/windows/start-edge.bat and scripts/sbin/windows/stop-edge.bat at the linked lines, then compare how each handles IOTDB_HOME. The issue describes a mismatch when the same installation is reached through a symbolic link or junction; done means stop-edge.bat can match the process started with that path. The report says the scripts have not been run on Windows, so verify behavior there if possible.
由索引模型根據 Issue 內容生成。
描述
start-edge.bat keeps an IOTDB_HOME taken from the environment and passes it to the JVM as -DIOTDB_HOME="...":
https://github.com/apache/iotdb/blob/7aa8e63a7c6be84a5189006a2e5b884ab33f2a90/scripts/sbin/windows/start-edge.bat#L64-L65
https://github.com/apache/iotdb/blob/7aa8e63a7c6be84a5189006a2e5b884ab33f2a90/scripts/sbin/windows/start-edge.bat#L92
stop-edge.bat always sets IOTDB_HOME to the installation it belongs to, and only stops a java.exe whose command line contains -DIOTDB_HOME= followed by exactly that string:
So when the node was started with IOTDB_HOME set to another path to the same directory, such as a symbolic link or a junction, stop-edge.bat does not match the process. This is the Windows side of #18545. The Unix scripts are being changed in #18546, where both scripts now derive IOTDB_HOME with one shared function.
This came up in the review of #18546. I do not have a Windows machine and have not run these scripts; the above is from reading them.
- 主要語言
- Java
- 星號
- 6.4k
- 分支
- 1.2k
- 平均合併
- 1 天 12 小時
- 30 天內合併 PR
- 284
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
apache/iotdb 的其他 Issue
-
[Bug] Python NumpyTablet silently drops trailing zero bytes from BLOB values可能已有人在做 @DaZuiZui 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 85/100
維護者通常 1 天內回覆
-
[Bug] sbin/replace-conf-from-env.sh word-splits the whole environment and corrupts iotdb-system.properties可能已有人在做 @anishmehta24 於 69 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 82/100
apache/iotdb#18655 · 1 個 reaction ·
維護者通常 1 天內回覆
-
IoTDB Edge: stop-edge.sh does not stop its own process when IOTDB_HOME is set, and reports success可能已有人在做 @PDGGK 於 88 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
[Bug] findColumn throws NullPointerException instead of SQLException for an unknown column name可能已有人在做 @PDGGK 於 130 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
相似的 Issue
-
Android Bug Core Drape
難度 2/5 1-3 小時 新手友好度 77/100
organicmaps/organicmaps#14449 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 82/100
openhab/openhab-addons#22512 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 82/100
objectionary/lints#1871 ·
維護者通常 1 天內回覆
-
help wanted maintenance
難度 2/5 1-3 小時 新手友好度 82/100
apache/maven-war-plugin#694 ·
維護者通常 1 天內回覆
-
help wanted maintenance
難度 2/5 1-3 小時 新手友好度 78/100
apache/maven-resolver-ant-tasks#219 ·
維護者通常 1 天內回覆