With persistence on, schedules survived a restart but the dispatcher's record of when each last fired lived in memory, so a one-time at() schedule fired again and every rate and cron schedule fired an immediate catch-up. The last fire is now stored with the schedule and never returned by the API. The dispatcher records it under the same lock as UpdateSchedule, DeleteSchedule and DeleteScheduleGroup, skipping a schedule deleted or recreated meanwhile, and UpdateSchedule keeps it. A one-time schedule fires once its time is due unless it has fired since, so an update to a later time re-arms it; rate and cron schedules count from the stored fire.
CREATE MATERIALIZED VIEW [AUTO REFRESH NO] AS SELECT over a stream of a Kinesis external schema creates a streaming materialized view, REFRESH MATERIALIZED VIEW loads the stream into it, and DROP MATERIALIZED VIEW [IF EXISTS] [CASCADE] removes it. The view is a PostgreSQL table built from the SELECT over a staging table with the six documented metadata columns. A refresh checks the schema role's Kinesis permissions and its trust of redshift.amazonaws.com, reads each shard from TRIM_HORIZON the first time and after its checkpoint afterwards, and loads each batch in one implicit transaction; Floci keeps the checkpoints per shard, so truncating the view does not rewind the stream. AUTO REFRESH YES, a JOIN, and grouping or aggregation are refused with 0A000, and a view query holding a second statement with 42601.
Closes#7813
* fix(codebuild): run a build as its project's service role
* fix(codebuild): fail a build whose role does not exist in PROVISIONING, and share confirmed removal
The generated request resources give Cloud Map's namespace and service
types the aws:ResourceTag/ key, but no service answered the
servicediscovery namespace's stored tags, so a condition on their tags
saw none. CloudMapService now answers it: storedTags reads the namespace
or the service by the id its ARN ends in, in the request's account, in
place, the id the handlers find it by in every Region, so a request sent
to another Region is checked with the tags of the resource it acts on; a
tag without a value reads as an empty one. TagResource and UntagResource
changed the tag map in place with no lock; they now give the resource a
new map one call at a time, and the tags fields are volatile.
FLOCI_SERVICES_IAM_SEED_DEPLOYER_ACCESS_KEY_ID (floci.services.iam.seed-deployer-access-key-id) chooses the seeded deployer's access key ID. The default stays floci, so setups signing with floci / floci keep working; any other value must be 16 to 128 word characters, as IAM requires of an AccessKeyId, or startup fails naming the setting. With such an ID the deployer's key can be deactivated and deleted, and then the floci-deployer user. Under persistent storage, seeding deletes the deployer's key seeded under an earlier ID, the one signing with the public floci secret, and keeps keys made with CreateAccessKey. The EKS token webhook refuses the seeded credential by that public secret rather than by its access key ID.
Closes#8624
CreateQueue now refuses a FifoQueue attribute, even false, on a queue whose name does not end in .fifo, with InvalidAttributeName "Unknown Attribute FifoQueue." as AWS does, before any queue is stored. An AWS::SQS::Queue declaring FifoQueue: false now fails and rolls back with the same message, while a FifoQueue dropped through AWS::NoValue still leaves a standard queue.
Closes#8788
Pods resolve through CoreDNS, which forwards to the resolver file k3s
hands them. k3s takes the node's /etc/resolv.conf, and on a user-defined
Docker network that names only Docker's loopback 127.0.0.11, which k3s
refuses; it then writes a file naming a public resolver. So Route 53
private zones, Cloud Map names and the other names only Floci answers
never resolved from a pod.
When embedded DNS is on and running, and the cluster's Docker network
can reach it, Floci now copies a resolver file naming only its DNS
server into the cluster container before it starts, and passes it to
k3s with --resolv-conf. With Floci in a container that means the
cluster is on Floci's own network: Docker isolates user-defined
networks, and pods given only an unreachable resolver would lose the
public one too. The public fallback resolvers
stay out of it, because CoreDNS picks among its upstreams at random. A
cluster that sets the kubelet's resolv-conf through its tags keeps its
own file. A file that cannot be copied fails the start, as a container
that cannot start does, since k3s would hand its pods a missing file.
* fix(eks): answer IMDS on a node by NAT rules instead of a socat relay
* fix(eks): refuse a pod's IMDS request without the pod network, and probe the instance id
PutMetricAlarm now refuses EvaluationInterval on an alarm configured with MetricName or Metrics with InvalidParameterCombination, as the API reference documents, and refuses an integer outside 10 to 3600 or a value that is not an integer. AWS::CloudWatch::Alarm applies the same refusal on create and update, including a template that sets Metrics, which the provisioner reads only to detect it. ProvisionContext gains resolveOptionalBigInteger, sharing resolveOptionalInt's rule for what counts as absent.
Closes#8894
The one refusal of the twelve that is recorded: UpdateRole changing a
service-linked role's MaxSessionDuration answers '<roleName> is an AWS
service linked role, max session duration cannot be changed.', where the
clause names the change refused rather than the service the role is linked
to. This package answered its own sentence there.
The other eleven keep it, and the IAM page says why: AWS words the clause
after the change, that clause cannot be inferred for eleven other changes,
and AWS may not refuse all of them this way at all.
A DocumentDB cluster's MongoDB container was named after the cluster
identifier alone, and the manager kept its live handles under that
identifier too. Creating a same-named cluster in another account or
Region removed the first cluster's container and replaced its handle,
so a later delete or shutdown could no longer reach it.
Container names now carry the account and Region
(floci-aws-docdb-<account>-<region>-<cluster>), and live handles are
kept by Docker ID. Deleting a cluster closes the log stream its
container was started with, which the handle DeleteDBCluster rebuilds
from the stored record does not carry.
Ported from #5724.
Co-authored-by: Daniël van Ziel <159726064+danielvanza@users.noreply.github.com>
The generated request resources give GuardDuty's detector and
malwareprotectionplan types the aws:ResourceTag/ key, but no service
answered the guardduty namespace's stored tags, so a condition on a
detector's or a Malware Protection plan's tags saw none.
GuardDutyService now answers it: storedTags reads the detector or plan
stored under the Region the ARN names and its id, in the request's
account, where the tag handlers read, in place. A plan is matched on the
ARN it records; a detector, which records none, on the ARN its Region,
the account of its service role and its id give. Tag calls already run
one at a time and give the resource a new map; the tags fields are now
volatile.
With runner-mode docker, GetDashboardForJobRun's link for a Spark run's
attempt that has ended now opens a Spark History Server over the run's
event logs, and GetResourceDashboard's link does the same for a session
that has ended, as "For completed jobs, the application UI is a
persistent application user interface such as the Spark History Server"
and "After a session ends, the Spark History Server remains available".
A run's or session's driver keeps its event logs where the release's
image writes them, /var/log/spark/apps, on a Docker volume of its own,
for the 30 days EMR Serverless keeps logs in managed storage. The server
runs in a container of the release's image that starts as its link is
first opened, answering 503 until it is up, and stops once no link to it
is valid. A history goes 30 days after its run or session ended, or once
it has gone, which Floci checks as it starts and every hour; a restart
keeps the histories and a reset removes them.
A run whose logs are not kept in managed storage keeps no event logs
and still gets Floci's page, as do Hive runs, histories that have gone
and every link in the immediate mode.
An oversized session was minted outright and PackedPolicySize was
published as a flat zero on every session, where AWS holds a session
token to one limit of 4096 bytes, refuses a token that will not fit with
PackedPolicyTooLarge 400 naming the size and the limit, and publishes
that member as the percentage of the limit the token consumes, the same
value as SessionTokenUtilization.
Both are answered now on the four operations that carry state into the
token they mint, the refusal read before anything is minted. The measure
is this emulator's own: the token it will mint, which
MinimumSessionTokenSize can ask to be longer, plus the state the request
carries into it in UTF-8 bytes. AWS assembles and compresses the real
thing, whose size follows the input in neither direction, so the numbers
differ; the IAM page records the one size recorded here, 26092 bytes for
about 19000 of input, so a later recording can calibrate the reading.
The generated request resources give Control Tower's LandingZone and
EnabledControl types the aws:ResourceTag/ key, but no service answered
the controltower namespace's stored tags, so a condition on a landing
zone's or an enabled control's tags saw none. A new
ControlTowerStoredResourceArns answers it for the namespace, which two
services hold: a landing zone's tags are read in place under the Region
its ARN names, an enabled control's found by the ARN it records among
the Region's controls, as the tag handlers find it, both in the
request's account and matched on the whole ARN. Tag calls already give
the resource a new map; the tags fields are now volatile.
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.
Aurora DSQL clusters needed Docker, so DSQL did not work where Floci has no Docker socket, such as ECS on Fargate. An opt-in external backend (floci.services.dsql.backend=external) now puts each cluster in a database and prefixed roles of its own on a PostgreSQL 16 or later server that is already running. Floci marks what it creates and changes nothing else, derives the backend roles' SCRAM verifiers from a per-cluster secret, and bounds every call to the server. A deleted cluster's sessions end before its roles are listed and dropped, and for both backends shutdown waits for starts and deletions still running. The differences a shared server cannot hide are listed with their reasons in the DSQL docs.
Closes#8486
The generated request resources give Security Hub's hub and
configuration-policy types the aws:ResourceTag/ key, but no service
answered the securityhub namespace's stored tags, so a condition on a
hub's or a configuration policy's tags saw none. SecurityHubService now
answers it: storedTags reads the account's state for the Region the ARN
names, in the request's account, where the tag handlers read, in place,
and matches the ARN hubArn or policyArn gives; a hub reads its tags only
while Security Hub is enabled there. A policy's tags change in place
under the service's lock, so the lookup takes that lock too.
* fix(elasticache): keep a replication group's log delivery configurations
* fix(elasticache): refuse a log delivery configuration with an unknown or missing value
* fix(elasticache): settle log delivery to a missing log group as an error
The generated request resources give Cost Explorer's anomalymonitor and
anomalysubscription types the aws:ResourceTag/ key, but no service
answered the ce namespace's stored tags, so a condition on a monitor's
or a subscription's tags saw none. CostAnomalyService now answers it:
storedTags reads the monitor or subscription stored under its whole ARN,
in the request's account, where the handlers read, in place. Every write
already puts a new record under the service's lock, so nothing to lock.
RDS accepted a cluster's CopyTagsToSnapshot and CloudWatch log exports and an Aurora member's PromotionTier but returned none of them, so Terraform planned changes right after a successful apply. CreateDBCluster and ModifyDBCluster now keep CopyTagsToSnapshot, an explicit false included, and the enabled log exports, with a modify applying CloudwatchLogsExportConfiguration as enable and disable deltas and leaving omitted fields alone. PromotionTier is kept from CreateDBInstance and ModifyDBInstance, defaults to 1 and is refused outside 0 to 15 before anything changes, and both the instance and the cluster member list report it. The new fields persist, and state saved before them loads with the defaults.
Closes#8418
The generated request resources give EMR's session type the
aws:ResourceTag/ and elasticmapreduce:ResourceTag/ keys, but
EmrService.storedTags answered clusters, Studios and notebook executions
and nothing for a session's ARN, so a condition on a session's tags saw
none. It now reads the session stored under the id the ARN ends in, in
the account the ARN names, in place, matched on the whole ARN, giving
the tags it started with.
An instance profile holds one role and both halves of that were wrong.
Adding a second answered prose where AWS names the quota that fired,
'Cannot exceed quota for InstanceSessionsPerInstanceProfile: 1', which is
the form this package already writes for nine other quotas. Removing a
role the profile never held removed nothing and answered 200 where AWS
answers 404 NoSuchEntity naming the role and the profile.
The tolerance the remove path was written for is kept and pinned: a role
deleted while the profile still lists it stays removable, which the
profile's own list decides. Whether the pairing is there and the removal
of it are one decision, taken on the monitor the attach path already
held, so a concurrent attach cannot land between them.
Both CloudFormation callers remove roles they read from the profile's
list, and a caller outside the stack can detach one in between, so each
tolerates a pairing that is already gone rather than leaving a stack
delete or a reconcile part way through. A profile that has itself gone is
a different case and still propagates, so the delete ends where it always
did.
The generated request resources give EMR on EKS's virtualCluster,
jobRun, managedEndpoint, jobTemplate and securityConfiguration types the
aws:ResourceTag/ key, but no service answered the emr-containers
namespace's stored tags, so a condition on their tags saw none.
EmrContainersService now answers it: storedTags reads the resource
stored under its ARN in the store its kind names, in the request's
account, where the handlers read, in place, and matches the ARN it
records. Every write already stores a new copy, so no lock change.
The member's pattern admits anything word-shaped, so a value like
amazon-s3 satisfied everything the model declares and was answered 200
with an empty policy list, telling a caller the identity reaches nothing
rather than that the question was wrong.
Both operations that take a namespace hold it to the vendored catalog now,
through AwsServiceNamespaces.isPublished so nothing keeps a second list,
and each answers the sentence recorded for it: the list operation names
the rejected values inside AWS's own brackets, and the entity reader
carries AWS's own misspelling of namepace.
ServiceNamespaces is vendored for that to hold. The generator held the
whole member back because the operation answered an empty list with a
sentence of its own, and the cost was that no value in the list was read
at all: one breaking the published pattern reached the catalog check and
was answered InvalidInput where AWS answers ValidationError. The member
is read now, each value held to serviceNamespaceType and the list to its
bounds of 1 to 200, which also retires two answers that were this
package's own: an absent list is the required member the model declares,
and a list over 200 is the model's bound rather than a check beside it.
A namespace the job itself reports stays readable on
GetServiceLastAccessedDetailsWithEntities whether the catalog publishes it
or not, so the job is read first. The catalog is vendored, and a policy
may grant a service published after it: the report keeps the namespace
that policy names, so refusing it there would be this package disagreeing
with itself. Nothing else is exempt, and the list operation, which takes
namespaces rather than reporting them, holds every value to the catalog.
The generated request resources give EMR Serverless's application,
jobRun and session types the aws:ResourceTag/ key, but no service
answered the emr-serverless namespace's stored tags, so a condition on
their tags saw none. EmrServerlessStoredResourceArns now answers it for
the three services that hold them: storedTags reads the application, job
run or session by its id, in the request's account, where the tag
handlers read, in place, and matches it on its application and on the
whole ARN; a deleted application's resources name nothing. The tags
fields are now volatile.
Every Service Matrix row now has its operation count checked, or a stated
reason it cannot be. The REST rows map their JAX-RS controllers in
action_count_sources, with:
- rename_actions for a method not named after its AWS action, and a list
for a method that answers several actions by query parameter
(CreateRestApi and ImportRestApi on POST /restapis?mode=import)
- route_prefix and skip_route_prefix on a REST source, so API Gateway's v1
and v2 rows split the one controller that serves both
- a tag_handler source mode: a TagHandler class is what gives a service the
three tagging actions the shared /tags controllers serve
- exclude_actions for operations that always fail (InvokeModelWithResponseStream
answers 501, ExecuteSql BadRequestException, Amazon MQ's user calls
BadRequestException for RabbitMQ brokers)
A new coverage gate fails when a row is neither checked nor listed under
hand_counted with its reason, when two rows share a link target, or when a
row has no numeric count. It replaces the required-sources list. S3 is the
one hand-counted row: its handlers pick most operations by query string.
Most REST rows were undercounted, EKS by the most (7, served 35). IoT Data
gets its own anchor, as it shared iot.md with IoT Core and its count was
never read. The AppSync, CloudFront, EKS, Lambda and Pipes pages now list
the operations their controllers serve: AppSync's listed names that do not
exist, and CloudFront's called stored-only operations unsupported.
Closes#4999
Every MFA refusal here was this package's own sentence. IAM answers
EnableMFADevice and ResyncMFADevice with 'Authentication code for device
is not valid.' and a duplicate virtual device with 'MFA device already
exists.', both recorded and both wholly fixed text.
STS answers two sentences rather than one, by which half of the claim
failed: a serial no device of the caller's answers to, or a code that
device did not produce. Both are 403 AccessDenied, so the sentence is the
only thing that tells a caller which half to look at, and the whitespace
inside them is AWS's own. RequestMfaClaim carries the reason now, so the
seam both session operations share can word them apart.
* fix(ec2): settle interrupted lifecycle states and prune terminated instances
* fix(ec2): address review findings on lifecycle recovery and pruning
* test(ec2): use Awaitility in the EC2 lifecycle tests
The Service Matrix count check covered generated action tables and fifteen
single-dispatcher rows. Rows served by several dispatchers, rows linking to a
section of a shared page, and the rest of the deferred handlers had no check,
and six of them had drifted.
action_count_sources now takes a list of sources per row, an exclude list for
labels that are not actions, and a `slug#anchor` key for a row linking to a
section. regen_action_docs.py gains a map_entries mode for actions answered
from a Map.entry lookup table (Lightsail's empty-list answers). Eighteen more
rows are checked, and the stale counts are corrected: CloudWatch Logs 17 to
53, CloudWatch Metrics 11 to 25, DynamoDB 28 to 53, ECR 34 to 47, SSM 22 to
48, Cost and Usage Reports 6 to 7. The SSM and DynamoDB pages gain rows for
the actions their handlers dispatch but the pages did not list.
Refs #4999
As the next step of #6606, an AWS::EKS::Cluster is now created with its ResourcesVpcConfig, Logging and AccessConfig, a replacement included, and ClusterSecurityGroupId resolves through Fn::GetAtt. A template naming a subnet that does not exist fails the stack, as on AWS, and an EnabledTypes entry with no Type fails the resource. An in-place change to the three is logged and not applied until Floci has UpdateClusterConfig. CreateCluster now also refuses subnets from two VPCs, a PublicAccessCidrs entry that is not a CIDR, and an IPv6 block on an IPv4 cluster, and runs every check before it creates the cluster security group, so a refused request leaves no group behind for a stack's VPC rollback.
The generated request resources give Global Accelerator's accelerator,
listener and endpointgroup types the aws:ResourceTag/ key, but no
service answered the globalaccelerator namespace's stored tags, so a
condition on their tags saw none. GlobalAcceleratorService now answers
it: it finds the resource under the ARN itself, in the request's
account, in place, as the tag handlers do, and reads the tags stored
under that ARN. TagResource and UntagResource now run one at a time, so
two tag calls never lose one's tags.
IAM answers two sentences for a managed policy ARN it cannot resolve and
they are not interchangeable: the ARN names nothing, or it names nothing
the call could attach. One sentence served every operation here, and the
three detach paths added a clause naming the user, group or role that AWS
never emits.
PolicyNotFound sites the two per operation, from the recordings: GetPolicy,
TagPolicy and the detach paths answer the plain sentence, while the attach
family, ListEntitiesForPolicy and the version operations carry the
attachability clause, with GetPolicyVersion naming the version inside it.
The operations no recording covers read with their own family, documented
on the IAM page.
The generated request resources give DataSync's agent, location and task
types the aws:ResourceTag/ key, but no service answered the datasync
namespace's stored tags, so a condition on their tags saw none.
DataSyncService now answers it: storedTags reads the resource stored
under the ARN itself, in the request's account, in place, as the tag
handlers find it. TagResource and UntagResource changed the tag map in
place with no lock; they now give the resource a new map one call at a
time, and the tags fields are volatile.
The generated request resources give CodePipeline's pipeline, webhook
and actiontype types the aws:ResourceTag/ key, but no service answered
the codepipeline namespace's stored tags, so a condition on their tags
saw none. CodePipelineService now answers it, in the request's account
and in place: a pipeline under its name and a webhook under its name,
each matched on the ARN it recorded, and a custom action type under the
key its ARN gives, as the tag handlers find it. A stage or an action ARN
reads nothing. Tag writes already replace the map under the resource's
lock; the tags fields are now volatile.
The generated request resources give AWS FIS's experiment-template,
experiment and action types the aws:ResourceTag/ key, but no service
answered the fis namespace's stored tags, so a condition on their tags
saw none. FisService now answers it: storedTags reads the template,
experiment or action tags stored under the Region the ARN names and its
id, in the request's account, where the tag handlers read, in place; a
template or an experiment is matched on the whole ARN it records, an
action on the ARN built for it. Tag calls already run one at a time and
store a new record.
The generated request resources give Budgets' budget and budgetAction
types the aws:ResourceTag/ key, but no service answered the budgets
namespace's stored tags, so a condition on a budget's or an action's
tags saw none. BudgetsService now answers it: a budget records no ARN,
so storedTags takes the ARN only when it is the one the budget's account
and name give in the request's partition, an action's adding its id,
then reads the record under the key the handlers read, in the request's
account, in place. Tag calls already run one at a time and give the
record a new tag list; the tag fields are now volatile.
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.
The generated request resources give CloudTrail's trail type the
aws:ResourceTag/ key, but no service answered the cloudtrail namespace's
stored tags, so a condition on a trail's tags saw none.
CloudTrailService now answers it: storedTags reads the trail stored
under its home Region, which its ARN names, and its name, in the
request's account, where the tag handlers read, in place, and matched on
the whole ARN. A tag with no value, which AddTags allows, reads as the
empty string. A trail is stored whole and its tags never change in
place, so no lock change.
* feat(paymentcryptography): the Multi-Party Approval team of an operation
* docs(paymentcryptography): what the Multi-Party Approval does not make
* docs(paymentcryptography): the action table in the order the handler names
* style(paymentcryptography): the multi-region work comes with the branch
* fix(paymentcryptography): the tests of the team share the operation they name
* fix(paymentcryptography): the removal does not change what a lookup holds
A PolicyArn that parses as no ARN cleared the declared length and reached
the lookup, so eight operations answered 404 NoSuchEntity where AWS answers
400 ValidationError. IamArnShapes reads the member after the generated
constraints and answers the two sentences the recordings carry: attaching
names the value, everything else reports nothing it could parse, the value
slot rendering empty. A PolicySourceArn of * is refused on the entity ahead
of the member's declared length, which is the order AWS answered it in.
The operations with no recording of their own follow the parse sentence,
documented on the IAM page beside the older recording it supersedes.
With runner-mode docker, a cluster with Hadoop now runs the YARN
timeline server on its primary node, and one with Tez too the Tez UI
("Tez | http://master-public-dns-name:8080/tez-ui"), and
GetOnClusterAppUIPresignedURL opens both for real, on their own hosts,
as the cluster's other interfaces open (YarnTimelineService, TezUI).
The timeline server is Hadoop's own on its default port, 8188, its
store on the primary node's volume; the ResourceManager publishes its
applications to it, and, as no source gives how EMR's Tez reaches it, a
Hive step's Tez logs its DAGs to it through its REST interface
(ATSHistoryLoggingService). The Tez UI is Tez's own page, served on
8080, whose configuration (/etc/tez-ui/conf/configs.js, which the
image's page links to and lacks) names the timeline server and the
ResourceManager by the node's name, which Floci makes the link's hosts;
both answer cross-origin requests from the Tez UI's host. Both start
with the node's other daemons, the timeline server before the
ResourceManager, and the node is ready once both answer. The Tez UI runs
where the cluster's image has Tez, one with Hive or Floci's Pig, and an
image without its files serves none rather than keep the node from being
ready. Neither runs
for a release of the AWS runtime for Apache Spark, as their persistent
interfaces are not there.
EmrAppUiNightlyIntegrationTest runs them for real: after a Hive step,
the timeline server holds its Tez DAG and its application history, and
the Tez UI's page and configuration open, the timeline server answering
a request from the Tez UI's host.