[ 
https://issues.apache.org/jira/browse/BEAM-10189?focusedWorklogId=449677&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-449677
 ]

ASF GitHub Bot logged work on BEAM-10189:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 23/Jun/20 08:07
            Start Date: 23/Jun/20 08:07
    Worklog Time Spent: 10m 
      Work Description: mxm commented on pull request #11916:
URL: https://github.com/apache/beam/pull/11916#issuecomment-647981883


   Thanks for the stacktrace, that helped to figure out what's going on here. 
The issue is only present in batch mode where Flink does not use its own memory 
backend but uses Beam's `InMemoryBagUserStateFactory`.
   
   We have to adapt the implementation to return the same cache token for all 
`InMemorySingleKeyBagState`, see: 
https://github.com/apache/beam/blob/63d51f5c4f89a4c881243d9d43be2ac138b1254b/runners/java-fn-execution/src/main/java/org/apache/beam/runners/fnexecution/state/InMemoryBagUserStateFactory.java#L60
 
   
https://github.com/apache/beam/blob/63d51f5c4f89a4c881243d9d43be2ac138b1254b/runners/java-fn-execution/src/main/java/org/apache/beam/runners/fnexecution/state/InMemoryBagUserStateFactory.java#L116


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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: 449677)
    Time Spent: 3h 50m  (was: 3h 40m)

> Add ValueState to python sdk
> ----------------------------
>
>                 Key: BEAM-10189
>                 URL: https://issues.apache.org/jira/browse/BEAM-10189
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-py-core
>            Reporter: Yichi Zhang
>            Assignee: Yichi Zhang
>            Priority: P2
>          Time Spent: 3h 50m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to