Files
floci/docs
Priamo Germosen 6971626d82 fix(emr): give a step's command the sudo bootstrap actions have (#8415)
A step's script that ran sudo -u hadoop spark-submit ..., as a step
does on EMR, failed with exit code 127, as the image steps run in has
no sudo. The Release Guide's "Using HBase snapshots" runs a
command-runner.jar step of sudo -u hbase, and the Management Guide's
Kerberos users page a script-runner.jar script running sudo
kadmin.local. Only bootstrap actions had Floci's sudo, which went
before the image was kept.

Each step on a cluster now finds that same sudo first on its PATH,
written next to the hdfs and hadoop-streaming stand-ins the cluster's
Hadoop setup already writes there, and a Hive step's shell commands
find it too, written while its container is still root. It drops its
options, a long one's value given apart included, and runs the command
as the step's own hadoop user, so sudo -u hadoop runs as on EMR, while
a command that needs root fails as it would for hadoop. The script
moves to EmrServerlessSparkRunner, where the setup is, and the
bootstrap actions write it from there.
2026-11-14 23:19:12 -04:00
..
2026-03-15 17:43:56 -05:00