H13-723_V2.0 · Question #90
In FusionInsight HD, about Hive and Sparksql, which of the following descriptions are correct? (multiple choice)
The correct answer is A. Both can provide SQL or SQL-like capabilities externally C. Both can access data on HBase through the table field and HBase field mapping method D. Both can run on the Spark computing framework. A, C, and D are correct because both Hive and SparkSQL share three key capabilities in FusionInsight HD: (A) Hive exposes HiveQL (an SQL dialect) and SparkSQL exposes standard SQL - both provide SQL or SQL-like interfaces for querying structured data. (C) Both engines can…
Question
In FusionInsight HD, about Hive and Sparksql, which of the following descriptions are correct? (multiple choice)
Options
- ABoth can provide SQL or SQL-like capabilities externally
- BBoth can run on the MapReduce computing framework
- CBoth can access data on HBase through the table field and HBase field mapping method
- DBoth can run on the Spark computing framework
How the community answered
(49 responses)- A73% (36)
- B27% (13)
Explanation
A, C, and D are correct because both Hive and SparkSQL share three key capabilities in FusionInsight HD:
- (A) Hive exposes HiveQL (an SQL dialect) and SparkSQL exposes standard SQL - both provide SQL or SQL-like interfaces for querying structured data.
- (C) Both engines can connect to HBase by mapping table fields to HBase column families and qualifiers, enabling SQL-style queries over HBase data.
- (D) SparkSQL runs natively on Spark, and Hive supports Spark as an alternative execution engine (Hive-on-Spark), so both can use the Spark computing framework.
B is wrong because while Hive can run on MapReduce, SparkSQL is tightly coupled to the Spark engine and does not support MapReduce as a backend - making "both" an incorrect claim.
Memory tip: Think of the "Spark overlap" - SparkSQL only knows Spark, so any option saying both tools share MapReduce will be false. Use the acronym SAD (Spark, Access HBase, Data/SQL) to remember the three things they genuinely share.
Topics
Community Discussion
No community discussion yet for this question.