Spark, YARN and Hive
YARN + Spark Cluster Lab
Set up imaginary nodes, queues, users, ApplicationMasters and Spark executors, then watch capacity limits, user limits, container placement and preemption play out.
Why your Spark app gets no YARN resources
The five usual reasons: a container that is too big, a full AM pool, Oozie launchers holding the AM pool, a user limit, or no node with room.
Who talks to whom in Hive
HiveServer2, the Metastore service, Thrift, Beeline, Tez, Oozie hive2 actions and Spark: which address goes where, useful settings, and PySpark.
Apache Spark Handbook + HBase
Spark in pictures: who runs an application, how Spark plans and divides work, partitions, shuffles, joins, memory and files, then HBase storage.
PySpark and Py4J
How Python controls the Spark JVM: the Py4J gateway, driver-to-executor RPC, where data goes, Python UDFs on executors, and why Java apps need no Python.
yarn-resource-config
A script that reports, in plain words, why a Spark app gets no YARN resources, from the YARN, Capacity Scheduler, Spark and Oozie settings.
AWS and EMR
Finding HBase / EMR connection values
Commands for the ZooKeeper quorum, EMR master and HMaster hosts, Kerberos principal, Metastore URI and NameNode address, with annotated output.
Debugging Oozie workflows on Amazon EMR
Validate workflow XML, dry-run, inspect jobs, read the three layers of logs, and rerun, resume or kill workflows, coordinators and bundles.
AWS SSM Session Manager explained
How Session Manager connects you to an instance with no SSH key or open port: what must be true, a minimal IAM policy, and other uses of the tunnel.
How AWS SSM really works (GPT version)
The same topic explained by GPT, for comparison with the Claude version.
Security
Secure file exchange with SFTP and OpenPGP
System A sends files to System B: OpenPGP keys, encryption and signing, SFTP over SSH, what both sides must agree on, with an infographic.
Eight keys, 256 guesses: the eMudhra weak CA keys
How eight trusted CA keys were made weak, how a free tool found them, how root programs and browsers responded, and how Go blocked them in crypto/x509. With drawings of certificate chains and key ceremonies.
Go
Terminal and tools
tmux
Sessions, windows and panes that keep running after you disconnect, the shortcuts, and how to save your work.
GNU nano
Keyboard shortcuts, command-line options and configuration for the nano editor.
Ghostty
Make the Ghostty terminal look great: themes, fonts, quality-of-life settings, the quick terminal and custom shaders.
grep
Everyday flags, context lines, AND / OR / NOT, regex flavors, recursive search, binary files and log-hunting recipes.
Grepping GitHub Actions run logs
Search across runs with the gh CLI and grep: find a run, grep one or many, download logs, and watch a live run.
Charts and notebooks
Scripts and configs
terminal-bootstrap.sh
A friendly shell for browser terminals, no sudo: theme, Vim, tmux, and helpers for Beeline, YARN, Oozie, HBase and XML. Safe to re-run.
.shterminal-bootstrap-min.sh
The same, without Vim, tmux and the Hadoop helpers.
.shyarnapps.sh
Lists YARN applications with the Oozie launcher names decoded.
.pynotebook_style.py
Styling for JupyterLab and SageMaker Studio: fonts, tables, pandas options, and bar, line, area and donut charts.
.pynotebook_style_v2.py
Version 2: adds notebook colors, a syntax theme, and saving tables to Excel or as images.
.pyspark_hbase_diagrams.py
Generates the SVG diagrams in the Spark + HBase visual guide.
cfgghostty/config
The Ghostty configuration from the Ghostty guide (macOS).
.shghostty/get-shaders.sh
Downloads community shader packs for Ghostty.
rcnano-ctrl-bindings.nanorc
A nano keymap without Meta keys, for browser terminals.
Nothing matches. Try another word, or show All.