RE: JLine hangs under Windows8

2015-02-27 Thread Cheng, Hao
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=0x02548800 nid=0x17cc runnable [0x0253e000]
   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



JLine hangs under Windows8

2015-02-27 Thread Cheng, Hao
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=0x02548800 nid=0x17cc runnable [0x0253e000]
   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