Hortonworks-Certified-Apache-Hadoop-2.0-Developer(Pig and Hive Developer) - HADOOP-PR000007 模擬練習
You are developing a combiner that takes as input Text keys, IntWritable values, and emits Text keys,
IntWritable values. Which interface should your class implement?
IntWritable values. Which interface should your class implement?
正解: C
Consider the following two relations, A and B.

A Pig JOIN statement that combined relations A by its first field and B by its second field would produce
what output?

A Pig JOIN statement that combined relations A by its first field and B by its second field would produce
what output?
正解: B
What is the term for the process of moving map outputs to the reducers?
正解: C
You write MapReduce job to process 100 files in HDFS. Your MapReduce algorithm uses
TextInputFormat: the mapper applies a regular expression over input values and emits key-values pairs
with the key consisting of the matching text, and the value containing the filename and byte offset.
Determine the difference between setting the number of reduces to one and settings the number of
reducers to zero.
TextInputFormat: the mapper applies a regular expression over input values and emits key-values pairs
with the key consisting of the matching text, and the value containing the filename and byte offset.
Determine the difference between setting the number of reduces to one and settings the number of
reducers to zero.
正解: A
Given the following Pig command:
logevents = LOAD 'input/my.log' AS (date:chararray, levehstring, code:int, message:string);
Which one of the following statements is true?
logevents = LOAD 'input/my.log' AS (date:chararray, levehstring, code:int, message:string);
Which one of the following statements is true?
正解: B
Which of the following tool was designed to import data from a relational database into HDFS?
正解: D