Package io.hgraphdb.giraph
Class HBaseVertexOutputFormat
- java.lang.Object
-
- org.apache.giraph.conf.DefaultImmutableClassesGiraphConfigurable<I,V,E>
-
- org.apache.giraph.io.OutputFormat<I,V,E>
-
- org.apache.giraph.io.VertexOutputFormat<ObjectWritable,VertexValueWritable,org.apache.hadoop.io.Writable>
-
- io.hgraphdb.giraph.HBaseVertexOutputFormat
-
- All Implemented Interfaces:
org.apache.giraph.conf.GiraphConfigurationSettable<ObjectWritable,VertexValueWritable,org.apache.hadoop.io.Writable>
,org.apache.giraph.conf.ImmutableClassesGiraphConfigurable<ObjectWritable,VertexValueWritable,org.apache.hadoop.io.Writable>
public abstract class HBaseVertexOutputFormat extends org.apache.giraph.io.VertexOutputFormat<ObjectWritable,VertexValueWritable,org.apache.hadoop.io.Writable>
Base class for writing Vertex mutations back to specific rows in an HBase table. This class wraps an instance of TableOutputFormat for easy configuration with the existing properties. Works withHBaseVertexInputFormat
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HBaseVertexOutputFormat.HBaseVertexWriter
Constructor
-
Constructor Summary
Constructors Constructor Description HBaseVertexOutputFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkOutputSpecs(org.apache.hadoop.mapreduce.JobContext context)
checkOutputSpecsorg.apache.hadoop.mapreduce.OutputCommitter
getOutputCommitter(org.apache.hadoop.mapreduce.TaskAttemptContext context)
getOutputCommitter
-
-
-
Method Detail
-
checkOutputSpecs
public void checkOutputSpecs(org.apache.hadoop.mapreduce.JobContext context) throws IOException, InterruptedException
checkOutputSpecs- Specified by:
checkOutputSpecs
in classorg.apache.giraph.io.OutputFormat<ObjectWritable,VertexValueWritable,org.apache.hadoop.io.Writable>
- Parameters:
context
- information about the job- Throws:
IOException
InterruptedException
-
getOutputCommitter
public org.apache.hadoop.mapreduce.OutputCommitter getOutputCommitter(org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException
getOutputCommitter- Specified by:
getOutputCommitter
in classorg.apache.giraph.io.OutputFormat<ObjectWritable,VertexValueWritable,org.apache.hadoop.io.Writable>
- Parameters:
context
- the task context- Returns:
- OutputCommitter ouputCommitter
- Throws:
IOException
InterruptedException
-
-