Package org.apache.nutch.indexer
Class IndexerOutputFormat
java.lang.Object
org.apache.hadoop.mapreduce.OutputFormat<Text,NutchIndexAction>
org.apache.nutch.indexer.IndexerOutputFormat
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckOutputSpecs(JobContext context) getOutputCommitter(TaskAttemptContext context) getRecordWriter(TaskAttemptContext context)
-
Constructor Details
-
IndexerOutputFormat
public IndexerOutputFormat()
-
-
Method Details
-
getRecordWriter
public RecordWriter<Text,NutchIndexAction> getRecordWriter(TaskAttemptContext context) throws IOException - Specified by:
getRecordWriterin classOutputFormat<Text,NutchIndexAction> - Throws:
IOException
-
checkOutputSpecs
- Specified by:
checkOutputSpecsin classOutputFormat<Text,NutchIndexAction> - Throws:
IOExceptionInterruptedException
-
getOutputCommitter
public OutputCommitter getOutputCommitter(TaskAttemptContext context) throws IOException, InterruptedException - Specified by:
getOutputCommitterin classOutputFormat<Text,NutchIndexAction> - Throws:
IOExceptionInterruptedException
-