You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/07/22 14:36:08 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=14636847#comment-14636847 ] 

Hudson commented on LENS-637:
-----------------------------

SUCCESS: Integrated in Lens-Commit #840 (See [https://builds.apache.org/job/Lens-Commit/840/])
LENS-637 : Fix jline dependency in ml-dist (amareshwari: rev 787c4f96deac3fa42eb24dd39087f6a348ea670e)
* pom.xml


> 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.2
>            Reporter: Varadharajan
>            Assignee: Varadharajan
>            Priority: Blocker
>             Fix For: 2.2
>
>         Attachments: LENS-637.01.patch
>
>
> 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)