/** * Path to the checkpoint's root (including job id) * @param conf Immutable configuration of the job * @param jobId job ID * @return checkpoint's root */ public static String getCheckpointBasePath(Configuration conf, String jobId) { return CHECKPOINT_DIRECTORY.getWithDefault(conf, CHECKPOINT_DIRECTORY.getDefaultValue() + "/" + jobId); }
jobId = conf.getJobId(); baseDirectory = new Path(ZOOKEEPER_MANAGER_DIRECTORY.getWithDefault(conf, getFinalZooKeeperPath())); taskDirectory = new Path(baseDirectory,