BenjMaq commented on pull request #3391:
URL: https://github.com/apache/hudi/pull/3391#issuecomment-911398632


   Hey,
   Not sure if I'm "allowed" to chime in here, but I don't know where else to 
post this?
   
   I was trying to build this locally and it compiled fine. 
   
   However, when using it on my Spark `2.4.4` environment, I started hitting 
`NoSuchMethodError` for `getUseVectorizedInputFileFormat()`. After 
investigation, this is because Spark `2.4.4` is built with 
[`hive-exec:1.2.1.spark2`](https://mvnrepository.com/artifact/org.apache.spark/spark-core_2.11/2.4.4),
 and the method `getUseVectorizedInputFileFormat()` does not exist within 
`Utilities` in `hive-exec:1.2.1.spark2`. 
   I fixed this issue by manually implementing this method within 
`HoodieParquetInputFormat.java` and I was finally able to test this out in a 
proper spark `2.4.4` environment.
   
   I'm not sure if manually implementing this method is the right way to go or 
not, but I thought I'd share my thoughts here hoping that it would help you...?
   
   Let me know!


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