Sorry I meant this JDK issue: https://bugs.openjdk.org/browse/JDK-8281181 Nicolò Boschi
Il giorno lun 5 dic 2022 alle ore 11:15 Nicolò Boschi <boschi1...@gmail.com> ha scritto: > Frank, > Thanks for reporting, there may be several users hitting this common issue > without even being aware of it > > My guess is that the bug you're facing is related to > https://bugs.openjdk.org/browse/JDK-8274349 and it has been fixed in > openjdk 11.0.17. > > Pulsar 2.10.2 should be compatible with JDK 17 at runtime even though > there are no tests and it's recommended to test it in your dev environment. > > Pulsar 2.11.0 and onwards will REQUIRE jdk 17 on the server side. > Pulsar 2.11.0 rc2 includes openjdk 17.0.5 that contains the above fix. > > Cheers, > Nicolò Boschi > > > Il giorno sab 3 dic 2022 alle ore 10:03 Enrico Olivelli < > eolive...@gmail.com> ha scritto: > >> I think that Pulsar 2.10 should work on jdk17 but we have no automated >> tests on CI >> >> Enrico >> >> Il Ven 2 Dic 2022, 23:23 Frank Kelly <fke...@cogitocorp.com.invalid> ha >> scritto: >> >> > Thanks - I see they switched to JRE 17 in 2.11 >> > >> > https://github.com/apache/pulsar/pull/14355 >> > >> > -Frank >> > >> > >> > On Fri, Dec 2, 2022 at 1:17 PM Dave Fisher <w...@apache.org> wrote: >> > >> > > >> > > >> > > > On Dec 2, 2022, at 8:22 AM, Frank Kelly >> <fke...@cogitocorp.com.INVALID >> > > >> > > wrote: >> > > > >> > > > Hello Pulsar Devs, >> > > > >> > > > We just hit an odd issue in the Proxy where when we set our K8S >> > > > `requests.cpu` exactly to "1" (or "1000m") the proxy thought it had >> > > access >> > > > to all 32 cores on the underlying VM and would not startup without a >> > > config >> > > > change. >> > > > >> > > > This seems to be an issue in Open JDK 11? >> > > > See >> > > > https://github.com/kubernetes/kubernetes/issues/84876 >> > > > >> > > >> > >> https://stackoverflow.com/questions/58719842/kubernetes-pods-getting-different-cpu-limits >> > > > >> > > > As you can imagine this JDK bug might cause strange behavior also >> for >> > > > brokers/bookies etc. whose thread pools are bigger than expected. So >> > this >> > > > is partly just an FYI. >> > > > >> > > > Anyway an easy work-around (we set the requests.cpu to "999m") but >> just >> > > > wondering if there are plans to upgrade the JRE to 15+ (perhaps the >> > next >> > > > LTS 17?). >> > > >> > > You could try JDK17. >> > > >> > > Best, >> > > Dave >> > > >> > > > >> > > > Thanks! >> > > > >> > > > -Frank >> > > > >> > > > -- >> > > > >> > > > Frank Kelly | Principal Engineer, Platform Team >> > > > >> > > > 100 High Street, 7th Floor, Boston, MA 02110 USA >> > > > >> > > > www.cogitocorp.com | Cogito on LinkedIn >> > > > <https://www.linkedin.com/company/cogito-corp-/> >> > > > >> > > > Confidentiality Notice : This email is the property of Cogito >> > > Corporation. >> > > > This message, including any attachments, is for the sole use of the >> > > > intended recipient(s) and may contain confidential and/or privileged >> > > > information. Any unauthorized review, use, disclosure or >> distribution >> > is >> > > > prohibited. If you are not the intended recipient, please contact >> the >> > > > sender by reply email and destroy all copies of the original >> message. >> > > >> > > >> > >> >