dongjoon-hyun opened a new pull request #802:
URL: https://github.com/apache/orc/pull/802


   ### What changes were proposed in this pull request?
   
   This PR aims to use `snappy-java` 1.1.8.4 instead of the one (1.1.8) of 
`parquet-hadoop` dependency.
   
   ### Why are the changes needed?
   
   To support benchmark in Apple Silicon, we need to use 1.1.8.2+.
   
   - https://github.com/xerial/snappy-java/releases/tag/1.1.8.2
      Support Apple Silicon (M1, Mac-aarch64)
   
   Otherwise, we hit the following error.
   ```
   $ java -jar core/target/orc-benchmarks-core-*-uber.jar generate data -d 
sales -f parquet
   Processing sales [parquet]
   [WARN ] Unable to load native-hadoop library for your platform... using 
builtin-java classes where applicable
   Exception in thread "main" org.xerial.snappy.SnappyError: 
[FAILED_TO_LOAD_NATIVE_LIBRARY] no native library is found for os.name=Mac and 
os.arch=aarch64
   ```
   
   ### How was this patch tested?
   
   Manually.
   ```
   $ cd java
   $ ./mvnw clean package -DskipTests -Pbenchmark
   $ cd bench
   $ java -jar core/target/orc-benchmarks-core-*-uber.jar generate data -d 
sales -f parquet
   ```
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to