This project has retired. For details please refer to its
Attic page .
CopySequenceFile (Apache Chukwa 0.6.0 API)
JavaScript is disabled on your browser.
public class CopySequenceFile
extends Object
This class is used by LocalToRemoteHDFSMover to
convert .chukwa files to .done before moving them.
By creating a new sequence file and copying all valid chunks to it,
it makes sure that no corrupt sequence files get into HDFS.
Method Summary
Methods
Modifier and Type
Method and Description
static void
createValidSequenceFile (org.apache.hadoop.conf.Configuration conf,
String originalFileDir,
String originalFileName,
org.apache.hadoop.fs.FileSystem localFs)
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Method Detail
createValidSequenceFile
public static void createValidSequenceFile(org.apache.hadoop.conf.Configuration conf,
String originalFileDir,
String originalFileName,
org.apache.hadoop.fs.FileSystem localFs)
Copyright © 2014 Apache Software Foundation . All Rights Reserved.