Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-3478

Cannot build against ZooKeeper 3.4.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.23.0
    • 0.23.1
    • mrv2

    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. =)

      Attachments

        1. MAPREDUCE-3478.patch
          3 kB
          Mahadev Konar
        2. MAPREDUCE-3478.patch
          3 kB
          Thomas White
        3. MAPREDUCE-3478.patch
          3 kB
          Thomas White

        Activity

          People

            tomwhite Thomas White
            abayer Andrew Bayer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: