[
https://issues.apache.org/jira/browse/SPARK-6154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14528089#comment-14528089
]
Aniket Bhatnagar commented on SPARK-6154:
-----------------------------------------
I ran into this as well and my fix was to update
org.apache.spark.sql.hive.thriftserver.SparkSQLCLIDriver to use latest jline
and comment out the line 'CliDriver.getCommandCompletor.foreach((e) =>
reader.addCompletor(e))'. Yes, you do loose autocompletion but JDBC
(HiveThriftServer2) works fine. What should be proper fix for this? Perhaps
dropping the autocomplete feature?
> 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: [email protected]
For additional commands, e-mail: [email protected]