Hortonworks Hadoop 2.0 Certification exam for Pig and Hive Developer - Apache-Hadoop-Developer Exam Practice Test

You have written a Mapper which invokes the following five calls to the OutputColletor.collect method:
output.collect (new Text ("Apple"), new Text ("Red") ) ;
output.collect (new Text ("Banana"), new Text ("Yellow") ) ;
output.collect (new Text ("Apple"), new Text ("Yellow") ) ;
output.collect (new Text ("Cherry"), new Text ("Red") ) ;
output.collect (new Text ("Apple"), new Text ("Green") ) ;
How many times will the Reducer's reduce method be invoked?

Correct Answer: D Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
Indentify which method in the Mapper you should use to implement code for reading the file and populating the associative array?

Correct Answer: A Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
To use a lava user-defined function (UDF) with Pig what must you do?

Correct Answer: C Vote an answer
What is the disadvantage of using multiple reducers with the default HashPartitioner and distributing your workload across you cluster?

Correct Answer: B Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
Indentify the utility that allows you to create and run MapReduce jobs with any executable
or script as the mapper and/or the reducer?

Correct Answer: C Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
Consider the following two relations, A and B.

What is the output of the following Pig commands?
X = GROUP A BY S1; DUMP X;

Correct Answer: C Vote an answer

Contact Us

If you have any question please leave me your email address, we will reply and send email to you in 12 hours.

Our Working Time: ( GMT 0:00-15:00 ) From Monday to Saturday

Support: Contact now 

日本語 Deutsch 繁体中文 한국어