Uploaded image for project: 'Livy'
  1. Livy
  2. LIVY-783

java.lang.IncompatibleClassChangeError: Found interface org.objectweb.asm.MethodVisitor, but class was expected

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8.0
    • None
    • None
    • Hadoop 2.7, Spark 3.0, Scala 2.12

    Description

       

      Steps to reproduce:

      1. Pull master branch (0.8.0-SNAPSHOT)
      2. changed <scala.binary.version> to 2.12 and <scala.version> to ${scala-2.12.version} in pom.xml
      3. package the jars through maven package
      4. extract the assembly/target/apache-livy-0.8.0-incubating-SNAPSHOT-bin.zip 
      5. Start livy server
      6. Create an interactive session
      7. 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

      Attachments

        1. livy-stack-trace.log
          11 kB
          Lucky Kamath

        Activity

          People

            Minutis Mindaugas Pocius
            lucky@unifisoftware.com Lucky Kamath
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h
                2h