You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Varadharajan (JIRA)" <ji...@apache.org> on 2015/06/26 14:03:04 UTC

[jira] [Commented] (LENS-637) Jline version mismatch causing lens-cli.sh to fail

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

Varadharajan commented on LENS-637:
-----------------------------------

I'm working on it. Will upload patch in few mins


> Jline version mismatch causing lens-cli.sh to fail
> --------------------------------------------------
>
>                 Key: LENS-637
>                 URL: https://issues.apache.org/jira/browse/LENS-637
>             Project: Apache Lens
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 2.3
>            Reporter: Varadharajan
>            Priority: Blocker
>
> lens-cli.sh on execution will fail with the below error because of another version of jline was in classpath [included transitively by spark-core_2.10]. 
> [ERROR] Terminal initialization failed; falling back to unsupported
> java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but interface was expected
> 	at jline.TerminalFactory.create(TerminalFactory.java:101)
> 	at jline.TerminalFactory.get(TerminalFactory.java:159)
> 	at jline.console.ConsoleReader.<init>(ConsoleReader.java:227)
> 	at jline.console.ConsoleReader.<init>(ConsoleReader.java:219)
> 	at jline.console.ConsoleReader.<init>(ConsoleReader.java:207)
> 	at org.springframework.shell.core.JLineShell.createConsoleReader(JLineShell.java:250)
> 	at org.springframework.shell.core.JLineShell.run(JLineShell.java:112)
> 	at java.lang.Thread.run(Thread.java:745)
> Exception in thread "Spring Shell" java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but interface was expected
> 	at jline.console.ConsoleReader.<init>(ConsoleReader.java:228)
> 	at jline.console.ConsoleReader.<init>(ConsoleReader.java:219)
> 	at jline.console.ConsoleReader.<init>(ConsoleReader.java:207)
> 	at org.springframework.shell.core.JLineShell.createConsoleReader(JLineShell.java:250)
> 	at org.springframework.shell.core.JLineShell.run(JLineShell.java:112)
> 	at java.lang.Thread.run(Thread.java:745)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)