public interface LocalRecoveryDirectoryProvider extends Serializable
|-----allocationBaseDirectory------| |-----subtaskBaseDirectory--------------------------------------| |-----subtaskSpecificCheckpointDirectory------------------------------| ../local_state_root_1/allocation_id/job_id/vertex_id_subtask_idx/chk_1/(state) ../local_state_root_2/allocation_id/job_id/vertex_id_subtask_idx/chk_2/(state) (...)
Modifier and Type | Method and Description |
---|---|
File |
allocationBaseDirectory(long checkpointId)
Returns the local state allocation base directory for given checkpoint id w.r.t.
|
int |
allocationBaseDirsCount()
Returns the total number of allocation base directories.
|
File |
selectAllocationBaseDirectory(int idx)
Returns a specific allocation base directory.
|
File |
selectSubtaskBaseDirectory(int idx)
Returns a specific subtask base directory.
|
File |
subtaskBaseDirectory(long checkpointId)
Returns the local state directory for the owning subtask the given checkpoint id w.r.t.
|
File |
subtaskSpecificCheckpointDirectory(long checkpointId)
Returns the local state directory for the specific operator subtask and the given checkpoint
id w.r.t.
|
File allocationBaseDirectory(long checkpointId)
File subtaskBaseDirectory(long checkpointId)
allocationBaseDirectory(long)
for the same
checkpoint id.File subtaskSpecificCheckpointDirectory(long checkpointId)
subtaskBaseDirectory(long)
for the same checkpoint id.File selectAllocationBaseDirectory(int idx)
allocationBaseDirsCount()
(excl.).File selectSubtaskBaseDirectory(int idx)
allocationBaseDirsCount()
(excl.). This directory is direct a child of selectSubtaskBaseDirectory(int)
given the same index.int allocationBaseDirsCount()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.