I - Vertex index valueV - Vertex valueE - Edge valuepublic abstract class VertexOutputFormat<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable> extends OutputFormat<I,V,E>
DefaultImmutableClassesGiraphConfigurable.setConf(org.apache.giraph.conf.ImmutableClassesGiraphConfiguration).| Constructor and Description |
|---|
VertexOutputFormat() |
| Modifier and Type | Method and Description |
|---|---|
abstract VertexWriter<I,V,E> |
createVertexWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context)
Create a vertex writer for a given split.
|
checkOutputSpecs, getOutputCommitter, postWriting, preWritinggetConf, setConfpublic abstract VertexWriter<I,V,E> createVertexWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException
VertexWriter.initialize(TaskAttemptContext) before
the split is used.context - the information about the taskIOExceptionInterruptedExceptionCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.