@Override public synchronized void write(BytesWritable key, BytesWritable value) throws IOException { try { mWriter.put(key.getBytes(), value.getBytes()); // Send a progress to the job manager to inform it that the task is still running. mProgress.progress(); } catch (TachyonException e) { throw new IOException(e); } }
@Override public synchronized void close(Reporter reporter) throws IOException { mWriter.close(); }