hadoop - Accessing job's configuration from RecordReader / InputFormat -
i using hadoop , have create custom inputformat.
to this, override inputformat , recordreader classes, explained here
i access configuration of job (to access variable set before running job). can access "taskattemptcontext" , configuration object this, not global configuration of job.
i don't know if want possible helpful if have idea.
thanks.
finally, taskattemptcontext contains global configuration, may made mistake. so, possible pass variable launcher main() inputformat.
hadoop mapreduce
No comments:
Post a Comment