What is the relation between MapReduce and Hive?

Free Online Certification Courses – Learn Today. Lead Tomorrow. Forums Apache Hadoop What is the relation between MapReduce and Hive?

Viewing 2 reply threads
  • Author
    Posts
    • #5530
      DataFlair TeamDataFlair Team
      Spectator

      Explain what is the relation between MapReduce and Hive?

    • #5532
      DataFlair TeamDataFlair Team
      Spectator

      After the Hive finishes the query execution, the result is submitted to the JobTracker, which resides on YARN. The JobTracker consists of Map/Reduce tasks which runs the mapper and reducer job to store the final result in the HDFS. The Map task deserializes(reading) the data from the HDFS and the Reduce task serializes(writing) the data as the result of the Hive query.

    • #5533
      DataFlair TeamDataFlair Team
      Spectator

      We can say that both technologies are part of the big data framework.
      Map Reduce is the framework used to process the data which is stored in the HDFS, here java native language is used to writing Map Reduce programs.
      Hive is a batch processing framework. This component process the data using a language called Hive Query Language(HQL). Hive prevents writing MapReduce programs in Java. Instead one can use SQL like language to do their daily tasks.
      For HIVE there is no process to communicate Map/Reduce tasks directly. It communicates with Job tracker(Application Master in YARN) only for job processing related things once it got scheduled.

Viewing 2 reply threads
  • You must be logged in to reply to this topic.