1.

A key of type ___________ is generated which is used later to join ngrams with their heads and tails in the reducer phase.(a) GramKey(b) Primary(c) Secondary(d) None of the mentionedThe question was posed to me during an online interview.My question is from Mahout with Hadoop in division Apache Spark, Flume, Lucene, Hama, HCatalog, Mahout, Drill, Crunch and Thrift of Hadoop

Answer»

The correct answer is (a) GramKey

To explain I WOULD say: The GramKey is a COMPOSITE KEY MADE up of a string n-gram fragment as the PRIMARY key and a secondary key used for grouping and sorting in the reduce phase.



Discussion

No Comment Found

Related InterviewSolutions