gortiz opened a new pull request, #13639:
URL: https://github.com/apache/pinot/pull/13639

   We have been using UnsafePinotBufferFactory for a while with no regression 
detected. I think it is a good time to start working on the plan to remove 
LArray dependency (see #12810) 
   
   This PR changes the default PinotBufferFactory used in Pinot. Before we were 
using LArrayPinotBufferFactory on Java < 16 but give LArray doesn't work in 
Java >= 16, we used UnsafePinotBufferFactory in newer JVMs. With this PR, we 
always use UnsafePinotBufferFactory.
   
   Users that want to still use LArrayPinotBufferFactory can do that by 
providing the following config to Pinot:
   ```
   
pinot.offheap.buffer.factory=org.apache.pinot.segment.spi.memory.LArrayPinotBufferFactory
   ```
   
   Remember that this is *not* recommended given LArray implementation has been 
proved to be incorrect several times (see for example 
https://github.com/apache/pinot/pull/10774).\
   
   A side effect of this PR is that Pinot should be able to be executed (and 
probably compiled) in Mac computers using aarch64 (like M1, M2, etc) without 
having to enable Rosetta. We need to open a parallel PR to change [this doc 
page](https://github.com/apache/pinot/pull/10774)  and probably [this 
one](https://github.com/apache/pinot/pull/10774). There are still some issues 
in ARMs (AFAIR CLP lib does not include a binary for Mac + arm64, @suddendust 
may know more about that) and maybe other build pages that may not be updated.


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to