Fix the way we decide if hasNext is true or not in WALReader. Unit tests for all classes.
Use ByteBuffer in the WAL
Rewind buffer in call cases
Consolidate all tests into one class. Take Hadoop config as a param to all classes.
Wrap getting the hflush in a method.
Use sync method if hflush is not available.
Merge pull request #13 from harishreedharan/hdfs-wal

Fix the way we decide if hasNext is true or not in WALReader. Unit tests...