[
https://issues.apache.org/jira/browse/BEAM-4177?focusedWorklogId=95534&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-95534
]
ASF GitHub Bot logged work on BEAM-4177:
----------------------------------------
Author: ASF GitHub Bot
Created on: 26/Apr/18 14:38
Start Date: 26/Apr/18 14:38
Worklog Time Spent: 10m
Work Description: johnmac-ibm opened a new pull request #430: [BEAM-4177]
Clarify thread contraint in Programming Guide 4.3.2
URL: https://github.com/apache/beam-site/pull/430
As checked on the dev mailing list, the instance will only be active on a
single thread at a time, not the more restrictive single thread ever.
Without clarification, some developers (or runner implementors) may
conservatively assume the constraint is more restrictive than it really is.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 95534)
Time Spent: 10m
Remaining Estimate: 0h
> Clarify thread constraints in Programming Guide 4.3.2
> -----------------------------------------------------
>
> Key: BEAM-4177
> URL: https://issues.apache.org/jira/browse/BEAM-4177
> Project: Beam
> Issue Type: Improvement
> Components: website
> Reporter: John MacMillan
> Assignee: Melissa Pashniak
> Priority: Trivial
> Time Spent: 10m
> Remaining Estimate: 0h
>
> In
> [4.3.2|https://beam.apache.org/documentation/programming-guide/#user-code-thread-compatibility],
> the sentence "Each instance of your function object is accessed by a single
> thread on a worker instance, unless you explicitly create your own threads"
> leaves some ambiguity about whether or not the instance is permanently tied
> to a single thread, or just restricted to being active on a single thread at
> a time.
> I suggest a minor change to:
> Each instance of your function object is accessed by a single thread at a
> time on a worker instance, unless you explicitly create your own threads.
> I will prepare a pull request with this change.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)