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

Aniket Bhatnagar commented on SPARK-6154:
-----------------------------------------

Yes. I haven't tested this approach with scala 2.11 though but I believe it 
should work. It is also possible to make autocompletion to work if we could 
write an adapter between old jline reader and new one.

> Support Kafka, JDBC in Scala 2.11
> ---------------------------------
>
>                 Key: SPARK-6154
>                 URL: https://issues.apache.org/jira/browse/SPARK-6154
>             Project: Spark
>          Issue Type: Improvement
>          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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to