[
https://issues.apache.org/jira/browse/BEAM-13015?focusedWorklogId=693586&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-693586
]
ASF GitHub Bot logged work on BEAM-13015:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 09/Dec/21 21:50
Start Date: 09/Dec/21 21:50
Worklog Time Spent: 10m
Work Description: y1chi commented on a change in pull request #16188:
URL: https://github.com/apache/beam/pull/16188#discussion_r766181067
##########
File path:
sdks/java/harness/src/main/java/org/apache/beam/fn/harness/control/ProcessBundleHandler.java
##########
@@ -931,6 +967,17 @@ synchronized String getInstructionId() {
return this.instructionId;
}
+ synchronized List<CacheToken> getCacheTokens() {
+ return this.cacheTokens;
+ }
+
+ synchronized Cache<Object, Object> getBundleCache() {
+ if (this.bundleCache == null) {
Review comment:
this bundleCache doesn't seem to get reset to null after bundle
finishes, it will use the same instructionId space right?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 693586)
Time Spent: 20.5h (was: 20h 20m)
> Optimize Java SDK harness
> -------------------------
>
> Key: BEAM-13015
> URL: https://issues.apache.org/jira/browse/BEAM-13015
> Project: Beam
> Issue Type: Improvement
> Components: sdk-java-harness
> Reporter: Luke Cwik
> Assignee: Luke Cwik
> Priority: P2
> Time Spent: 20.5h
> Remaining Estimate: 0h
>
> Use profiling tools to remove bundle processing overhead in the SDK harness.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)