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)
           
 
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

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

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 © 2013 Apache Accumulo Project. All Rights Reserved.