Description
While working on SAMZA-444, I noticed that in the 0.8.0 branch, Util.getTaskNameToChangeLogPartitionMapping closes the checkpointManager before checkpointManager.writeChangeLogPartitionMapping is called. The manager shouldn't be closed until afterwards.