public class DistCh extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DistTool.DuplicationException
An exception class for duplicated source files.
|
| Modifier and Type | Field and Description |
|---|---|
protected JobConf |
jobconf |
protected static org.apache.commons.logging.Log |
LOG |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
checkSource(Configuration conf,
List<Path> srcs)
Sanity check for source
|
JobConf |
getConf() |
protected static String |
getRandomId() |
static void |
main(String[] args) |
protected static List<String> |
readFile(Configuration conf,
Path inputfile) |
protected static String |
readString(DataInput in) |
int |
run(String[] args)
This is the main driver for recursively changing files properties.
|
void |
setConf(Configuration conf) |
protected static void |
writeString(DataOutput out,
String s) |
protected static final org.apache.commons.logging.Log LOG
protected JobConf jobconf
public int run(String[] args) throws Exception
Exceptionpublic void setConf(Configuration conf)
setConf in interface Configurablepublic JobConf getConf()
getConf in interface Configurableprotected static String getRandomId()
protected static void checkSource(Configuration conf, List<Path> srcs) throws InvalidInputException
InvalidInputExceptionprotected static String readString(DataInput in) throws IOException
IOExceptionprotected static void writeString(DataOutput out, String s) throws IOException
IOExceptionprotected static List<String> readFile(Configuration conf, Path inputfile) throws IOException
IOExceptionCopyright © 2018 CERN. All Rights Reserved.