It works after adding the -Djline.terminal=jline.UnsupportedTerminal 

-----Original Message-----
From: Cheng, Hao [mailto:hao.ch...@intel.com] 
Sent: Saturday, February 28, 2015 10:24 AM
To: user@spark.apache.org
Subject: JLine hangs under Windows8

Hi, All
    I was trying to run spark sql cli on windows 8 for debugging purpose, 
however, seems the JLine hangs in waiting input after "ENTER" key, I didn't see 
that under Linux, is there anybody meet the same issue?

The call stack as below:
"main" prio=6 tid=0x0000000002548800 nid=0x17cc runnable [0x000000000253e000]
   java.lang.Thread.State: RUNNABLE
        at jline.WindowsTerminal.readByte(Native Method)
        at jline.WindowsTerminal.readCharacter(WindowsTerminal.java:233)
        at jline.WindowsTerminal.readVirtualKey(WindowsTerminal.java:319)
        at jline.ConsoleReader.readVirtualKey(ConsoleReader.java:1453)
        at jline.ConsoleReader.readBinding(ConsoleReader.java:654)
        at jline.ConsoleReader.readLine(ConsoleReader.java:494)
        at jline.ConsoleReader.readLine(ConsoleReader.java:448)
        at 
org.apache.spark.sql.hive.thriftserver.SparkSQLCLIDriver$.main(SparkSQLCLIDriver.scala:202)
        at 
org.apache.spark.sql.hive.thriftserver.SparkSQLCLIDriver.main(SparkSQLCLIDriver.scala)


Thanks,
Cheng Hao

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


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

Reply via email to