org.apache.cassandra.hadoop
Class ColumnFamilyOutputFormat.NullOutputCommitter

java.lang.Object
  extended by org.apache.hadoop.mapreduce.OutputCommitter
      extended by org.apache.cassandra.hadoop.ColumnFamilyOutputFormat.NullOutputCommitter
Enclosing class:
ColumnFamilyOutputFormat

public static class ColumnFamilyOutputFormat.NullOutputCommitter
extends org.apache.hadoop.mapreduce.OutputCommitter

An OutputCommitter that does nothing.


Constructor Summary
ColumnFamilyOutputFormat.NullOutputCommitter()
           
 
Method Summary
 void abortTask(org.apache.hadoop.mapreduce.TaskAttemptContext taskContext)
          Discard the task output
 void cleanupJob(org.apache.hadoop.mapreduce.JobContext jobContext)
          For cleaning up the job's output after job completion
 void commitTask(org.apache.hadoop.mapreduce.TaskAttemptContext taskContext)
          To promote the task's temporary output to final output location The task's output is moved to the job's output directory.
 boolean needsTaskCommit(org.apache.hadoop.mapreduce.TaskAttemptContext taskContext)
          Check whether task needs a commit
 void setupJob(org.apache.hadoop.mapreduce.JobContext jobContext)
          For the framework to setup the job output during initialization
 void setupTask(org.apache.hadoop.mapreduce.TaskAttemptContext taskContext)
          Sets up output for the task.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnFamilyOutputFormat.NullOutputCommitter

public ColumnFamilyOutputFormat.NullOutputCommitter()
Method Detail

abortTask

public void abortTask(org.apache.hadoop.mapreduce.TaskAttemptContext taskContext)
Description copied from class: org.apache.hadoop.mapreduce.OutputCommitter
Discard the task output

Specified by:
abortTask in class org.apache.hadoop.mapreduce.OutputCommitter

cleanupJob

public void cleanupJob(org.apache.hadoop.mapreduce.JobContext jobContext)
Description copied from class: org.apache.hadoop.mapreduce.OutputCommitter
For cleaning up the job's output after job completion

Specified by:
cleanupJob in class org.apache.hadoop.mapreduce.OutputCommitter
Parameters:
jobContext - Context of the job whose output is being written.

commitTask

public void commitTask(org.apache.hadoop.mapreduce.TaskAttemptContext taskContext)
Description copied from class: org.apache.hadoop.mapreduce.OutputCommitter
To promote the task's temporary output to final output location The task's output is moved to the job's output directory.

Specified by:
commitTask in class org.apache.hadoop.mapreduce.OutputCommitter
Parameters:
taskContext - Context of the task whose output is being written.

needsTaskCommit

public boolean needsTaskCommit(org.apache.hadoop.mapreduce.TaskAttemptContext taskContext)
Description copied from class: org.apache.hadoop.mapreduce.OutputCommitter
Check whether task needs a commit

Specified by:
needsTaskCommit in class org.apache.hadoop.mapreduce.OutputCommitter
Returns:
true/false

setupJob

public void setupJob(org.apache.hadoop.mapreduce.JobContext jobContext)
Description copied from class: org.apache.hadoop.mapreduce.OutputCommitter
For the framework to setup the job output during initialization

Specified by:
setupJob in class org.apache.hadoop.mapreduce.OutputCommitter
Parameters:
jobContext - Context of the job whose output is being written.

setupTask

public void setupTask(org.apache.hadoop.mapreduce.TaskAttemptContext taskContext)
Description copied from class: org.apache.hadoop.mapreduce.OutputCommitter
Sets up output for the task.

Specified by:
setupTask in class org.apache.hadoop.mapreduce.OutputCommitter
Parameters:
taskContext - Context of the task whose output is being written.


Copyright © 2011 The Apache Software Foundation