Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 07-21-2016 12:25 AM
Could someone confirm the correct practice for setting the mapred.output.committer.class property? I was able to get it to work only if I set the property in my OutputFormat class. I tried
1) setting it in my SerDe class
2) putting it in mapred-site.xml
but in both cases there seems to be no effect. Thank you.
Created 07-21-2016 03:34 AM
can you please set this property as well to make it work
mapreduce.use.directfileoutputcommitter=true
Created 07-21-2016 03:34 AM
can you please set this property as well to make it work
mapreduce.use.directfileoutputcommitter=true
Created 07-21-2016 04:18 AM
Hi @Sunile Manjee, thanks for the reply. I can try this but my understanding was that mapred.output.committer.class is for old API and mapreduce.use.directfileoutputcommitter is for new API, and it's an either-or. So would it really help to use both?
Created 07-21-2016 04:42 AM
ok I understand. I have only seen it implemented like this:
committer = ReflectionUtils.newInstance(conf.getClass(
"mapred.output.committer.class", DirectFileOutputCommitter.class,
org.apache.hadoop.mapred.OutputCommitter.class), conf);
}
Created 03-13-2017 02:14 AM
please advise if this has answered your quesiton