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); }
throw (IOException) new InterruptedIOException(MessageFormat.format( "Interrupted while cleanup attempt: {0}, {1} (path={2})", context.getTransactionId(), context.getAttemptId(), containerPath)).initCause(e);
throw (IOException) new InterruptedIOException(MessageFormat.format( "Interrupted while setup attempt: {0}, {1} (path={2})", context.getTransactionId(), context.getAttemptId(), containerPath)).initCause(e);
throw (IOException) new InterruptedIOException(MessageFormat.format( "Interrupted while commit task attempt: {0}, {1} (path={2})", context.getTransactionId(), context.getAttemptId(), containerPath)).initCause(e);