Hi,
I need to be able to retrieve the current job id from within map or
reduce tasks. I looked here and there, but I wasn't able to find any way
to do this in the API ...
Basically, I want to be able to do something like this:
class XXX implements Mapper {
public void configure(Configuration conf) {
String jobId = ... ?
String taskId = ... ?
}
}
And similarly:
class XXX implements Reducer {
public void configure(Configuration conf) {
String jobId = ... ?
String taskId = ... ?
}
}
Is this possible?
--
Best regards,
Andrzej Bialecki <><
___. ___ ___ ___ _ _ __________________________________
[__ || __|__/|__||\/| Information Retrieval, Semantic Web
___|||__|| \| || | Embedded Unix, System Integration
http://www.sigram.com Contact: info at sigram dot com