public class HubsAndAuthoritiesSchimmy
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
Main driver program for running the schimmy version of Kleinberg's Hubs and Authorities/Hyperlink-Induced Topic Search (HITS) algorithm Command line arguments are:
The starting and ending iterations will correspond to paths
/base/path/iterXXXX and /base/path/iterYYYY. As a
example, if you specify 0 and 10 as the starting and ending iterations, the
driver program will start with the graph structure stored at
/base/path/iter0000; final results will be stored at
/base/path/iter0010.
HubsAndAuthorities| Constructor and Description |
|---|
HubsAndAuthoritiesSchimmy() |
| Modifier and Type | Method and Description |
|---|---|
int |
HACalc(String path,
int iter,
int jter,
int nodeCount,
boolean useCombiner,
boolean useInmapCombiner,
boolean useRange,
int mapTasks,
int reduceTasks) |
static void |
main(String[] args) |
int |
Norm(String path,
int iter,
int jter,
int nodeCount,
boolean useCombiner,
boolean useInmapCombiner,
boolean useRange,
int mapTasks,
int reduceTasks) |
int |
run(String[] args) |
public int run(String[] args) throws Exception
run in interface org.apache.hadoop.util.ToolExceptionpublic int HACalc(String path, int iter, int jter, int nodeCount, boolean useCombiner, boolean useInmapCombiner, boolean useRange, int mapTasks, int reduceTasks) throws IOException
IOExceptionpublic int Norm(String path, int iter, int jter, int nodeCount, boolean useCombiner, boolean useInmapCombiner, boolean useRange, int mapTasks, int reduceTasks) throws IOException
IOExceptionCopyright © 2015. All rights reserved.