xushiyan commented on issue #4162:
URL: https://github.com/apache/hudi/issues/4162#issuecomment-991838841


   > @xushiyan I found a cause of this problem when I'm using sbt. [The 
embedded-kafka library](https://github.com/embeddedkafka/embedded-kafka) for 
testing kafka streaming had been caused this problem. I removed this line in my 
test dependency and my test had been changed to be ok.
   > 
   > ```scala
   >   "io.github.embeddedkafka" %% "embedded-kafka" % "2.4.1" % "test",
   > ```
   > 
   > I think dependency libraries in embedded-kafka can cause this problem and 
same library may been used in spark 3.2. Can you please explain this problem 
occurs when using spark 3.2 at code level?
   > 
   > (added) After excluding avro library in embedded-kafka, my unit test had 
been ok which contains embedded-kafka library. Could a specific version of avro 
library cause this problem?
   
   @yyar actually i don't quite understand your scenario. Are you saying you 
have a sbt project with hudi dependency and there is dependency conflict? you 
can always exclude transitive dependency. you can also activate 
`spark-shade-unbundle-avro` maven profile to build a hudi jar without 
spark-avro. is this the avro library you're talking about?


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