title: Combiners , Reducers and EcoSystemProject in Hadoop
body: <p>What do you think of the answer for Question 4 mentioned in this <a href="http://www.scribd.com/doc/234685897/CCD-410-FREE-Demo-Questions-1" rel="nofollow">site</a> will be ?</p>
  
  <p>Is the answer right or wrong</p>
  
  <p><strong>QUESTION: 4</strong></p>
  
  <pre><code>In the standard word count MapReduce algorithm, why might using a combiner reduce theoverall Job running time?
  
  A. Because combiners perform local aggregation of word counts, thereby allowing the mappers to process input data faster.
  B. Because combinersperform local aggregation of word counts, thereby reducing the number of mappers that need to run.
  C. Because combiners perform local aggregation of word counts, and then transfer that data toreducers without writing the intermediate data to disk.
  D. Because combiners perform local aggregation of word counts, thereby reducing the number of key-value pairs that need to be snuff let across the network to the reducers.
  
  Answer:A
  </code></pre>
  
  <p>and </p>
  
  <p><strong>QUESTION: 3</strong></p>
  
  <pre><code>What happens in a MapReduce job when you set the number of reducers to one?
  
  A. A single reducer gathers and processes all the output from all the mappers. The output iswritten in as many separate files as there are mappers.
  B. A single reducer gathers andprocesses all the output from all the mappers. The output iswritten to a single file in HDFS.
  C. Setting the number of reducers to one creates a processing bottleneck, and since the number of reducers as specified by the programmer is used as a reference value only, the MapReduceruntime provides a default setting for the number of reducers.
  D. Setting the number of reducers to one is invalid, and an exception is thrown.
  Answer:A
  </code></pre>
  
  <p>From my understanding answers to the above questions </p>
  
  <pre><code>Question 4: D
  Question 3: B
  </code></pre>
  
  <p><strong>UPDATE</strong></p>
  
  <pre><code>You have user profile records in your OLTP database,that you want to join with weblogs you have already ingested into HDFS.How will you obtain these user records?
  Options
  A. HDFS commands
  B. Pig load
  C. Sqoop import
  D. Hive
  Answer:B
  </code></pre>
  
  <p>and for updated question my answer I am doubtfull with <strong>B</strong> and <strong>C</strong></p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Right Answer: <strong>Sqoop</strong>.</p>