Presto Slurm: personal-account fixes — fast-fail exit, mmap-allocator override, quieter logs #427
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.48) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.48 · 502 lines diff across 6 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.372
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #427"
general
weight: 0.35
misiugodfrey
Summary
The main goal here was to get the presto slurm scripts working with the new user accounts on the NVL72. There were some QOL improvements added as well.
Fixes found while switching the Presto NVL72 Slurm scripts over from an
always-
prestouserassumption to support personal accounts, and whiledebugging benchmark runs on that path:
launch-run.sh: the "Resolving first node IP" loop used to pollsqueuefor up to 5 minutes even when the job had already failed and leftthe queue (e.g. a fast failure during
setup— missing Hive schema, etc).It now checks job state each iteration and breaks immediately once the job
is gone, instead of waiting out the full timeout before reporting failure.
CLUSTER_GPU_USE_MMAP_ALLOCATOR/CLUSTER_CPU_USE_MMAP_ALLOCATORcluster-config override, wired through
launcher_common.sh→build_common_export_vars→generate_presto_config.sh, which now setsuse-mmap-allocatorin the generated native worker config. SomeGB200/ARM nodes use a 64KB kernel page size, and Velox's
MmapAllocator(the Presto C++ default) asserts at startup on those hosts
(
isPageSizeSupported(), seeMmapAllocator.cpp:76). Setting the newvariable to
falseswitches toMallocAllocatorwithout touching anylauncher scripts. Defaults to
trueeverywhere else, so clusters withnormal 4KB pages are unaffected.
-xshell tracing from the two jobentrypoints (
run-presto-benchmarks.sh,run-analyze-tables.sh), whichwas dumping every executed command into
.errlogs. Also silencedminiforge/venv/conda/pip setup noise (
run_py_script.sh --quiet,captured-and-dumped-on-failure for the miniforge installer) and stray
pushd/popddirectory-stack echoes.echo_success/REDcolor helpers intolauncher_common.shand applied them to the main pass/fail lines(
Job completed/Job FAILED,Analyze tables complete!,Benchmark complete!, etc.), matching the existing green "Configs weregenerated successfully" convention.
~/.cluster_config.env, but the actual default (defaults.env) hasalways been
~/presto_cluster_config.env— a stale, misleading path.Fixed everywhere, and added guidance to copy a cluster-wide default
(e.g.
/scratch/nvidia/presto_cluster_config.env) instead of startingfrom the blank template when one has already been published.
Outstanding issues
Testing showed that this worked for existing tpch-float workloads, but we ran into errors when testing on decimal. This does not seem to be an issue with the scripts, as it's a segfault in velox. Further investigation will be needed on that end, but otherwise we are working as expected.
The default data directory still points at the existing data, where new users have read-only access - this is as intended for now. If we want to create new "official" data for now we will use
prestouser, otherwise you can creat your own data and point the configs at it.Test plan
behavior, confirmed
launch-run.shnow exits promptly once the jobleaves the queue.
MmapAllocatorstartup crash on a 64KB-page GB200 node;confirmed
CLUSTER_GPU_USE_MMAP_ALLOCATOR=falseavoids it and workersregister successfully.
use-mmap-allocatorsedsubstitution against the realtemplate file.
unrelated GPU-exchange correctness bug under investigation — not part
of this PR).