GitHub user tillrohrmann opened a pull request: https://github.com/apache/flink/pull/4120
[FLINK-6836] [tests] Fix YARNSessionCapacitySchedulerITCase to work with Hadoop 2.6.5, 2.7.3 and 2.8.0 Due to MNG-5899, maven cannot resolve dependency reduced poms in a multi project build. Therefore, flink-yarn-tests pulls in a wrong version of org.apache.httpcomponents.httpclient which does not work with Hadoop's ServletUtils together. As a solution we have to move the dependency management for the httpclient and httpcore version into the parent pom.xml. Another problem is the version of these libraries which has been recently bumped. In 4.4, httpclient changed its behaviour such that URLEncodedUtils#parse(String, Charset) now throws a NPE if the first parameter is null. In 4.2.6, an empty list was returned instead. Due to this incompatibility, we reverted the change and set the version to its previous value. You can merge this pull request into a Git repository by running: $ git pull https://github.com/tillrohrmann/flink fixYarnSessionTest Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/4120.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #4120 ---- commit 37d5577cd12454ee3b5aa39206989bb89faf0cf8 Author: Till Rohrmann <trohrm...@apache.org> Date: 2017-06-13T21:26:10Z [FLINK-6836] [tests] Fix YARNSessionCapacitySchedulerITCase to work with Hadoop 2.6.5, 2.7.3 and 2.8.0 Due to MNG-5899, maven cannot resolve dependency reduced poms in a multi project build. Therefore, flink-yarn-tests pulls in a wrong version of org.apache.httpcomponents.httpclient which does not work with Hadoop's ServletUtils together. As a solution we have to move the dependency management for the httpclient and httpcore version into the parent pom.xml. Another problem is the version of these libraries which has been recently bumped. In 4.4, httpclient changed its behaviour such that URLEncodedUtils#parse(String, Charset) now throws a NPE if the first parameter is null. In 4.2.6, an empty list was returned instead. Due to this incompatibility, we reverted the change and set the version to its previous value. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---