1.

Which of the following is a straightforward binary format?(a) TCompactProtocol(b) TDenseProtocol(c) TBinaryProtocol(d) TSimpleJSONProtocolI have been asked this question in an online interview.This is a very interesting question from Thrift with Hadoop in chapter Apache Spark, Flume, Lucene, Hama, HCatalog, Mahout, Drill, Crunch and Thrift of Hadoop

Answer» CORRECT ANSWER is (c) TBINARYPROTOCOL

Best explanation: TBinaryProtocol is not OPTIMIZED for SPACE efficiency.


Discussion

No Comment Found

Related InterviewSolutions