Files
floci/docs
Priamo Germosen 5fa518cf10 feat(emr): keep a cluster's application history and open its persistent UIs for real in the docker runner mode (#8817)
With runner-mode docker, GetPersistentAppUIPresignedURL now opens the
persistent application UI's interface for real, SHS the Spark History
Server, YTS the YARN timeline server and TEZ the Tez UI, on a host of
its own as an on-cluster UI does: while the cluster runs, its primary
node's; once it has ended, as "You can access application history and
relevant log files for active and terminated clusters", its kept
history's, for the 30 days for which "The logs are available ... after
the application ends".

The primary node of a cluster that runs either history interface mounts
a volume of its own, which holds the timeline server's store (its
entities kept 30 days rather than Hadoop's 7), and into which, as the
cluster's storage goes, or as a reset or a shutdown removes a node
still running, its Spark applications' event logs are copied out of its
HDFS; the cluster's other storage goes as before, though a copy that
fails keeps it, the event logs in it, for a later try or a restart to
remove. The URL is not
PresignedURLReady while the cluster is ending or its storage is going.
Then a container of the image the cluster ran serves it, on a network
of its own that no step's container is on, started by the first link,
the URL not PresignedURLReady until it answers, and stopped once no
link to it is valid, a later link starting it again; with no
ResourceManager there, the Tez UI's asks for one go to the timeline
server. A kept history goes once its 30 days have passed, whether or
not a link asked for it. A restart keeps the histories of the clusters
that ended within 30 days, a reset or a shutdown removes the
containers, and a reset every history. Elsewhere, the link still opens
Floci's own page.

EmrAppUiNightlyIntegrationTest runs it for real: a persistent UI opens
the cluster's Spark History Server while it runs, and, once it has
ended and its storage has gone, its kept history: the Spark
application, the Hive query's Tez DAG and the Tez UI's page.
2026-11-18 01:29:25 -04:00
..
2026-03-15 17:43:56 -05:00