Rearange code
Merge branch 'hds' of github.com:DataTorrent/Malhar into hds
Make a copy of committed window id and offset in endWindow, and write it to WAL
metadata at end of write.
Merge branch 'hds' of github.com:DataTorrent/Malhar into hds
Check committed window id for data files and do not attempt recovery
if checkpointed window id is less than committed windowid.
Merge pull request #1034 from tushargosavi/hds

Hds