Path getAttemptOutput(OutputAttemptContext context) { assert context != null; Path tempPath = getTemporaryOutput(context.getTransactionContext()); String suffix = String.format("%s/%s", //$NON-NLS-1$ ATTEMPT_AREA, context.getAttemptId()); return append(tempPath, suffix); }
Path getLocalAttemptOutput(OutputAttemptContext context) throws IOException { assert context != null; Path tempPath = HadoopDataSourceUtil.getLocalTemporaryDirectory(profile.getLocalFileSystem()); String suffix = String.format("%s-%s-%s", //$NON-NLS-1$ context.getTransactionId(), context.getAttemptId(), context.getOutputId()); return append(tempPath, suffix); }
"Interrupted while cleanup attempt: {0}, {1} (path={2})", context.getTransactionId(), context.getAttemptId(), containerPath)).initCause(e);
"Interrupted while setup attempt: {0}, {1} (path={2})", context.getTransactionId(), context.getAttemptId(), containerPath)).initCause(e);
"Interrupted while commit task attempt: {0}, {1} (path={2})", context.getTransactionId(), context.getAttemptId(), containerPath)).initCause(e); } catch (RuntimeException e) {