org.apache.hadoop.chukwa.util
Class DumpChunks

java.lang.Object
  extended by org.apache.hadoop.chukwa.util.DumpChunks

public class DumpChunks
extends Object


Constructor Summary
DumpChunks()
           
 
Method Summary
protected  void displayResults(PrintStream out)
           
static void main(String[] args)
          Tries to find chunks matching a given pattern.
protected  void updateMatchCatalog(String streamName, ChunkImpl chunk)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DumpChunks

public DumpChunks()
Method Detail

main

public static void main(String[] args)
                 throws IOException,
                        URISyntaxException
Tries to find chunks matching a given pattern. Takes as input a set of &-delimited patterns, followed by a list of file names. E.g: Dump datatype=Iostat&source=/my/log/.* *.done

Throws:
IOException
URISyntaxException

displayResults

protected void displayResults(PrintStream out)
                       throws IOException
Throws:
IOException

updateMatchCatalog

protected void updateMatchCatalog(String streamName,
                                  ChunkImpl chunk)
                           throws IOException
Throws:
IOException


Copyright © 2011 Apache Software Foundation. All Rights Reserved.