Package org.apache.hadoop.hdfs.notifier.benchmark

Examples of org.apache.hadoop.hdfs.notifier.benchmark.TxnGenerator


  public int run(String[] args) throws Exception {
    int i = 0;
    String cmd = args[i++];
   
    if ("-generatetxn".equals(cmd)) {
      TxnGenerator generator = new TxnGenerator(conf);
      generator.start(args, i);
    } else if ("-consumetxn".equals(cmd)) {
      TxnConsumer consumer = new TxnConsumer(conf);
      consumer.start(args, i);
    }
    return 0;
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hdfs.notifier.benchmark.TxnGenerator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.