xiangfu0 edited a comment on pull request #6424:
URL: https://github.com/apache/incubator-pinot/pull/6424#issuecomment-829473903


   > > pardon my ignorance - why do we say that this change makes it 
backward-incompatible?
   > 
   > By backward incompatible do you mean that an older pinot cluster cannot be 
upgraded?
   > If so I would say this is not backward-incompatible: we were able to 
upgrade a cluster in place with the same
   > configuration.
   > 
   > @xiangfu0 do you have some more context?
   
   I think the issue is that JDK11 built binary cannot be ran using JDK8, which 
requires all existing JDK8 users to upgrade their environment.
   
   Here are the errors when you try to run JDK 11 built pinot with JDK 8 
Runtime:
   ```
   Error: A JNI error has occurred, please check your installation and try again
   Exception in thread "main" java.lang.UnsupportedClassVersionError: 
org/apache/pinot/tools/Quickstart has been compiled by a more recent version of 
the Java Runtime (class file version 55.0), this version of the Java Runtime 
only recognizes class file versions up to 52.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
        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:418)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:495)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to