mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 22:37:55 -05:00
feat(emr-serverless): open the live Spark UI from dashboard links (#8890)
With runner-mode docker, GetDashboardForJobRun's link for a Spark run's attempt that has not ended now opens its driver's Spark UI for real, and GetResourceDashboard's link does the same for a session's Spark Connect server, as "For jobs in a running state, the application UI is a live user interface such as the Spark or Tez web UI" and "While a session is active, the URL opens the live Apache Spark UI". Each link opens on a host of its own, <secret>-4040.emr-serverless-ui.<Floci's host>, through the application UI proxy EMR's on-cluster UIs use. That proxy moves to core.common (AppUiProxy, AppUiRoutes, AppUiRoute, AppUiHost), and each service registers the label its hosts are under. The runner turns the driver's UI on for every EMR Serverless Spark run, as the release's image turns it off, publishes port 4040 on the Docker host's loopback interface, and keeps where Floci reaches it while the container runs. A run whose logs are not kept in managed storage gets no live UI, as with logs in S3 alone the application UI is "Not supported". A Hive run, a run or session that has ended, and every link in the immediate mode still open Floci's own page, which now says whether the attempt's logs are in managed storage.
This commit is contained in:
1 parent
3ebd1bc38c
commit
3ffec01a76
26 files changed
+1226
-152
No files matched your search
@@ -34,10 +34,11 @@ jobs:
|
||||
# EmrServerlessCustomImageNightlyIntegrationTest's 85 and 21 for its setup,
|
||||
# EmrServerlessSparkConnectNightlyIntegrationTest's 30, EmrSessionServerNightlyIntegrationTest's 40,
|
||||
# EmrHiveStepsNightlyIntegrationTest's five two-minute tests, one five-minute test and six-minute setup,
|
||||
# EmrNotebookExecutionNightlyIntegrationTest's 40, and EmrAppUiNightlyIntegrationTest's 30, 321 in all. A check
|
||||
# added, or a bound raised, raises this with it, so a slow check fails with its own message rather than the job
|
||||
# being cancelled with none.
|
||||
timeout-minutes: 341
|
||||
# EmrNotebookExecutionNightlyIntegrationTest's 40, EmrAppUiNightlyIntegrationTest's 30, and
|
||||
# EmrServerlessDashboardNightlyIntegrationTest's 15, 336 in all. A check added, or a bound raised, raises this with
|
||||
# it, so a slow check fails with its own message rather than the job being cancelled with none; a hosted runner
|
||||
# ends any job at 360 minutes, which this stays under.
|
||||
timeout-minutes: 356
|
||||
# A fork's schedule would spend its owner's minutes on checks it never asked for; a draft waits until it is
|
||||
# ready for review, as the CI shards do.
|
||||
if: >-
|
||||
|
||||
Reference in new issue
Block a user