adspace


How to submit extra files(jars, static files) for Hadoop MapReduce job during runtime?

Answer Posted / Neha Agrawal

To submit additional JARs or static files for a Hadoop MapReduce job at runtime, you can use the Configuration API of the Job object. nFor example, to add a custom JAR file, set the following properties in the configuration object and pass it to the Job object:n`configuration.addFile(new Path("path_to_your_jar"));nconfiguration.setJarByClass(YourMapReduceJob.class);"

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

No New Questions to Answer in this Category !!    You can

Post New Questions

Answer Questions in Different Category