You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/11/22 07:53:11 UTC

[GitHub] [flink] liupc edited a comment on issue #10269: [FLINK-14876]Putting xercesImpl related classes into alwaysParentFirstLoaderPatterns to avoid conflicts

liupc edited a comment on issue #10269: [FLINK-14876]Putting xercesImpl related classes into alwaysParentFirstLoaderPatterns to avoid conflicts
URL: https://github.com/apache/flink/pull/10269#issuecomment-557429329
 
 
   hi @aljoscha ,
   The hadoop version of our cluster is 2.6, so I changed the `hadoop.version` in the `flink-shaded-hadoop-2` project, and compiled it and then use some classes of it in my app. Because the `xerces` package was introduced into hadoop since 2.6.0(https://issues.apache.org/jira/browse/HDFS-4629), the classes of it was also packaged into my app jar, thus causing the failure. 
   I think if I don't depends on `flink-shaded-hadoop-2` but use hadoop deps directly there are risks that this `xercesImpl` would be introduced.
   

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


With regards,
Apache Git Services