1.

Which of the following is a more compact binary format?(a) TCompactProtocol(b) TDenseProtocol(c) TBinaryProtocol(d) TSimpleJSONProtocolThis question was addressed to me during an online interview.Enquiry is from Thrift with Hadoop topic in chapter Apache Spark, Flume, Lucene, Hama, HCatalog, Mahout, Drill, Crunch and Thrift of Hadoop

Answer» RIGHT ANSWER is (a) TCOMPACTPROTOCOL

To elaborate: TCompactProtocol is TYPICALLY more EFFICIENT to process as well.


Discussion

No Comment Found

Related InterviewSolutions