Example usage for org.apache.hadoop.util ToolRunner run

List of usage examples for org.apache.hadoop.util ToolRunner run

Introduction

In this page you can find the example usage for org.apache.hadoop.util ToolRunner run.

Prototype

public static int run(Tool tool, String[] args) throws Exception 

Source Link

Document

Runs the Tool with its Configuration.

Usage

From source file:BooleanRetrievalCompressed.java

License:Apache License

public static void main(String[] args) throws Exception {
    ToolRunner.run(new BooleanRetrievalCompressed(), args);
}

From source file:HdfsReader.java

License:Apache License

public static void main(String[] args) throws Exception {
    int returnCode = ToolRunner.run(new HdfsReader(), args);
    System.exit(returnCode);/*  w ww . j a  v  a 2 s.c  o m*/
}

From source file:ImportTsv.java

License:Apache License

public static void main(String[] args) throws Exception {
    int status = ToolRunner.run(new ImportTsv(), args);
    System.exit(status);/*from   www.  java  2s.  c  o  m*/
}

From source file:ExportStressTest.java

License:Apache License

public static void main(String[] args) throws Exception {
    ExportStressTest test = new ExportStressTest();
    int ret = ToolRunner.run(test, args);
    System.exit(ret);/*from w  w  w  .  jav  a 2  s.c  om*/
}

From source file:DumpRecordsExtended.java

License:Apache License

/**
 * Dispatches command-line arguments to the tool via the {@code ToolRunner}.
 *//*from   ww  w .  j  av a  2s.c o  m*/
public static void main(String[] args) throws Exception {
    ToolRunner.run(new DumpRecordsExtended(), args);
}

From source file:StripesPMI_nocombiner.java

License:Apache License

/**
 * Dispatches command-line arguments to the tool via the {@code ToolRunner}.
 *///from  w  w  w . j  a v a 2  s.c  o  m
public static void main(String[] args) throws Exception {
    ToolRunner.run(new StripesPMI_nocombiner(), args);
}

From source file:BuildInvertedIndex.java

License:Apache License

/**
     * Dispatches command-line arguments to the tool via the {@code ToolRunner}.
     *///from w  ww .  j  a  v  a  2s. com
    public static void main(String[] args) throws Exception {
        ToolRunner.run(new BuildInvertedIndex(), args);
    }

From source file:WikipediaForwardIndexBuilder.java

License:Apache License

public static void main(String[] args) throws Exception {
    ToolRunner.run(new WikipediaForwardIndexBuilder(), args);
}

From source file:RunPageRankSchimmy.java

License:Apache License

/**
 * Dispatches command-line arguments to the tool via the {@code ToolRunner}.
 *///  ww  w. jav a 2s.  c o m
public static void main(String[] args) throws Exception {
    ToolRunner.run(new RunPageRankSchimmy(), args);
}

From source file:PartitionGraph.java

License:Apache License

public static void main(String[] args) throws Exception {
    ToolRunner.run(new PartitionGraph(), args);
}