v2: MAPREDUCE-5124: add high water mark and counter

Signed-off-by: Tsuyoshi Ozawa <ozawa.tsuyoshi@gmail.com>