Github user tillrohrmann commented on a diff in the pull request:
https://github.com/apache/flink/pull/5239#discussion_r165340246
--- Diff:
flink-runtime/src/main/java/org/apache/flink/runtime/state/TaskStateManager.java
---
@@ -60,4 +62,9 @@ void reportTaskStateSnapshots(
* @return previous state for the operator. Null if no previous state
exists.
*/
OperatorSubtaskState operatorStates(OperatorID operatorID);
+
+ /**
+ * Returns the base directory for all file-based local state of the
owning subtask.
+ */
+ File getSubtaskLocalStateBaseDirectory();
--- End diff --
I guess there will be other non file-based local states, right? What would
this method return for these state objects?
---