rahil-c opened a new pull request, #7728:
URL: https://github.com/apache/hudi/pull/7728

   ### Change Logs
   Currently there is an issue with the cli bundle starting up due to a gson 
conflict in OSS, (not present on EMR env). 
   
   ```
   Caused by: java.lang.BootstrapMethodError: java.lang.NoSuchMethodError: 
com.google.gson.GsonBuilder.setLenient()Lcom/google/gson/GsonBuilder;
        at 
org.springframework.boot.autoconfigure.gson.GsonAutoConfiguration$StandardGsonBuilderCustomizer.customize(GsonAutoConfiguration.java:90)
        at 
org.springframework.boot.autoconfigure.gson.GsonAutoConfiguration.lambda$gsonBuilder$0(GsonAutoConfiguration.java:49)
        at java.util.ArrayList.forEach(ArrayList.java:1259)
        at 
org.springframework.boot.autoconfigure.gson.GsonAutoConfiguration.gsonBuilder(GsonAutoConfiguration.java:49)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
        ... 19 more
   Caused by: java.lang.NoSuchMethodError: 
com.google.gson.GsonBuilder.setLenient()Lcom/google/gson/GsonBuilder;
        at java.lang.invoke.MethodHandleNatives.resolve(Native Method)
        at java.lang.invoke.MemberName$Factory.resolve(MemberName.java:975)
        at 
java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:1000)
        at 
java.lang.invoke.MethodHandles$Lookup.resolveOrFail(MethodHandles.java:1394)
        at 
java.lang.invoke.MethodHandles$Lookup.linkMethodHandleConstant(MethodHandles.java:1750)
        at java.lang.i
   ```
   This exception comes from the spark's gson in `/usr/local/spark/jars` for 
spark 3.3.1 which is on a lower version than what is present in EMR.
   
   
   ### Impact
   
   medium 
   
   ### Risk level (write none, low medium or high below)
   
   medium 
   
   ### Documentation Update
   
   Docs do need to be updated.
   
   ### Contributor's checklist
   
   - [ ] Read through [contributor's 
guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [ ] Change Logs and Impact were stated clearly
   - [ ] Adequate tests were added if applicable
   - [ ] CI passed
   


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