Confirmed the issue with Java 8.
It turns out that during release, we have to use Java 8 for compilation.
Read more about the details at
https://www.morling.dev/blog/bytebuffer-and-the-dreaded-nosuchmethoderror/

Will cut a RC1.

On Sat, Mar 6, 2021 at 5:31 PM Xiang Fu <[email protected]> wrote:

> I used this binary directory: apache-pinot-incubating-0.7.0-bin
>
> My java version is:
> ```
> openjdk version "1.8.0_232"
> OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_232-b09)
> OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.232-b09, mixed mode)
> ```
>
> I also tried to build the src directory and that has no problem.
>
>
>
> On Mar 6, 2021, at 10:06 AM, Yupeng Fu <[email protected]> wrote:
>
> I didn't see such error on console out, neither on controller/server logs.
>
> Could you add more info on how to reproduce it?
>
> On Sat, Mar 6, 2021 at 2:12 AM Xiang Fu <[email protected]> wrote:
>
>> I’m seeing this issue when running bin/quick-start-batch.sh
>>
>> ```
>> Exception while executing a state transition task baseballStats_OFFLINE_0
>> java.lang.reflect.InvocationTargetException: null
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> ~[?:1.8.0_232]
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>> ~[?:1.8.0_232]
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> ~[?:1.8.0_232]
>> at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_232]
>> at
>> org.apache.helix.messaging.handling.HelixStateTransitionHandler.invoke(HelixStateTransitionHandler.java:404)
>> ~[pinot-all-0.7.0-jar-with-dependencies.jar:0.7.0-157bd569303bbab60d79dbd36ba68089d1ee651f]
>> at
>> org.apache.helix.messaging.handling.HelixStateTransitionHandler.handleMessage(HelixStateTransitionHandler.java:331)
>> [pinot-all-0.7.0-jar-with-dependencies.jar:0.7.0-157bd569303bbab60d79dbd36ba68089d1ee651f]
>> at org.apache.helix.messaging.handling.HelixTask.call(HelixTask.java:97)
>> [pinot-all-0.7.0-jar-with-dependencies.jar:0.7.0-157bd569303bbab60d79dbd36ba68089d1ee651f]
>> at org.apache.helix.messaging.handling.HelixTask.call(HelixTask.java:49)
>> [pinot-all-0.7.0-jar-with-dependencies.jar:0.7.0-157bd569303bbab60d79dbd36ba68089d1ee651f]
>> at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_232]
>> at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>> [?:1.8.0_232]
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>> [?:1.8.0_232]
>> at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232]
>> Caused by: java.lang.NoSuchMethodError:
>> java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
>> at
>> org.apache.pinot.core.segment.creator.impl.inv.BitmapInvertedIndexWriter.<init>(BitmapInvertedIndexWriter.java:60)
>> ~[pinot-all-0.7.0-jar-with-dependencies.jar:0.7.0-157bd569303bbab60d79dbd36ba68089d1ee651f]
>> at
>> org.apache.pinot.core.segment.creator.impl.inv.OffHeapBitmapInvertedIndexCreator.seal(OffHeapBitmapInvertedIndexCreator.java:181)
>> ~[pinot-all-0.7.0-jar-with-dependencies.jar:0.7.0-157bd569303bbab60d79dbd36ba68089d1ee651f]
>> at
>> org.apache.pinot.core.segment.index.loader.invertedindex.InvertedIndexHandler.createInvertedIndexForColumn(InvertedIndexHandler.java:122)
>> ~[pinot-all-0.7.0-jar-with-dependencies.jar:0.7.0-157bd569303bbab60d79dbd36ba68089d1ee651f]
>> at
>> org.apache.pinot.core.segment.index.loader.invertedindex.InvertedIndexHandler.createInvertedIndices(InvertedIndexHandler.java:70)
>> ~[pinot-all-0.7.0-jar-with-dependencies.jar:0.7.0-157bd569303bbab60d79dbd36ba68089d1ee651f]
>> at
>> org.apache.pinot.core.segment.index.loader.SegmentPreProcessor.process(SegmentPreProcessor.java:112)
>> ~[pinot-all-0.7.0-jar-with-dependencies.jar:0.7.0-157bd569303bbab60d79dbd36ba68089d1ee651f]
>> at
>> org.apache.pinot.core.indexsegment.immutable.ImmutableSegmentLoader.load(ImmutableSegmentLoader.java:99)
>> ~[pinot-all-0.7.0-jar-with-dependencies.jar:0.7.0-157bd569303bbab60d79dbd36ba68089d1ee651f]
>> at
>> org.apache.pinot.core.data.manager.offline.OfflineTableDataManager.addSegment(OfflineTableDataManager.java:52)
>> ~[pinot-all-0.7.0-jar-with-dependencies.jar:0.7.0-157bd569303bbab60d79dbd36ba68089d1ee651f]
>> at
>> org.apache.pinot.server.starter.helix.HelixInstanceDataManager.addOfflineSegment(HelixInstanceDataManager.java:121)
>> ~[pinot-all-0.7.0-jar-with-dependencies.jar:0.7.0-157bd569303bbab60d79dbd36ba68089d1ee651f]
>> at
>> org.apache.pinot.server.starter.helix.SegmentFetcherAndLoader.addOrReplaceOfflineSegment(SegmentFetcherAndLoader.java:158)
>> ~[pinot-all-0.7.0-jar-with-dependencies.jar:0.7.0-157bd569303bbab60d79dbd36ba68089d1ee651f]
>> at
>> org.apache.pinot.server.starter.helix.SegmentOnlineOfflineStateModelFactory$SegmentOnlineOfflineStateModel.onBecomeOnlineFromOffline(SegmentOnlineOfflineStateModelFactory.java:162)
>> ~[pinot-all-0.7.0-jar-with-dependencies.jar:0.7.0-157bd569303bbab60d79dbd36ba68089d1ee651f]
>> ... 12 more
>> Default rollback method invoked on error. Error Code: ERROR
>> ```
>>
>> On Mar 5, 2021, at 6:04 PM, Felix Cheung <[email protected]>
>> wrote:
>>
>> signing key should use a @apache.org address
>>
>> - incubating in name
>> - signature and hash fine
>> - DISCLAIMER is fine
>> - LICENSE is fine
>>
>> NOTICE should have year 2021?
>> Copyright 2018-2020 The Apache Software Foundation
>> https://www.apache.org/legal/src-headers.html#notice
>>
>> - No unexpected binary files (some test .gz files)
>> - All source files have ASF headers
>>
>>
>> ------------------------------
>> *From:* Yupeng Fu <[email protected]>
>> *Sent:* Friday, March 5, 2021 9:28:24 AM
>> *To:* [email protected] <[email protected]>
>> *Subject:* [VOTE] Apache Pinot (incubating) 0.7.0 RC0
>>
>> Hi Pinot Community,
>>
>> This is a call for vote to the release Apache Pinot (incubating) version
>> 0.7.0.
>>
>> The release candidate:
>>
>> https://dist.apache.org/repos/dist/dev/incubator/pinot/apache-pinot-incubating-0.7.0-rc0/
>>
>> Git tag for this release:
>> https://github.com/apache/incubator-pinot/tree/release-0.7.0-rc0
>>
>> Git hash for this release:
>> 157bd569303bbab60d79dbd36ba68089d1ee651f
>>
>> The artifacts have been signed with key: F41AB2B856C6C29D, which can be
>> found in the following KEYS file.
>> https://dist.apache.org/repos/dist/release/incubator/pinot/KEYS
>>
>> Release notes:
>> https://github.com/apache/incubator-pinot/releases/tag/release-0.7.0-rc0
>>
>> Staging repository:
>> https://repository.apache.org/content/repositories/orgapachepinot-1023
>>
>> Documentation on verifying a release candidate:
>>
>> https://cwiki.apache.org/confluence/display/PINOT/Validating+a+release+candidate
>>
>>
>> The vote will be open for at least 72 hours or until the necessary number
>> of
>> votes are reached.
>>
>> Please vote accordingly,
>>
>> [ ] +1 approve
>> [ ] +0 no opinion
>> [ ] -1 disapprove with the reason
>>
>> Thanks,
>> Apache Pinot (incubating) team
>>
>> --
>> --Yupeng
>>
>>
>>
>
> --
> --Yupeng
>
>
>

-- 
--Yupeng

Reply via email to