EMR
Parity grade: A · SDK aws-sdk-go-v2/service/emr@v1.70.3 · last audited 2026-10-10 (0c1472972)
Category: Analytics · View PARITY.md on GitHub · All Services
Parity & Coverage
| Metric | Value |
|---|---|
| PARITY entries audited | 65 (65 ok) |
| Feature families | 1 (1 ok) |
| Known gaps | none |
| Structural gaps (can't be emulated) | 7 |
| Deferred items | 0 |
| Resource leaks | clean |
Structural Gaps
These do not block an A grade — no implementation could produce real data here because the underlying data source cannot exist in an emulator.
- "CancelSteps.StepCancellationOption (reqfieldiff tier-1, 2026-09-18) is not read: it chooses SEND_INTERRUPT vs TERMINATE_PROCESS semantics for cancelling a RUNNING step, but this backend's Step state machine has only PENDING/COMPLETED/CANCELLED -- steps never reach RUNNING (models.go), so cancelStep only ever accepts a still-PENDING step. There is no RUNNING-step cancellation path for the option to distinguish. (bd: unfiled)"
- Cluster.OutpostArn stays omitted (nil): the real value is derived from which Outpost the launch subnet belongs to, a subnet-to-Outpost topology fact that lives in EC2/Outposts, not in anything RunJobFlowInput passes to EMR directly. Gopherstack's EMR has no cross-service lookup into services/outposts' subnet/Outpost state, and most clusters are not Outpost-launched anyway (nil is the correct value for the common case); wiring a real cross-service resolution is a distinct, larger feature than an EMR-local field fix. (bd: gopherstack-dqd8)
- Cluster.MasterPublicDnsName stays omitted (nil): a real DNS name comes from the EC2 instance actually launched for the master node. Gopherstack's EMR never creates a corresponding EC2 instance (ListInstances synthesizes lightweight ClusterInstance records, not real ec2.Instance resources with their own IP/DNS allocation), so there is no real DNS name to report; inventing one would be exactly the fabrication this campaign removes elsewhere. (bd: gopherstack-dqd8)
- Cluster.ExtendedSupport stays omitted (nil/false): real AWS derives this from a release-label EOL/extended-support enrollment table that AWS updates over time (not encoded anywhere in the SDK types or wire shapes -- the SDK doc literally marks the field 'Reserved'). There is no verifiable source of truth to compute it from, only AWS's changing operational policy data, which does not belong hardcoded into an emulator. (bd: gopherstack-dqd8)
- Cluster.NormalizedInstanceHours stays omitted (nil): real AWS accrues this from actual wall-clock instance runtime multiplied by an m1.small-relative weight per instance type, tracked continuously by the real service as instances run. Gopherstack simulates clusters as provisioned instantly (see instanceGroupStateRunning) with no per-instance runtime clock and no published m1.small-relative weight table in the SDK, so there is no real accrual to report -- approximating it from CreationDateTime alone without AWS's actual weight table would be a fabricated number dressed as a real one. (bd: gopherstack-dqd8)
- ClusterStatus.ErrorDetails (real, types.ErrorDetail list, emr@v1.64.4 deserializers.go:8393-8446) stays omitted (nil/empty): this backend never fails a RunJobFlow or provisioning step -- every cluster reaches WAITING directly with no failure-injection model at all -- so there is no error state that would ever populate this field, on any code path. Fabricating error details for a cluster that never actually failed would be worse than an honest empty list. (bd: gopherstack-6flj/21my, found 2026-08-28)
- InstanceGroup.EbsBlockDevices/EbsOptimized/CustomAmiId/ShrinkPolicy/AutoScalingPolicy(at creation)/ConfigurationsVersion/LastSuccessfullyAppliedConfigurations(Version) stay omitted: InstanceGroupSpec (AddInstanceGroups/RunJobFlow's inline instance-group input) accepts none of these either, so this is a genuinely unbuilt feature end-to-end (per-group EBS volume provisioning, custom AMI override, shrink policy, and group-level autoscaling-at-creation), not an accept-and-drop bug -- consistent with the pre-existing documented gap that ListInstances' synthesized instances also leave EbsVolumes/PublicIpAddress nil. Buildable but out of scope for a field-level fix pass. (bd: gopherstack-6flj/21my, found 2026-08-28)
Audited Operations
65 audited operations
| Operation | Wire | Errors | State | Persist |
|---|---|---|---|---|
RunJobFlow | fixed | ok | ok | ok |
DescribeCluster | fixed | ok | ok | ok |
ListClusters | ok | ok | ok | ok |
TerminateJobFlows | ok | ok | ok | ok |
ModifyCluster | ok | ok | ok | ok |
DescribeJobFlows | ok | ok | ok | ok |
AddJobFlowSteps | ok | ok | fixed | ok |
ListSteps | ok | ok | ok | ok |
DescribeStep | ok | ok | ok | ok |
CancelSteps | ok | ok | ok | ok |
AddInstanceGroups | ok | ok | ok | ok |
ListInstanceGroups | ok | ok | ok | ok |
ModifyInstanceGroups | ok | ok | ok | ok |
AddInstanceFleet | ok | ok | ok | ok |
ListInstanceFleets | ok | ok | ok | ok |
ModifyInstanceFleet | ok | ok | ok | ok |
PutAutoScalingPolicy | ok | ok | ok | ok |
RemoveAutoScalingPolicy | ok | ok | ok | ok |
PutManagedScalingPolicy | ok | ok | ok | ok |
GetManagedScalingPolicy | ok | ok | ok | ok |
RemoveManagedScalingPolicy | ok | ok | ok | ok |
PutAutoTerminationPolicy | ok | ok | fixed | ok |
GetAutoTerminationPolicy | ok | ok | ok | ok |
RemoveAutoTerminationPolicy | ok | ok | ok | ok |
CreateSecurityConfiguration | ok | ok | ok | ok |
DescribeSecurityConfiguration | ok | ok | ok | ok |
DeleteSecurityConfiguration | ok | ok | ok | ok |
ListSecurityConfigurations | ok | ok | ok | ok |
GetBlockPublicAccessConfiguration | ok | ok | ok | ok |
PutBlockPublicAccessConfiguration | ok | ok | ok | ok |
GetClusterSessionCredentials | ok | ok | ok | n/a |
CreateStudio | ok | ok | ok | ok |
DescribeStudio | ok | ok | ok | ok |
ListStudios | ok | ok | ok | ok |
UpdateStudio | ok | ok | ok | ok |
DeleteStudio | ok | ok | ok | ok |
CreateStudioSessionMapping | ok | ok | ok | ok |
GetStudioSessionMapping | ok | ok | ok | ok |
ListStudioSessionMappings | fixed | ok | ok | n/a |
UpdateStudioSessionMapping | ok | ok | ok | ok |
DeleteStudioSessionMapping | ok | ok | ok | ok |
StartNotebookExecution | ok | ok | ok | ok |
StopNotebookExecution | ok | ok | ok | ok |
DescribeNotebookExecution | ok | ok | ok | ok |
ListNotebookExecutions | fixed | ok | fixed | ok |
CreatePersistentAppUI | ok | ok | ok | ok |
DescribePersistentAppUI | ok | ok | ok | ok |
GetPersistentAppUIPresignedURL | ok | ok | ok | n/a |
GetOnClusterAppUIPresignedURL | ok | ok | ok | n/a |
AddTags | ok | ok | ok | ok |
RemoveTags | ok | ok | ok | ok |
ListBootstrapActions | ok | ok | ok | ok |
ListInstances | ok | ok | ok | n/a |
ListReleaseLabels | fixed | ok | fixed | n/a |
DescribeReleaseLabel | ok | ok | ok | n/a |
ListSupportedInstanceTypes | ok | ok | ok | n/a |
SetTerminationProtection | ok | ok | ok | ok |
SetKeepJobFlowAliveWhenNoSteps | ok | ok | fixed | ok |
SetVisibleToAllUsers | ok | ok | ok | ok |
SetUnhealthyNodeReplacement | ok | ok | ok | ok |
StartSession | fixed | ok | ok | ok |
GetSession | ok | ok | ok | ok |
ListSessions | fixed | ok | ok | ok |
TerminateSession | ok | ok | ok | ok |
GetSessionEndpoint | ok | ok | ok | n/a |
Audited Feature Families
| Feature Family | Status |
|---|---|
error-mapping | ok |
