liupc commented 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:
[email protected]


With regards,
Apache Git Services

Reply via email to