hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhou, Yunqing" <azure...@gmail.com>
Subject A question about Mapper
Date Sat, 04 Oct 2008 03:36:10 GMT
the input is as follows.
flag
a
b
flag
c
d
e
flag
f

then I used a mapper to first store values and then emit them all when met
with a line contains "flag"
but when the file reached its end, I have no chance to emit the last
record.(in this case ,f)
so how can I detect the mapper's end of its life , or how can I emit a last
record before a mapper exits.

Thanks

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message