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 2018/12/07 16:37:56 UTC

[GitHub] tillrohrmann commented on issue #7148: [FLINK-10943][tests] Fix test failures in flink runtime caused by curator dependency conflicts

tillrohrmann commented on issue #7148: [FLINK-10943][tests] Fix test failures in flink runtime caused by curator dependency conflicts
URL: https://github.com/apache/flink/pull/7148#issuecomment-445289736
 
 
   Thanks for opening this PR @link3280. I'm wondering what the exact problem is which we are facing here. To me it looks as if the `flink-shaded-hadoop2` and `flink-shaded-curator` module correctly relocate the curator dependency. Therefore, there should be no problem with differing Curator versions.
   
   I would suspect that this problem arises if you run the test out of IntelliJ because it does not correctly respect relocated resources: https://youtrack.jetbrains.com/issue/IDEA-93855. Moreover, if you use a Maven version higher than `3.2.5`, then you need to run your build twice in order to generate the relocated artifacts.
   
   I was able to run `ZooKeeperStateHandleStoreTest` with Hadoop version 2.6.5 and Maven version 3.2.5 by calling `mvn verify -pl flink-runtime`. Could you check whether this works for you as well?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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