protected String dumpArchive(FileSystem fs,Configuration conf, String file) throws Throwable {
SequenceFile.Reader reader = null;
try {
reader = new SequenceFile.Reader(fs, new Path(file), conf);
ChukwaArchiveKey key = new ChukwaArchiveKey();
ChunkImpl chunk = ChunkImpl.getBlankChunk();
StringBuilder sb = new StringBuilder();
while (reader.next(key, chunk)) {
sb.append("\nTimePartition: " + key.getTimePartition());
sb.append("DataType: " + key.getDataType());
sb.append("StreamName: " + key.getStreamName());
sb.append("SeqId: " + key.getSeqId());
sb.append("\t\t =============== ");
sb.append("Cluster : " + chunk.getTags());
sb.append("DataType : " + chunk.getDataType());
sb.append("Source : " + chunk.getSource());