@Override
  protected void processOptions(CommandLine cmd) {
    super.processOptions(cmd);
    String[] args = cmd.getArgs();
    // get the class, run with the conf
    if (args.length < 1) {
      printUsage(this.getClass().getSimpleName() + " <general options> COMMAND [<COMMAND options>]",
        "General options:", "");
      printCommands();
      // Have to throw an exception here to stop the processing. Looks ugly but gets message across.
      throw new RuntimeException("Incorrect Number of args.");
    }
    toRun = args[0];
    otherArgs = Arrays.copyOfRange(args, 1, args.length);
  }
A stand alone program that follows a linked list created by {@link Generator} and prints timing
info.
hbase-it/src/test/java/org/apache/hadoop/hbase/test/IntegrationTestBigLinkedList.java