You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Haopu Wang <HW...@qilinsoft.com> on 2016/06/27 09:17:39 UTC

[Spark 1.6.1] Beeline cannot start on Windows7

I see below stack trace when trying to run beeline command. I'm using
JDK 7. 

Anything wrong? Much thanks!

 

======

D:\spark\download\spark-1.6.1-bin-hadoop2.4>bin\beeline

Beeline version 1.6.1 by Apache Hive

Exception in thread "main" java.lang.NoSuchMethodError:
org.fusesource.jansi.internal.Kernel32.GetConsoleOutputCP()I

        at
jline.WindowsTerminal.getConsoleOutputCodepage(WindowsTerminal.java:293)

        at
jline.WindowsTerminal.getOutputEncoding(WindowsTerminal.java:186)

        at jline.console.ConsoleReader.<init>(ConsoleReader.java:230)

        at jline.console.ConsoleReader.<init>(ConsoleReader.java:221)

        at jline.console.ConsoleReader.<init>(ConsoleReader.java:209)

        at
org.apache.hive.beeline.BeeLine.getConsoleReader(BeeLine.java:834)

        at org.apache.hive.beeline.BeeLine.begin(BeeLine.java:770)

        at
org.apache.hive.beeline.BeeLine.mainWithInputRedirection(BeeLine.java:48
4)

        at org.apache.hive.beeline.BeeLine.main(BeeLine.java:467)