Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-6906

Improve Hive integration support

    XMLWordPrintableJSON

Details

    • Story
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 1.5.0
    • SQL
    • None
    • Spark 1.5 release

    Description

      Right now Spark SQL is very coupled to a specific version of Hive for two primary reasons.

      • Metadata: we use the Hive Metastore client to retrieve information about tables in a metastore.
      • Execution: UDFs, UDAFs, SerDes, HiveConf and various helper functions for configuration.

      Since Hive is generally not compatible across versions, we are currently maintain fairly expensive shim layers to let us talk to both Hive 12 and Hive 13 metastores. Ideally we would be able to talk to more versions of Hive with less maintenance burden.

      This task is proposing that we separate the hive version that is used for communicating with the metastore from the version that is used for execution. In doing so we can significantly reduce the size of the shim by only providing compatibility for metadata operations. All execution will be done with single version of Hive (the newest version that is supported by Spark SQL).

      Attachments

        There are no Sub-Tasks for this issue.

        Activity

          People

            marmbrus Michael Armbrust
            marmbrus Michael Armbrust
            Votes:
            6 Vote for this issue
            Watchers:
            22 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: