Skip to content

Commit fb87cc7

Browse files
committed
[workshop build] hardcoded glue arguments, distributed batch size
1 parent e07f439 commit fb87cc7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

sdlf-stage-glue/src/lambda/postupdate-metadata/src/lambda_function.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ def lambda_handler(event, context):
3232
pipeline_execution.retrieve_pipeline_execution(peh_id)
3333

3434
partial_failure = False
35-
for records in event:
36-
for record in records:
37-
if "processed" not in record or not record["processed"]:
38-
partial_failure = True
35+
# for records in event:
36+
# for record in records:
37+
# if "processed" not in record or not record["processed"]:
38+
# partial_failure = True
3939

4040
if not partial_failure:
4141
pipeline_execution.update_pipeline_execution(

sdlf-stage-glue/src/stageglue.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ Resources:
528528
lNumberOfWorkers: !Ref pGlueNumberOfWorkers
529529
lGlueArguments: !Ref pGlueArguments
530530
# lArguments:
531-
lCrawlerName: !If [FetchFromDatasetSsm, !Sub "{{resolve:ssm:/sdlf/dataset/rStageGlueCrawler/${pDatasetDeploymentInstance}}}", !Ref pGlueCrawler]
531+
lCrawlerName: !If [FetchFromDatasetSsm, !Sub "{{resolve:ssm:/sdlf/dataset/rAnalyticsGlueCrawler/${pDatasetDeploymentInstance}}}", !Ref pGlueCrawler]
532532
lWaitTime: 75
533533
Role: !GetAtt rStatesExecutionRole.Arn
534534
Tracing:

0 commit comments

Comments
 (0)