org.apache.accumulo.server.logger
Class LogReader

java.lang.Object
  extended by org.apache.accumulo.server.logger.LogReader

public class LogReader
extends Object


Constructor Summary
LogReader()
           
 
Method Summary
static void main(String[] args)
          Dump a Log File (Map or Sequence) to stdout.
static void printLogEvent(LogFileKey key, LogFileValue value, org.apache.hadoop.io.Text row, Matcher rowMatcher, KeyExtent ke, Set<Integer> tabletIds, int maxMutations)
           
static void usage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogReader

public LogReader()
Method Detail

usage

public static void usage()

main

public static void main(String[] args)
                 throws IOException
Dump a Log File (Map or Sequence) to stdout. Will read from HDFS or local file system.

Parameters:
args - - first argument is the file to print
Throws:
IOException
org.apache.commons.cli.ParseException

printLogEvent

public static void printLogEvent(LogFileKey key,
                                 LogFileValue value,
                                 org.apache.hadoop.io.Text row,
                                 Matcher rowMatcher,
                                 KeyExtent ke,
                                 Set<Integer> tabletIds,
                                 int maxMutations)


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.