You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2021/05/05 10:24:47 UTC

[GitHub] [hudi] ismailsimsek commented on issue #2910: java.lang.NoSuchMethodError: 'java.lang.String org.apache.http.client.utils.URLEncodedUtils.formatSegments

ismailsimsek commented on issue #2910:
URL: https://github.com/apache/hudi/issues/2910#issuecomment-832581095


   the [project is here ](https://github.com/memiiso/debezium-server-batch)
   it uses debezium and replicates database events to Hudi table as mini batches 
   the [pull request and pipeline error is here ](https://github.com/memiiso/debezium-server-batch/pull/11)
   
   
   i believe this two dependencies are having conflict, i think hudi bundle loads the class but its bundled older version of httpclient library and missing the method
   
   ```
   # ls -l
   total 75504
   -rw-rw-rw-@ 1 myuser  staff    774384 May  5 12:17 httpclient-4.5.9.jar
   -rw-rw-rw-@ 1 myuser  staff  37820462 May  5 12:17 hudi-spark-bundle_2.12-0.8.0.jar
   
   
   # for i in *.jar; do jar -tvf "$i" | grep -Hsi URLEncodedUtils && echo "$i"; done
   (standard input): 16562 Fri Jun 07 15:24:26 CEST 2019 org/apache/http/client/utils/URLEncodedUtils.class
   httpclient-4.5.9.jar
   (standard input): 13664 Tue Apr 06 09:09:52 CEST 2021 org/apache/http/client/utils/URLEncodedUtils.class
   hudi-spark-bundle_2.12-0.8.0.jar
   ```
   


-- 
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:
users@infra.apache.org