How to specify more than one directory as input to the MapReduce Job?
Answer / Mridul Mayank
To specify more than one directory as input to a MapReduce job, you can use the FileInputFormat.setInputPaths(JobContext, Path[]) method and pass an array of Path objects representing the directories.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why Hadoop MapReduce?
what job does the conf class do?
How to sort intermediate output based on values in MapReduce?
What is RecordReader in a Map Reduce?
Explain what is the function of mapreduce partitioner?
What are the the issues associated with the map and reduce slots based mechanism in mapReduce?
Does mapreduce programming model provide a way for reducers to communicate with each other? In a mapreduce job can a reducer communicate with another reducer?
What main configuration parameters are specified in mapreduce?
What do you mean by shuffling and sorting in MapReduce?
What is the data storage component used by Hadoop?
how can you check whether Namenode is working beside using the jps command?
Explain the Reducer's reduce phase?
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)