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


   ### What changes were proposed in this pull request?
   
   This PR aims to add `hadoop-hdfs` dependency to `bench/core` module.
   
   ### Why are the changes needed?
   
   This will fix `NoClassDefFoundError` error.
   ```
   $ java -jar core/target/orc-benchmarks-core-*-uber.jar generate data
   [WARN ] Unable to load native-hadoop library for your platform... using 
builtin-java classes where applicable
   Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/hadoop/hdfs/client/HdfsDataOutputStream$SyncFlag
   ```
   
   ### How was this patch tested?
   
   ```
   cd java/bench
   ...
   java -jar core/target/orc-benchmarks-core-*-uber.jar generate data
   ```


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

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


Reply via email to