How to submit extra files(jars, static files) for Hadoop MapReduce job during runtime?
Answer / 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 |
What is the job of blend () and repartition () in Map Reduce?
When is it not recommended to use MapReduce paradigm for large
How do Hadoop MapReduce works?
What is shuffling and sorting in Hadoop MapReduce?
Explain the input type/format in mapreduce by default?
How to set mappers and reducers for Hadoop jobs?
What is an input reader in reference to mapreduce?
Can we rename the output file?
What is the function of mapreducer partitioner?
Does Partitioner run in its own JVM or shares with another process?
How to get the single file as the output from MapReduce Job?
What are the advantages of using mapreduce with hadoop?
Apache Hadoop (394)
MapReduce (354)
Apache Hive (345)
Apache Pig (225)
Apache Spark (991)
Apache HBase (164)
Apache Flume (95)
Apache Impala (72)
Apache Cassandra (392)
Apache Mahout (35)
Apache Sqoop (82)
Apache ZooKeeper (65)
Apache Ambari (93)
Apache HCatalog (34)
Apache HDFS Hadoop Distributed File System (214)
Apache Kafka (189)
Apache Avro (26)
Apache Presto (15)
Apache Tajo (26)
Hadoop General (407)