Checked: - Build from the src - Check signatures - Follow the validation process
But when I try to verify PulsarSQL, got following exceptions: ``` 2021-12-17T14:58:18.958+0800 ERROR remote-task-callback-3 io.prestosql.execution.StageStateMachine Stage 20211217_065818_00001_cahiv.1 failed com.google.common.util.concurrent.UncheckedExecutionException: java.nio.BufferUnderflowException at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2051) at com.google.common.cache.LocalCache.get(LocalCache.java:3951) at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3974) at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4935) at org.apache.pulsar.sql.presto.PulsarSqlSchemaInfoProvider.getSchemaByVersion(PulsarSqlSchemaInfoProvider.java:76) at org.apache.pulsar.sql.presto.PulsarRecordCursor.advanceNextPosition(PulsarRecordCursor.java:485) at io.prestosql.spi.connector.RecordPageSource.getNextPage(RecordPageSource.java:90) at io.prestosql.operator.TableScanOperator.getOutput(TableScanOperator.java:302) at io.prestosql.operator.Driver.processInternal(Driver.java:379) at io.prestosql.operator.Driver.lambda$processFor$8(Driver.java:283) at io.prestosql.operator.Driver.tryWithLock(Driver.java:675) at io.prestosql.operator.Driver.processFor(Driver.java:276) at io.prestosql.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:1075) at io.prestosql.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:163) at io.prestosql.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:484) at io.prestosql.$gen.Presto_332__testversion____20211217_065757_2.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: java.nio.BufferUnderflowException at java.nio.Buffer.nextGetIndex(Buffer.java:532) at java.nio.HeapByteBuffer.getLong(HeapByteBuffer.java:417) at org.apache.pulsar.sql.presto.PulsarSqlSchemaInfoProvider.loadSchema(PulsarSqlSchemaInfoProvider.java:106) at org.apache.pulsar.sql.presto.PulsarSqlSchemaInfoProvider.access$000(PulsarSqlSchemaInfoProvider.java:49) at org.apache.pulsar.sql.presto.PulsarSqlSchemaInfoProvider$1.load(PulsarSqlSchemaInfoProvider.java:61) at org.apache.pulsar.sql.presto.PulsarSqlSchemaInfoProvider$1.load(PulsarSqlSchemaInfoProvider.java:58) at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3529) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2278) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2155) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2045) ... 18 more ``` An issue can be found here https://github.com/apache/pulsar/issues/12284, my test steps are very simple: 1. Start presto worker, `bin/pulsar sql-worker run` 2. Produce some messages, `bin/pulsar-client produce -m "hello" -n 10 test_wordcount_src` 3. Query the data from the topic, `select * from pulsar."public/default"."test_wordcount_src";` Not able to query the produced data and get errors in the Pulsar SQL worker. Penghui On Fri, Dec 17, 2021 at 5:33 AM Matteo Merli <mme...@apache.org> wrote: > +1 > > Checked: > * Signatures > * Bin distribution: > - NOTICE, README, LICENSE > - Start standalone service and producer/consumer test > * Src distribution: > - NOTICE, README, LICENSE > - Compile and unit tests > - Start standalone service > * Checked staging maven repository artifacts > * Checked docker images > > > Matteo > > -- > Matteo Merli > <mme...@apache.org> > > > > On Thu, Dec 16, 2021 at 12:53 PM Enrico Olivelli <eolive...@gmail.com> > wrote: > > > > I have pushed the docker images to my personal dockehub account > > > > eolivelli/pulsar:2.9.1rc2 > > eolivelli/pulsar-all:2.9.1rc2 > > > > Enrico > > > > Il Gio 16 Dic 2021, 15:57 Nicolò Boschi <boschi1...@gmail.com> ha > scritto: > > > > > +1 (non binding) > > > > > > Checks: > > > - Checksum and signatures > > > - Apache Rat check passes > > > - OWASP check passes (I created this PR for fix a false positive > > > https://github.com/apache/pulsar/pull/13364) > > > - Compile from source w JDK11 > > > - Build docker image from source > > > - Run Pulsar standalone and produce-consume from CLI > > > - verified the presence of Log4j 2.16.0 jar in docker and tarball > > > > > > Il giorno gio 16 dic 2021 alle ore 14:25 Enrico Olivelli < > > > eolive...@gmail.com> ha scritto: > > > > > > > This is the second release candidate for Apache Pulsar, version > 2.9.1. > > > > > > > > The first release candidate was aborted without starting a VOTE > because > > > we > > > > had to pick up high priority dependency upgrades. > > > > > > > > It fixes the following issues: > > > > > > > > https://github.com/apache/pulsar/pulls?q=is%3Apr++label%3Arelease%2F2.9.1+ > > > > > > > > *** 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.9.1-candidate-2/ > > > > > > > > SHA-512 checksums: > > > > > > > > > > > > > > > > 5ca7d2c6a8ac51413214796481095bbde50b5bda95d8b8f2467989931b29c75e679aabcfebd82e9e3e90dd1644c580214e0a05eca8652a500f042c84cb21becd > > > > apache-pulsar-2.9.1-bin.tar.gz > > > > > > > > > > > > 34a1e22fb0ff2e69e7e880a9432526990610113cf89d93c953dff82cc443510dcf724eaa0e1fade82464f9bf5443655bd23bcf2064e312c4a9da70bb4c9937ba > > > > apache-pulsar-2.9.1-src.tar.gz > > > > > > > > Maven staging repo: > > > > > https://repository.apache.org/content/repositories/orgapachepulsar-1110 > > > > > > > > The tag to be voted upon: > > > > v2.9.1-candidate-2 (f52ac045f41acbb6c31da21a3463df3cfbe8f1b4) > > > > https://github.com/apache/pulsar/releases/tag/v2.9.1-candidate-2 > > > > > > > > Link to the release notes: > > > > https://github.com/apache/pulsar/pull/13357 > > > > > > > > Pulsar's KEYS file containing PGP keys we use to sign the release: > > > > https://dist.apache.org/repos/dist/dev/pulsar/KEYS > > > > > > > > Please download the source package, and follow the README to build > > > > and run the Pulsar standalone service. > > > > > > > > > > > > Enrico Olivelli > > > > > > > > > > > > > -- > > > Nicolò Boschi > > > >