Description
I tried to see if one could build Hadoop 0.23.0 against ZooKeeper 3.4.0, rather than 3.3.1 (3.3.3 does work, fwiw) and hit compilation errors:
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (default-testCompile) on project hadoop-yarn-server-common: Compilation failure: Compilation failure:
[ERROR] /Volumes/EssEssDee/abayer/src/asf-git/hadoop-common/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/src/test/java/org/apache/hadoop/yarn/lib/TestZKClient.java:[48,25] cannot find symbol
[ERROR] symbol : class Factory
[ERROR] location: class org.apache.zookeeper.server.NIOServerCnxn
[ERROR] /Volumes/EssEssDee/abayer/src/asf-git/hadoop-common/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/src/test/java/org/apache/hadoop/yarn/lib/TestZKClient.java:[150,33] cannot find symbol
[ERROR] symbol : class Factory
[ERROR] location: class org.apache.zookeeper.server.NIOServerCnxn
[ERROR] -> [Help 1]
Presumably, Yarn needs to build against newer ZK releases eventually, hence this bug. =)