public final class ClusterOutputPostProcessorDriver extends AbstractJob
argMap, inputFile, inputPath, outputFile, outputPath, tempPath
Constructor and Description |
---|
ClusterOutputPostProcessorDriver() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
static void |
run(org.apache.hadoop.fs.Path input,
org.apache.hadoop.fs.Path output,
boolean runSequential)
Post processes the output of clustering algorithms and groups them into respective clusters.
|
int |
run(String[] args)
CLI to run clustering post processor.
|
addFlag, addInputOption, addOption, addOption, addOption, addOption, addOutputOption, buildOption, buildOption, getAnalyzerClassFromOption, getCLIOption, getConf, getDimensions, getFloat, getFloat, getGroup, getInputFile, getInputPath, getInt, getInt, getOption, getOption, getOption, getOptions, getOutputFile, getOutputPath, getOutputPath, getTempPath, getTempPath, hasOption, keyFor, maybePut, parseArguments, parseArguments, parseDirectories, prepareJob, prepareJob, prepareJob, prepareJob, setConf, setS3SafeCombinedInputPath, shouldRunNextPhase
public int run(String[] args) throws Exception
Exception
public static void run(org.apache.hadoop.fs.Path input, org.apache.hadoop.fs.Path output, boolean runSequential) throws IOException, InterruptedException, ClassNotFoundException
input
- The output path provided to the clustering algorithm, whose would be post processed. Hint: The
path of the directory containing clusters-*-final and clusteredPoints.output
- The post processed data would be stored at this path.runSequential
- If set to true, post processes it sequentially, else, uses. MapReduce. Hint: If the clustering
was done sequentially, make it sequential, else vice versa.IOException
InterruptedException
ClassNotFoundException
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.