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

Failed to create HiveContext in SparkR

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • SparkR
    • None

    Description

      Failed to create HiveContext in SparkR, even if we build the project with Hive support.

      build/mvn -Pyarn -Phadoop-2.4 -Dhadoop.version=2.4.0 -Phive -Phive-thriftserver -Psparkr -DskipTests clean package
      
       Welcome to
          ____              __ 
         / __/__  ___ _____/ /__ 
        _\ \/ _ \/ _ `/ __/  '_/ 
       /___/ .__/\_,_/_/ /_/\_\   version  2.0.0-SNAPSHOT 
          /_/ 
      
      
       Spark context is available as sc, SQL context is available as sqlContext
      > hiveContext <- sparkRHive.init(sc)
      16/05/19 22:49:45 ERROR RBackendHandler: <init> on org.apache.spark.sql.hive.HiveContext failed
      Error in value[[3L]](cond) : Spark SQL is not built with Hive support
      

      Attachments

        Issue Links

          Activity

            People

              rxin Reynold Xin
              smilegator Xiao Li
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: