IoTDB Edge: stop-edge.bat ignores IOTDB_HOME, while start-edge.bat honours it
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 56/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Java
- Stelle
- 6.4k
- Fork
- 1.2k
- Merge medio
- 1g 12h
- PR unite (30g)
- 284
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di apache/iotdb
-
[Bug] Python NumpyTablet silently drops trailing zero bytes from BLOB valuesForse già presa @DaZuiZui l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
[Bug] sbin/replace-conf-from-env.sh word-splits the whole environment and corrupts iotdb-system.propertiesForse già presa @anishmehta24 l’ha presa 69 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
apache/iotdb#18655 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
IoTDB Edge: stop-edge.sh does not stop its own process when IOTDB_HOME is set, and reports successForse già presa @PDGGK l’ha presa 88 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
[Bug] findColumn throws NullPointerException instead of SQLException for an unknown column nameForse già presa @PDGGK l’ha presa 130 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di apache/iotdb
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
openhab/openhab-addons#22512 ·
I maintainer di solito rispondono entro 1 giorno
-
help wanted maintenance
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
apache/maven-project-info-reports-plugin#704 ·
I maintainer di solito rispondono entro 1 giorno
-
help wanted maintenance
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
apache/maven-ejb-plugin#261 ·
I maintainer di solito rispondono entro 1 giorno
-
help wanted maintenance
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
apache/maven-archetype#1086 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 1 giorno