Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FLINK-6836] [tests] Fix YARNSessionCapacitySchedulerITCase to work w…
…ith 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. Bump httpclient to 4.5.3 and httpcore to 4.4.6 This closes apache#4120.
- Loading branch information