What is the output of the following Pig commands?
Consider the following two relations, A and B. What is the output of the following Pig commands? X = GROUP A BY S1; DUMP X;A . Option AB . Option BC . Option CD...
Consider the following two relations, A and B. What is the output of the following Pig commands? X = GROUP A BY S1; DUMP X;A . Option AB . Option BC . Option CD...
Which two of the following statements are true about Pig's approach toward data? Choose 2 answersA . Accepts only data that has a key/value pair structureB . Accepts data whether it has metadata or...
When is the earliest point at which the reduce method of a given Reducer can be called?A . As soon as at least one mapper has finished processing its input split.B . As soon...
Which one of the following statements is FALSE regarding the communication between DataNodes and a federation of NameNodes in Hadoop 2.0?A . Each DataNode receives commands from one designated master NameNode.B . DataNodes send...
When can a reduce class also serve as a combiner without affecting the output of a MapReduce program?A . When the types of the reduce operation’s input key and input value match the types...
Examine the following Hive statements: Assuming the statements above execute successfully, which one of the following statements is true?A . Each reducer generates a file sorted by ageB . The SORT BY command causes...
What does the following WebHDFS command do? Curl -1 -L “http://host:port/webhdfs/v1/foo/bar?op=OPEN”A . Make a directory /foo/barB . Read a file /foo/barC . List a directory /fooD . Delete a directory /foo/barView AnswerAnswer: B
How are keys and values presented and passed to the reducers during a standard sort and shuffle phase of MapReduce?A . Keys are presented to reducer in sorted order; values for a given key...
All keys used for intermediate output from mappers must:A . Implement a splittable compression algorithm.B . Be a subclass of FileInputFormat.C . Implement WritableComparable.D . Override isSplitable.E . Implement a comparator for speedy sorting.View...
You need to perform statistical analysis in your MapReduce job and would like to call methods in the Apache Commons Math library, which is distributed as a 1.3 megabyte Java archive (JAR) file. Which...