I don't think https://github.com/apache/pulsar/pull/18755 brings the breaking change. When you enable the authentication/authorization, you must configure the brokerClientAuthenticationPlugin and brokerClientAuthenticationParameters in the broker config file.
Thanks, Zixuan Yunze Xu <y...@streamnative.io.invalid> 于2022年12月9日周五 16:18写道: > The breaking change is introduced by > https://github.com/apache/pulsar/pull/18755. It can be reproduced by > the pulsar-client-cpp/pulsar-test-service-start.sh in branch-2.11 and > here is the provement [1]. It seems to be a bug related to the > anonymous user role config. When the built-in `PulsarAdmin` tried to > create the "public/default" namespace, it failed because of the > authentication error. > > I reverted this PR in branch-2.11 first. In addition, the original PR > [2] doesn't explain which policies > > [1] > https://github.com/BewareMyPower/pulsar/actions/runs/3655523274/jobs/6176941999 > [2] https://github.com/apache/pulsar/pull/17864 > > Thanks, > Yunze > > > On Fri, Dec 9, 2022 at 3:08 PM Yunze Xu <y...@streamnative.io> wrote: > > > > FYI, the latest branch-2.11 is broken for cpp tests [1]. But the root > > cause is the Pulsar standalone could no longer start > > > > ``` > > > org.apache.pulsar.client.admin.PulsarAdminException$NotAuthorizedException: > > Unauthorized to validateTenantOperation for originalPrincipal [null] > > and clientAppId [anonymous] about operation [CREATE_NAMESPACE] on > > tenant [public] > > at > org.apache.pulsar.client.admin.PulsarAdminException.wrap(PulsarAdminException.java:252) > > ~[org.apache.pulsar-pulsar-client-admin-api-2.11.0.jar:2.11.0] > > at > org.apache.pulsar.client.admin.internal.BaseResource.sync(BaseResource.java:316) > > ~[org.apache.pulsar-pulsar-client-admin-original-2.11.0.jar:2.11.0] > > at > org.apache.pulsar.client.admin.internal.NamespacesImpl.createNamespace(NamespacesImpl.java:213) > > ~[org.apache.pulsar-pulsar-client-admin-original-2.11.0.jar:2.11.0] > > at > org.apache.pulsar.PulsarStandalone.createNameSpace(PulsarStandalone.java:395) > > ~[org.apache.pulsar-pulsar-broker-2.11.0.jar:2.11.0] > > ``` > > > > I see https://github.com/apache/pulsar/pull/18755 is already included > > in the branch-2.11. So it seems to be a breaking change introduced > > recently. > > > > [1] > https://github.com/BewareMyPower/pulsar/actions/runs/3654914743/jobs/6175745050 > > > > On Thu, Dec 8, 2022 at 4:36 PM guo jiwei <techno...@apache.org> wrote: > > > > > > So, close this vote and wait for these patches to be merged, and then > start > > > the new release. > > > > > > > > > Regards > > > Jiwei Guo (Tboy) > > > > > > > > > On Thu, Dec 8, 2022 at 2:35 PM PengHui Li <peng...@apache.org> wrote: > > > > > > > Thanks, Mattison > > > > > > > > It's better also to have https://github.com/apache/pulsar/pull/18755 > for > > > > the next RC > > > > I have merged the PR. > > > > > > > > Penghui > > > > > > > > On Thu, Dec 8, 2022 at 1:53 PM <mattisonc...@gmail.com> wrote: > > > > > > > > > Hi, All > > > > > > > > > > I found two regressions that need to block this release. > > > > > > > > > > https://github.com/apache/pulsar/pull/18816 > > > > > https://github.com/apache/pulsar/pull/18812 > > > > > > > > > > > > > > > Best, > > > > > Mattison > > > > > On Dec 8, 2022, 07:15 +0800, Massimiliano Mirelli < > > > > > massimilianomirelli...@gmail.com>, wrote: > > > > > > Hi, > > > > > > I am running some long-lasting tests on this rc at the moment. > Would it > > > > > be > > > > > > OK to close the vote EOW or could you give me another 20h? > > > > > > Thank you, > > > > > > Max > > > > > > > > > > > > On Wed, 7 Dec 2022, 18:47 Nicolò Boschi, <boschi1...@gmail.com> > wrote: > > > > > > > > > > > > > Just realized that the error doesn't block the producer but > it's only > > > > > > > related to some DNS caching optimizations. > > > > > > > I believe we can proceed with the current rc > > > > > > > > > > > > > > Nicolò Boschi > > > > > > > > > > > > > > > > > > > > > Il giorno mer 7 dic 2022 alle ore 17:40 Nicolò Boschi < > > > > > > > boschi1...@gmail.com> > > > > > > > ha scritto: > > > > > > > > > > > > > > > > I'm sorry but I think I've found a blocker issue. > > > > > > > > > > > > > > > > > > pulsar-perf doesn't support jdk17. > > > > > > > > > I know client compatibility targets jdk8 but the image > uses jdk17 > > > > > and > > > > > > > this > > > > > > > > > may be very annoying if pulsar-perf is not usable within > the > > > > > official > > > > > > > > > docker image. > > > > > > > > > > > > > > > > > > btw I've send out the fix: > > > > > https://github.com/apache/pulsar/pull/18806 > > > > > > > > > > > > > > > > > > > > > > > > > > > Nicolò Boschi > > > > > > > > > > > > > > > > > > > > > > > > > > > Il giorno mer 7 dic 2022 alle ore 16:53 Zixuan Liu < > > > > > node...@gmail.com> > > > > > > > ha > > > > > > > > > scritto: > > > > > > > > > > > > > > > > > > >> Ok, sounds good. > > > > > > > > > >> > > > > > > > > > >> Thanks, > > > > > > > > > >> Zixuan > > > > > > > > > >> > > > > > > > > > >> PengHui Li <peng...@apache.org> 于2022年12月7日周三 16:10写道: > > > > > > > > > >> > > > > > > > > > > > >> > > I'm wondering whether affecting the resource > quota. > > > > > Could you > > > > > > > confirm > > > > > > > > > > >> > that? > > > > > > > > > > >> > > > > > > > > > > > >> > Hmmm, I haven't heard of anyone using this feature. > > > > > > > > > > >> > I think it should be ok for a standalone. > > > > > > > > > > >> > > > > > > > > > > > >> > Penghui > > > > > > > > > > >> > > > > > > > > > > > >> > On Wed, Dec 7, 2022 at 1:33 PM Zixuan Liu < > > > > > node...@gmail.com> wrote: > > > > > > > > > > >> > > > > > > > > > > > > > >> > > > If it only affects standalone. I think it’s > ok. > > > > > > > > > > > >> > > > > > > > > > > > > > >> > > Right. > > > > > > > > > > > >> > > > > > > > > > > > > > > >> > > > For standalone, multiple bundles help > nothing, > > > > > right? > > > > > > > > > > > >> > > > > > > > > > > > > > >> > > I'm wondering whether affecting the resource > quota. > > > > > Could you > > > > > > > confirm > > > > > > > > > > >> > that? > > > > > > > > > > > >> > > > > > > > > > > > > > >> > > Thanks, > > > > > > > > > > > >> > > Zixuan > > > > > > > > > > > >> > > > > > > > > > > > > > >> > > PengHui Li <codelipeng...@gmail.com> > 于2022年12月7日周三 > > > > > 12:53写道: > > > > > > > > > > > >> > > > > > > > > > > > > > > >> > > > Hi Zixuan, > > > > > > > > > > > > >> > > > > > > > > > > > > > > > >> > > > If it only affects standalone. I think it’s > ok. > > > > > > > > > > > > >> > > > For standalone, multiple bundles help > nothing, > > > > > right? > > > > > > > > > > > > >> > > > No rebalance will happen for a standalone. > > > > > > > > > > > > >> > > > > > > > > > > > > > > > >> > > > Thanks, > > > > > > > > > > > > >> > > > Penghui > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > >> > > > > On Dec 7, 2022, at 11:23, Yunze Xu > > > > > <y...@streamnative.io.INVALID > > > > > > > > > > > > > > > > > > > > >> > > wrote: > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > >> > > > > The change of a default value is > acceptable in > > > > > a major release. > > > > > > > > > >> But > > > > > > > > > > > > > >> > > > > since it's changed back in the next 2.12 > > > > > release, it could be a > > > > > > > > > > >> > little > > > > > > > > > > > > > >> > > > > confusing. My perspective is to include > this > > > > PR > > > > > in the 2.11.0 > > > > > > > > > > >> > release. > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > >> > > > > Thanks, > > > > > > > > > > > > > >> > > > > Yunze > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > >> > > > > On Wed, Dec 7, 2022 at 11:00 AM Zixuan > Liu < > > > > > node...@gmail.com> > > > > > > > > > > >> > wrote: > > > > > > > > > > > > > > >> > > > >> > > > > > > > > > > > > > > >> > > > >> Pulsar 2.11 standalone breaks the > bundle of > > > > > namespace policy. > > > > > > > I'm > > > > > > > > > > > > >> > > > wondering > > > > > > > > > > > > > > >> > > > >> whether blocking the Pulsar 2.11 > release. > > > > > > > > > > > > > > >> > > > >> > > > > > > > > > > > > > > >> > > > >> See > > > > > https://github.com/apache/pulsar/pull/18755 > > > > > > > > > > > > > > >> > > > >> > > > > > > > > > > > > > > >> > > > >> Thanks, > > > > > > > > > > > > > > >> > > > >> Zixuan > > > > > > > > > > > > > > >> > > > >> > > > > > > > > > > > > > > >> > > > >> Enrico Olivelli <eolive...@gmail.com > > > > > > > 于2022年12月6日周二 21:26写道: > > > > > > > > > > > > > > >> > > > >> > > > > > > > > > > > > > > > >> > > > >>> +1 (binding) > > > > > > > > > > > > > > > >> > > > >>> - verified checksums, digests > > > > > > > > > > > > > > > >> > > > >>> - built from sources > > > > > > > > > > > > > > > >> > > > >>> - tested the docker image built > from > > > > > sources and the docker > > > > > > > > > >> image > > > > > > > > > > > > > > > >> > > > >>> provided as convenience with the > VOTE > > > > > > > > > > > > > > > >> > > > >>> - run successfully the Jakarta > JMS 2.0 > > > > > TCK against those two > > > > > > > > > >> docker > > > > > > > > > > > > >> > > > images > > > > > > > > > > > > > > > >> > > > >>> > > > > > > > > > > > > > > > >> > > > >>> My problem with the JMS TCK is > that the > > > > > behaviour of "delete > > > > > > > > > >> topic" > > > > > > > > > > > > > > > >> > > > >>> with "force=true" changed, and > now if > > > > the > > > > > topic does not exist > > > > > > > > > >> we > > > > > > > > > > >> > get > > > > > > > > > > > > > > > >> > > > >>> a 404 error, in Pulsar 2.10.x the > > > > > response code was 200 > > > > > > > > > > > > > > > >> > > > >>> I think that this behaviour > change is > > > > > acceptable in a major > > > > > > > > > > >> > release, > > > > > > > > > > > > > > > >> > > > >>> and that actually the new > behaviour is > > > > > more consistent. > > > > > > > > > > > > > > > >> > > > >>> > > > > > > > > > > > > > > > >> > > > >>> More details here: > > > > > > > > > > > > > > > >> > > > >>> > > > > > https://github.com/datastax/pulsar-jms/pull/101 > > > > > > > > > > > > > > > >> > > > >>> > > > > > > > > > > > > > > > >> > > > >>> Thank you for driving the release > > > > > > > > > > > > > > > >> > > > >>> > > > > > > > > > > > > > > > >> > > > >>> Enrico > > > > > > > > > > > > > > > >> > > > >>> > > > > > > > > > > > > > > > >> > > > >>> Il giorno lun 5 dic 2022 alle ore > 16:21 > > > > > Enrico Olivelli > > > > > > > > > > > > > > > >> > > > >>> <eolive...@gmail.com> ha scritto: > > > > > > > > > > > > > > > > >> > > > >>>> > > > > > > > > > > > > > > > > >> > > > >>>> FYI I am investigating some > errors I > > > > > see while running the > > > > > > > > > >> Jakarta > > > > > > > > > > > >> > > JMS > > > > > > > > > > > > > > > > >> > > > >>>> TCK against a Pulsar 2.11.0rc2 > server > > > > > with the provided > > > > > > > docker > > > > > > > > > > > >> > > images. > > > > > > > > > > > > > > > > >> > > > >>>> > > > > > > > > > > > > > > > > >> > > > >>>> I still can't understand the > problem, > > > > > so I will keep you > > > > > > > > > >> posted. > > > > > > > > > > > > > > > > >> > > > >>>> > > > > > > > > > > > > > > > > >> > > > >>>> Please hold on > > > > > > > > > > > > > > > > >> > > > >>>> > > > > > > > > > > > > > > > > >> > > > >>>> Enrico > > > > > > > > > > > > > > > > >> > > > >>>> > > > > > > > > > > > > > > > > >> > > > >>>> Il giorno dom 4 dic 2022 alle > ore > > > > > 19:13 Christophe Bornet > > > > > > > > > > > > > > > > >> > > > >>>> <bornet.ch...@gmail.com> ha > scritto: > > > > > > > > > > > > > > > > > >> > > > >>>>> > > > > > > > > > > > > > > > > > >> > > > >>>>> +1 (non-binding) > > > > > > > > > > > > > > > > > >> > > > >>>>> > > > > > > > > > > > > > > > > > >> > > > >>>>> - Start docker image > standalone > > > > > > > > > > > > > > > > > >> > > > >>>>> - Test HTTP Sink > > > > > > > > > > > > > > > > > >> > > > >>>>> - Test Transformation > Function > > > > > > > > > > > > > > > > > >> > > > >>>>> > > > > > > > > > > > > > > > > > >> > > > >>>>> Best regards > > > > > > > > > > > > > > > > > >> > > > >>>>> > > > > > > > > > > > > > > > > > >> > > > >>>>> Christophe > > > > > > > > > > > > > > > > > >> > > > >>>>> > > > > > > > > > > > > > > > > > >> > > > >>>>> Le lun. 28 nov. 2022 à > 13:57, guo > > > > > jiwei < > > > > > > > techno...@apache.org> > > > > > > > > > >> a > > > > > > > > > > > > > > > >> > > > >>> écrit : > > > > > > > > > > > > > > > > > >> > > > >>>>> > > > > > > > > > > > > > > > > > > >> > > > >>>>>> This is the second > release > > > > > candidate for Apache Pulsar, > > > > > > > > > >> version > > > > > > > > > > > > > > > >> > > > >>> 2.11.0. > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > > > > > > > > > > > > > > >> > > > >>>>>> This release contains > 1574 > > > > > commits by 64 contributors. > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > > > > > > > > > > > >> > > > >>> > > > > > > > > > > > >> > > > > > > > > > > > >> > > > > > > https://github.com/apache/pulsar/compare/v2.10.2...v2.11.0-candidate-2 > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > > > > > > > > > > > > > > >> > > > >>>>>> CI for this release > candidate > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > https://github.com/Technoboy-/pulsar/pull/14 > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > > > > > > > > > > > > > > >> > > > >>>>>> *** Please download, > test and > > > > > vote on this release. This > > > > > > > vote > > > > > > > > > > >> > will > > > > > > > > > > > > > > > >> > > > >>> stay > > > > > > > > > > > > > > > > > > >> > > > >>>>>> open > > > > > > > > > > > > > > > > > > >> > > > >>>>>> for at least 72 hours *** > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > > > > > > > > > > > > > > >> > > > >>>>>> Note that we are voting > upon > > > > the > > > > > source (tag), binaries are > > > > > > > > > > > >> > > provided > > > > > > > > > > > > > > > >> > > > >>> for > > > > > > > > > > > > > > > > > > >> > > > >>>>>> convenience. > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > > > > > > > > > > > > > > >> > > > >>>>>> Source and binary files: > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > > > > > > > > > > > >> > > > >>> > > > > > > > > > > > > >> > > > > > > > > > > > > > >> > > > > > > > > > > > > > > https://dist.apache.org/repos/dist/dev/pulsar/pulsar-2.11.0-candidate-2 > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > > > > > > > > > > > > > > >> > > > >>>>>> SHA-512 checksums: > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > > > > > > > > > > > >> > > > >>> > > > > > > > > > > > > >> > > > > > > > > > > > > > > >> > > > > > > > > > > > > >> > > > > > > > > > > >> > > > > > > > > > > > > > > > > > 199eb731bad0635fbc0388adf090e8c60ce189634e6b1692a12cfdf43f15347371d79c42d040b91dd7b2d0302061ad48bff850638e3bb48540ab24908792dd5e > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > ./apache-pulsar-2.11.0-bin.tar.gz > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > > > > > > > > > > > >> > > > >>> > > > > > > > > > > > > >> > > > > > > > > > > > > > > >> > > > > > > > > > > > > >> > > > > > > > > > > >> > > > > > > > > > > > > > > > > > 035d5a656cdd4c2430ae4f7c4fef952ad05e432219a64474fcfaa097fcc7ad6cd76fd82b77e91d667e0ec8495c35fc08a5bb25a54058ccdfaf4072a22b94f6d7 > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > ./apache-pulsar-2.11.0-src.tar.gz > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > > > > > > > > > > > > > > >> > > > >>>>>> Maven staging repo: > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > > > > > > > > > > > >> > > > >>> > > > > > > > > > > > > >> > > > > > > > > > > > > > >> > > > > > > > > > > >> > > > > > > > > > > > > > https://repository.apache.org/content/repositories/orgapachepulsar-1192/ > > > > > > > > > > > > > > > > > > >> > > > >>>>>> < > > > > > > > > > > > > > > > >> > > > >>> > > > > > > > > > > > > >> > > > > > > > > > > > > > >> > > > > > > > > > > >> > > > > > > > > > > > > > https://repository.apache.org/content/repositories/orgapachepulsar-1190/ > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > > > > > > > > > > > > > > >> > > > >>>>>> The tag to be voted upon: > > > > > > > > > > > > > > > > > > >> > > > >>>>>> v2.11.0-candidate-2 > > > > > > > > > >> (c0a823a242a834dac35b9a6fcd6a2064a0e4bfb5) > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > > > > > > >> > > > > > > https://github.com/apache/pulsar/releases/tag/v2.11.0-candidate-2 > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > > > > > > > > > > > > > > >> > > > >>>>>> Pulsar's KEYS file > containing > > > > > PGP keys we use to sign the > > > > > > > > > > >> > release: > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > https://dist.apache.org/repos/dist/dev/pulsar/KEYS > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > > > > > > > > > > > > > > >> > > > >>>>>> Docker images: > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > > > > > > > > > > > >> > > > >>> > > > > > > > > > > > > >> > > > > > > > > > > > > > > >> > > > > > > > > > > > > >> > > > > > > > > > > >> > > > > > > > > > > > > > > > > > https://hub.docker.com/layers/mattison/pulsar-all/2.11.0-rc2/images/sha256-1b6b04673d62ccefe6fd6eed27a001ef8a9607668fcc5fb79459fed73f07e9e4 > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > > > > > > > > > > > >> > > > >>> > > > > > > > > > > > > >> > > > > > > > > > > > > > > >> > > > > > > > > > > > > >> > > > > > > > > > > >> > > > > > > > > > > > > > > > > > https://hub.docker.com/layers/mattison/pulsar/2.11.0-rc2/images/sha256-21a4afa5a83ed5780c2d4986a3e13bc9d43142614f610434d5d304c1d61a65eb > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > > > > > > > > > > > > > > >> > > > >>>>>> Please download the > source > > > > > package, and follow the > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > release-candidate-validation > > > > doc > > > > > to build > > > > > > > > > > > > > > > > > > >> > > > >>>>>> and run the Pulsar > standalone > > > > > service. > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > > > > > >> > > > > https://pulsar.apache.org/contribute/validate-release-candidate > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > > > > > > > > > > > > > > >> > > > >>>>>> Since the metadata store > is > > > > > changed from ZK to RocksDB, the > > > > > > > > > > > > > > > >> > > > >>> verification of > > > > > > > > > > > > > > > > > > >> > > > >>>>>> the `stateful functions` > needs > > > > > to set the parameter "export > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > PULSAR_STANDALONE_USE_ZOOKEEPER=1" > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > > > > > > > > > > > > > > >> > > > >>>>>> Regards > > > > > > > > > > > > > > > > > > >> > > > >>>>>> Jiwei Guo (Tboy) > > > > > > > > > > > > > > > > > > >> > > > >>>>>> > > > > > > > > > > > > > > > >> > > > >>> > > > > > > > > > > > > >> > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > >> > > > > > > > > > > > > >> > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > >