org.apache.accumulo.server.logger
Class LogReader

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

public class LogReader
extends java.lang.Object


Constructor Summary
LogReader()
           
 
Method Summary
static void main(java.lang.String[] args)
          Dump a Log File (Map or Sequence) to stdout.
static void printLogEvent(LogFileKey key, LogFileValue value, org.apache.hadoop.io.Text row, 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(java.lang.String[] args)
                 throws java.io.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:
java.io.IOException
org.apache.commons.cli.ParseException

printLogEvent

public static void printLogEvent(LogFileKey key,
                                 LogFileValue value,
                                 org.apache.hadoop.io.Text row,
                                 int maxMutations)


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