[ 
https://issues.apache.org/jira/browse/SPARK-15437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiao Li updated SPARK-15437:
----------------------------
    Description: 
Failed to create HiveContext in SparkR, even if we build the project with Hive 
support. 
{noformat}
build/mvn -Pyarn -Phadoop-2.4 -Dhadoop.version=2.4.0 -Phive -Phive-thriftserver 
-Psparkr -DskipTests clean package
{noformat}

{noformat}
 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
{noformat}


  was:
Failed to create HiveContext in SparkR, even if we build the project with Hive. 
{noformat}
build/mvn -Pyarn -Phadoop-2.4 -Dhadoop.version=2.4.0 -Phive -Phive-thriftserver 
-Psparkr -DskipTests clean package
{noformat}

{noformat}
 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
{noformat}



> Failed to create HiveContext in SparkR
> --------------------------------------
>
>                 Key: SPARK-15437
>                 URL: https://issues.apache.org/jira/browse/SPARK-15437
>             Project: Spark
>          Issue Type: Bug
>          Components: SparkR
>    Affects Versions: 2.0.0
>            Reporter: Xiao Li
>            Priority: Blocker
>
> Failed to create HiveContext in SparkR, even if we build the project with 
> Hive support. 
> {noformat}
> build/mvn -Pyarn -Phadoop-2.4 -Dhadoop.version=2.4.0 -Phive 
> -Phive-thriftserver -Psparkr -DskipTests clean package
> {noformat}
> {noformat}
>  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
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to