@Override
    public synchronized void close(TaskAttemptContext context) throws IOException {
        this.outputStream.close();
    }
@author Marko A. Rodriguez (http://markorodriguez.com)
hadoop-gremlin/src/main/java/org/apache/tinkerpop/gremlin/hadoop/structure/io/graphson/GraphSONRecordWriter.java