Tyler-Rendina commented on issue #10590:
URL: https://github.com/apache/hudi/issues/10590#issuecomment-1989244335

   > I also encountered the same problem. Under the error log information and 
the suggestion of that friend, I saw that the problem seemed to be that there 
was a configuration missing in pom.xml when packaging and compiling. I added 
the following line in the pom.xml file, and no problem occurred after testing. 
![image](https://private-user-images.githubusercontent.com/88579280/311144919-60c80c82-0f14-4e24-9026-8bfcb9684b74.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTAxODI3NjQsIm5iZiI6MTcxMDE4MjQ2NCwicGF0aCI6Ii84ODU3OTI4MC8zMTExNDQ5MTktNjBjODBjODItMGYxNC00ZTI0LTkwMjYtOGJmY2I5Njg0Yjc0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAzMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMzExVDE4NDEwNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU2MTRmZmNkNmRjNzVkMjE0ZDgxNjdmYWNlOGY3ZDFkZjliN2M3OTQ3ZTc3YzdkNj
 
g4ODk1ZWZjMDI2MTk2YWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.JRx5YetEal_b7lWcE5lkXhsB_H1pPeo9fevNjEmryR4)
 
![image](https://private-user-images.githubusercontent.com/88579280/311154473-8b3d8d66-d269-4971-954b-acee7ed9cbe8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTAxODI3NjQsIm5iZiI6MTcxMDE4MjQ2NCwicGF0aCI6Ii84ODU3OTI4MC8zMTExNTQ0NzMtOGIzZDhkNjYtZDI2OS00OTcxLTk1NGItYWNlZTdlZDljYmU4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAzMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMzExVDE4NDEwNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJkZGFhN2RmOGMxNDhhM2ZjNjhkMTczOTA3ZWIxOGNlY2Y3YjliZTBlZDA2MGRjYmMxYmE1ZTAzMmQwNjIzYWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.sF_u0MR2FQ6tshRosYyeoLI4JS5bLQXP6nSi8EK6p_Y)
   
   After building from 0.14.1 source with this line changed, I receive a scala 
version error
   ```
   py4j.protocol.Py4JJavaError: An error occurred while calling 
None.org.apache.spark.api.java.JavaSparkContext.
   : java.lang.ExceptionInInitializerError
        at 
org.apache.spark.scheduler.EventLoggingListener.initEventLog(EventLoggingListener.scala:89)
        at 
org.apache.spark.scheduler.EventLoggingListener.start(EventLoggingListener.scala:84)
        at org.apache.spark.SparkContext.<init>(SparkContext.scala:613)
        at 
org.apache.spark.api.java.JavaSparkContext.<init>(JavaSparkContext.scala:58)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:247)
        at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357)
        at py4j.Gateway.invoke(Gateway.java:238)
        at 
py4j.commands.ConstructorCommand.invokeConstructor(ConstructorCommand.java:80)
        at py4j.commands.ConstructorCommand.execute(ConstructorCommand.java:69)
        at 
py4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)
        at py4j.ClientServerConnection.run(ClientServerConnection.java:106)
        at java.lang.Thread.run(Thread.java:750)
   Caused by: com.fasterxml.jackson.databind.JsonMappingException: Scala module 
2.13.4 requires Jackson Databind version >= 2.13.0 and < 2.14.0 - Found 
jackson-databind version 2.12.3
        at 
com.fasterxml.jackson.module.scala.JacksonModule.setupModule(JacksonModule.scala:61)
        at 
com.fasterxml.jackson.module.scala.JacksonModule.setupModule$(JacksonModule.scala:46)
        at 
com.fasterxml.jackson.module.scala.DefaultScalaModule.setupModule(DefaultScalaModule.scala:17)
        at 
com.fasterxml.jackson.databind.ObjectMapper.registerModule(ObjectMapper.java:835)
        at org.apache.spark.util.JsonProtocol$.<init>(JsonProtocol.scala:62)
        at org.apache.spark.util.JsonProtocol$.<clinit>(JsonProtocol.scala)
        ... 16 more
   
   ```
   
   Should I hard code the scala.binary.varsion as 2.12?


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