[
https://issues.apache.org/jira/browse/LIVY-783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17630992#comment-17630992
]
Xilang Yan commented on LIVY-783:
---------------------------------
Fixed by [https://github.com/apache/incubator-livy/pull/313]
> java.lang.IncompatibleClassChangeError: Found interface
> org.objectweb.asm.MethodVisitor, but class was expected
> ---------------------------------------------------------------------------------------------------------------
>
> Key: LIVY-783
> URL: https://issues.apache.org/jira/browse/LIVY-783
> Project: Livy
> Issue Type: Bug
> Affects Versions: 0.8.0
> Environment: Hadoop 2.7, Spark 3.0, Scala 2.12
> Reporter: Lucky Kamath
> Priority: Major
> Labels: asm
> Attachments: livy-stack-trace.log
>
> Time Spent: 2h
> Remaining Estimate: 0h
>
>
> Steps to reproduce:
> # Pull master branch (0.8.0-SNAPSHOT)
> # changed <scala.binary.version> to 2.12 and <scala.version> to
> ${scala-2.12.version} in pom.xml
> # package the jars through maven package
> # extract the assembly/target/apache-livy-0.8.0-incubating-SNAPSHOT-bin.zip
> # Start livy server
> # Create an interactive session
> # Fails with java.lang.IncompatibleClassChangeError. Find attached stack
> trace.
>
> Observations:
> I see that Hadoop 2.7 uses asm-3.2.jar. And livy 0.8.0-SNAPSHOT uses
> asm-5.0.4.jar
--
This message was sent by Atlassian Jira
(v8.20.10#820010)