org.apache.hadoop.chukwa.util
Class TempFileUtil
java.lang.Object
org.apache.hadoop.chukwa.util.TempFileUtil
public class TempFileUtil
- extends Object
Method Summary |
static File |
makeBinary(int length)
|
static void |
writeASinkFile(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fileSys,
org.apache.hadoop.fs.Path dest,
int chunks)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TempFileUtil
public TempFileUtil()
makeBinary
public static File makeBinary(int length)
throws IOException
- Throws:
IOException
writeASinkFile
public static void writeASinkFile(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fileSys,
org.apache.hadoop.fs.Path dest,
int chunks)
throws IOException
- Throws:
IOException
Copyright © ${year} The Apache Software Foundation