Skip to main content

DataLake Overview

DataLake is the infrastructure layer of the PlantPulse Platform. Everything where data is stored and flows — databases, message brokers, analytics engines, time series engines, workflow engines — lives here, and above it sit applications like the web console, batch jobs, and the warehouse.

Pages you'll visit most often in this section

One container, eight services

DataLake runs as plantpulse-datalake one container on the host. Inside it, eight services start in a defined order. The authoritative order is in one file plantpulse-datalake-cli/services/order.txt inside the container.

storage → analytics → messaging → timeseries → cep → workflow → data-gateway → admin-api
OrderServiceContainsPortsPurpose
1storageValkey · PostgreSQL · Cassandra · MinIO6379 · 5432 · 9042 · 9000Caching · metadata · time series · object storage
2analyticsSpark · Hive · Gravitino · Kyuubi7077/4440 · 9083 · 19001 · 10000Distributed analytics and SQL gateway
3messagingKafka · HiveMQ(MQTT)9092 · 1883Field data collection and inter-module event delivery
4timeseriesTime series engine · Grafana7800 · 3000Time series storage, query, dashboards
5cepCEP server7400Complex event processing (EQL)
6workflowTemporal · Kestra7233/8233 · 8380Long-running jobs and data pipelines
7data-gatewayData gateway5500External data query portal (includes SQL console)
8admin-apiAdmin console backend4949 · 4950Operations console and health API for this node

storage and analytics are gatekeepers. If they do not start, no service behind them will even try. The rest will warn and continue if they do not start.

plantpulse-sql is deprecated (2026-09-07)

The old documentation's "SQL Query Service (port 4000)" is no longer in the image. The place where you run SQL from the console is now the Data Gateway console (https://<server-ip>:5501/) → plantpulse-sql (deprecated)

Where to do what

There are three places where you work with DataLake. Once you know which place does what, the rest of this section is reference material.

PlaceCommands · screensTask
Host (/opt/kopens/plantpulse-platform-docker/bin/)up.sh down.sh restart.sh restart-datalake.sh status.sh logs.sh shell.sh passwd.shStart and stop the container, rotate passwords, edit config files. Operator's first entry point
Inside container (docker exec plantpulse-datalake pd …)pd status pd doctor pd logs pd config diff pd restart <서비스> pd backupRestart a single service, check if config rendered correctly, take backups
Browser (https://<server-ip>:4950/)Admin consoleView status, metrics, logs, diagnostics, backups, and config diffs. Run pd verbs allowed from the command screen
Only the host is where you change values

Config files inside the container (/opt/kopens/plantpulse-platform/<module>/conf/…) are all generated. Changes you make there vanish at next startup. The source of truth is a set of files under /etc/kopens/ on the host; details are in Where are the configuration files.

First 5 minutes — verify it works

All the commands below are read-only. They change nothing, so run them anytime.

# 1. 호스트에서 — 컨테이너와 헬스 요약. 종료 코드 0 = 정상, 2 = 비정상
cd /opt/kopens/plantpulse-platform-docker/bin
./status.sh

# 2. 컨테이너 안 — 서비스별 포트 표. 마지막 줄 "0 STOPPED" 면 정상
docker exec plantpulse-datalake pd status

# 3. 컨테이너 안 — 환경이 조용히 어긋난 곳은 없나. 마지막 줄 "FAIL 0" 이면 정상
docker exec plantpulse-datalake pd doctor

# 4. 브라우저 — 관리 콘솔
# https://<server-ip>:4950/?lang=ko

It is normal to see one STOPPED in pd status for a few tens of seconds after startup. Kyuubi inside analytics starts last (observed: 54 seconds). Check again after 1 minute.

This section's structure

PageWhen to read
Path mapWhen you ask "where is that file" — host, container, volumes, logs
Environment configurationConfig file locations, how to change them, variable reference
CredentialsService password and API key rotation, web console login account
Admin consoleConsole access, login, screen layout
pd CLIComplete operations commands inside the container
OperationsStart, stop, restart; logs and health; backup and restore
ComponentsStorage, messaging, analytics, time series, CEP, workflow, gateway in detail
FAQCommon symptoms and answers