[ 
https://issues.apache.org/jira/browse/SPARK-6154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14350975#comment-14350975
 ] 

Patrick Wendell commented on SPARK-6154:
----------------------------------------

Oh I remember now, we don't support this because there is a dependency conflict 
between hive's thriftserver JLine and the JLine used by Scala 2.11. It says the 
following in the docs:

"Scala 2.11 support in Spark is experimental and does not support a few 
features. Specifically, Spark’s external Kafka library and JDBC component are 
not yet supported in Scala 2.11 builds."

> Build error with Scala 2.11 for v1.3.0-rc2
> ------------------------------------------
>
>                 Key: SPARK-6154
>                 URL: https://issues.apache.org/jira/browse/SPARK-6154
>             Project: Spark
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 1.3.0
>            Reporter: Jianshi Huang
>
> Build v1.3.0-rc2 with Scala 2.11 using instructions in the documentation 
> failed when -Phive-thriftserver is enabled.
> [info] Compiling 9 Scala sources to 
> /home/hjs/workspace/spark/sql/hive-thriftserver/target/scala-2.11/classes...
> [error] 
> /home/hjs/workspace/spark/sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkSQLCLIDriver.scala:2
> 5: object ConsoleReader is not a member of package jline
> [error] import jline.{ConsoleReader, History}
> [error]        ^
> [warn] Class jline.Completor not found - continuing with a stub.
> [warn] Class jline.ConsoleReader not found - continuing with a stub.
> [error] 
> /home/hjs/workspace/spark/sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkSQLCLIDriver.scala:1
> 65: not found: type ConsoleReader
> [error]     val reader = new ConsoleReader()
> Jianshi



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to