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
- blocks
-
SPARK-15396 [Spark] [SQL] [DOC] It can't connect hive metastore database
- Resolved
- links to