hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark question <markq2...@gmail.com>
Subject get name of file in mapper output directory
Date Sun, 22 May 2011 00:03:21 GMT
Hi,

  I'm running a job with maps only  and I want by end of each map
(ie.Close() function) to open the file that the current map has wrote using
its output.collector.

  I know "job.getWorkingDirectory()"  would give me the parent path of the
file written, but how to get the full path or the name (ie. part-00000 or
part-00001).

Thanks,
Mark

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