Files
NowChessSystems/modules
Janis Eccarius a268a9acb7
Build & Test (NowChessSystems) TeamCity build finished
fix(analytics): write decompressed PGN to shared PVC path for executor access
SparkFiles.get() on the driver returns a driver-local path. When this was
passed to spark.read.text() the executor tried to open that path on its own
filesystem (separate pod), silently reading 0 rows.

Fix: download and decompress the Lichess PGN to NOWCHESS_PGN_CACHE_DIR
(default /tmp) which must be a filesystem shared between driver and executor
pods. In the k8s deployment this is the spark-analytics-output PVC mounted
at /spark-output, so set NOWCHESS_PGN_CACHE_DIR=/spark-output/.pgn-cache.

Also caches the decompressed file across runs — skips download if already
present.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-21 16:31:05 +02:00
..
2026-06-17 07:24:13 +00:00
2026-06-15 20:52:53 +00:00
2026-06-21 09:39:54 +00:00
2026-06-21 11:34:38 +00:00
2026-06-02 09:49:42 +00:00
2026-05-02 15:53:05 +00:00
2026-05-12 22:21:53 +00:00
2026-05-06 07:06:52 +00:00
2026-06-03 06:04:13 +00:00
2026-06-19 10:28:49 +00:00