Cannot build against ZooKeeper 3.4.0
------------------------------------
Key: MAPREDUCE-3478
URL: https://issues.apache.org/jira/browse/MAPREDUCE-3478
Project: Hadoop Map/Reduce
Issue Type: Bug
Components: mrv2
Affects Versions: 0.23.0
Reporter: Andrew Bayer
Priority: Minor
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:
{quote}
[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]
{quote}
Presumably, Yarn needs to build against newer ZK releases eventually, hence
this bug. =)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira