apache / apache/iotdb

IoTDB Runtime information collection tools

Offen
#2,647 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
6.4k
Forks
1.2k
Ø Merge
1 T. 23 Std.
Gemergte PRs (30 T.)
115

Beschreibung

# Tools

Supply two scripts to collect the information of an IoTDB process. This could be used by the operations people in the production environment.

* tools/iotdb-runtime-information-collection.sh
* tools/iotdb-runtime-information-collection.bat

# Collect information:

## Thread status (To detect deadlock)

* use jps to get the IoTDB process id -> pid
* collect the thread status twice (interval 1s)
* jstack -l pid > jstack_1.log
* jstack -l pid > jstack_2.log

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne im Verzeichnis tools und prüfe die angeforderten Einstiegspunkte tools/iotdb-runtime-information-collection.sh und tools/iotdb-runtime-information-collection.bat. Prüfe, wie jps den IoTDB-Prozess identifiziert, und verwende dann zweimal jstack mit einem Abstand von einer Sekunde, um jstack_1.log und jstack_2.log zu erzeugen. Als abgeschlossen gilt die Aufgabe, wenn beide Skripte die angegebenen Thread-Statusinformationen für den Produktionseinsatz erfassen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java, shell
Bereich
devops, tooling
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.