Uploaded image for project: 'Bahir (Retired)'
  1. Bahir (Retired)
  2. BAHIR-250

flink-1.11.2 -java.lang.VerifyError: Cannot inherit from final class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • Flink-1.1.0
    • Flink-1.1.0
    • None
    • jdk1.8
      scala-2.11.8
      kudu1.13-docker
    • Important

    Description

      flink1.11.2版本下,无法使用KuduSink

       

      <flink.version>1.11.2</flink.version>
      <scala.binary.version>2.11</scala.binary.version>
      <scala.version>2.11.8</scala.version>
      <flink-connector-kudu_2.11.version>1.1-SNAPSHOT</flink-connector-kudu_2.11.version>

       

      Exception in thread "main" java.lang.VerifyError: Cannot inherit from final classException in thread "main" java.lang.VerifyError: Cannot inherit from final class at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:468) at java.net.URLClassLoader.access$100(URLClassLoader.java:74) at java.net.URLClassLoader$1.run(URLClassLoader.java:369) at java.net.URLClassLoader$1.run(URLClassLoader.java:363) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:362) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) at java.lang.Class.getDeclaredMethod(Class.java:2128) at org.apache.flink.api.java.ClosureCleaner.usesCustomSerialization(ClosureCleaner.java:164) at org.apache.flink.api.java.ClosureCleaner.clean(ClosureCleaner.java:89) at org.apache.flink.api.java.ClosureCleaner.clean(ClosureCleaner.java:126) at org.apache.flink.api.java.ClosureCleaner.clean(ClosureCleaner.java:71) at org.apache.flink.streaming.api.environment.StreamExecutionEnvironment.clean(StreamExecutionEnvironment.java:1899) at org.apache.flink.streaming.api.datastream.DataStream.clean(DataStream.java:189) at org.apache.flink.streaming.api.datastream.DataStream.addSink(DataStream.java:1296) at org.apache.flink.streaming.api.scala.DataStream.addSink(DataStream.scala:1131) at com.hiscat.flink.kudu.KuduSinkTest$.main(KuduSinkTest.scala:26) at com.hiscat.flink.kudu.KuduSinkTest.main(KuduSinkTest.scala)

      Attachments

        Activity

          People

            Unassigned Unassigned
            hiscat 谢波
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: