[ 
https://issues.apache.org/jira/browse/BEAM-14429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17534484#comment-17534484
 ] 

John Casey commented on BEAM-14429:
-----------------------------------

[~yichi] I can't get that command to run, I'm getting ERROR: gcloud crashed 
(TypeError): a bytes-like object is required, not 'str'. I'm not sure how to 
proceed from here.

> SyntheticUnboundedSource(with SDF) produce duplicate records when split with 
> DEFAULT_DESIRED_NUM_SPLITS
> -------------------------------------------------------------------------------------------------------
>
>                 Key: BEAM-14429
>                 URL: https://issues.apache.org/jira/browse/BEAM-14429
>             Project: Beam
>          Issue Type: Bug
>          Components: io-common
>            Reporter: Yichi Zhang
>            Assignee: John Casey
>            Priority: P1
>             Fix For: 2.39.0
>
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> With the default 20 split, the num records produced by 
> Read.from(SyntheticUnboundedSource) is always larger than the numRecords 
> specified. the more splits the more actual number records produced is off. 
> And the Read step tends to take longer time with more splits.
> [https://github.com/apache/beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/io/Read.java#L512]
> The issue is manifested with java LoadTests on dataflow runner v2.
> Initial suspicion is that duplicate source readers for the same restriction 
> and checkpoint were created by multiple UnboundedSourceAsSDFWrapperFns.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to