IoTDB Edge: stop-edge.bat ignores IOTDB_HOME, while start-edge.bat honours it
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 56/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Java
- Estrellas
- 6.4k
- Forks
- 1.2k
- Merge medio
- 1 d 12 h
- PR fusionados (30 d)
- 284
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de apache/iotdb
-
[Bug] Python NumpyTablet silently drops trailing zero bytes from BLOB valuesPosiblemente ocupada @DaZuiZui la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
[Bug] sbin/replace-conf-from-env.sh word-splits the whole environment and corrupts iotdb-system.propertiesPosiblemente ocupada @anishmehta24 la tomó hace 69 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
apache/iotdb#18655 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
IoTDB Edge: stop-edge.sh does not stop its own process when IOTDB_HOME is set, and reports successPosiblemente ocupada @PDGGK la tomó hace 88 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
[Bug] 执行start-all.sh后无法启动集群问题Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
[Bug] findColumn throws NullPointerException instead of SQLException for an unknown column namePosiblemente ocupada @PDGGK la tomó hace 130 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
Todos los issues de apache/iotdb
Issues similares
-
Android Bug Core Drape
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
organicmaps/organicmaps#14449 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
openhab/openhab-addons#22512 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
objectionary/lints#1871 ·
Los mantenedores suelen responder en 1 día
-
help wanted maintenance
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
apache/maven-war-plugin#694 ·
Los mantenedores suelen responder en 1 día
-
help wanted maintenance
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
apache/maven-resolver-ant-tasks#219 ·
Los mantenedores suelen responder en 1 día