summaryrefslogtreecommitdiff
path: root/internal/mapr/groupsetresult.go
AgeCommit message (Collapse)Author
2026-03-10Introduce client runtime boundariesPaul Buetow
2026-02-03Add SSH agent key selection and fix MapReduce outfile handlingPaul Buetow
This commit adds two major features and fixes: 1. SSH Agent Key Selection: - Add --agentKeyIndex flag to select specific SSH agent key (0-based) - Solves "too many authentication failures" with multiple SSH keys - Default -1 uses all keys (backwards compatible) - Available in dtail, dcat, dgrep, dmap commands 2. MapReduce Outfile Fixes: - CSV files now written at every interval, not just on exit - Proper signal handling (SIGTERM/SIGINT) with graceful shutdown - 5-second grace period for cleanup before force exit - Fixes issue where outfile remained as .tmp during execution Usage: dtail --servers host --agentKeyIndex 0 --query '...' outfile results.csv This is particularly useful with YubiKey/hardware tokens where many keys are loaded in the SSH agent, and for monitoring MapReduce results in real-time as they're computed. Co-authored-by: Cursor <cursoragent@cursor.com>
2024-03-29only rename .csv.tmp to .csv when the final result was writtenPaul Buetow
2024-03-29lint warningsPaul Buetow
2022-07-15Refactor - reduce code complexityPaul Buetow
2022-03-14a 0666 to OpenFile will respect the user's default umaskPaul Buetow
2022-03-14add integration test for "outfile append.."Paul Buetow
2022-03-14"append" now actually will append to an outfile now. previously we only ↵Paul Buetow
added the syntax to the mapr query
2022-03-14Add "append" modifier for "outfile" keyword to the mapreduce languagePaul Buetow
2021-12-23refactorPaul Buetow
2021-12-23Refactor code to reduce function sizePaul Buetow