YARN Resource Manager HA: Minimal Design and State Boundary Management
Minimal YARN RM HA requires two RM hosts, a three-node ZooKeeper quorum, and client configuration listing all RM logical addresses to ensure automatic failover capability.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Minimal YARN RM HA requires two RM hosts, a three-node ZooKeeper quorum, and client configuration listing all RM logical addresses to ensure automatic failover capability.
When a low-priority batch job holds resources hostage, preemption lets the Capacity Scheduler reclaim containers for critical workloads. Configure yarn.scheduler.capacity.preemption.enabled and define preemption policies per queue.
Yarn workspaces let a monorepo install once from the root, but hoisting is not a guarantee. Learn how the resolution graph works, where phantom dependencies appear, and how to verify the result.
Yarn Berry's Plug'n'Play removes node_modules, but zero-installs isn't always worth the repo size. A minimal workspace setup shows how to decide.
Large projects waste time and disk space on node_modules. Yarn Plug'n'Play replaces the directory with a single map file, speeds installs, enforces strict dependencies, and offers a zero‑install workflow. Learn how to switch, test, and handle limitations.
Yarn Workspaces gives you a single lockfile, instant cross-package symlinks, and topological script execution—no Lerna, no Turborepo, no extra config. Here's how to set it up, control hoisting for stubborn tools, and optimize CI with focus installs.
Turn on Yarn Plug’n’Play (PnP) to remove <code>node_modules</code> and speed up installs. This guide shows how to enable PnP, verify it works, and avoid common pitfalls like native add‑ons and legacy scripts.
Yarn’s Plug’n’Play (PnP) removes the traditional node_modules tree, replacing it with a single .pnp.cjs map. This article walks through how PnP works, how to migrate a monorepo, the trade‑offs for CI/CD and tooling, and a practical zero‑install setup you can try today.
Learn how to decide between Yarn PnP and classic node_modules installs in a monorepo, compare trade‑offs, and verify the chosen layout with concrete commands.