Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-612

Make Zookeeper C client can be compiled by gcc of early version

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.1
    • Fix Version/s: 3.3.0
    • Component/s: c client
    • Labels:
      None
    • Environment:

      Linux

    • Hadoop Flags:
      Reviewed
    • Release Note:
      to be able to compile c library with gcc 2.96 and greater.
    • Tags:
      gcc, c client

      Description

      The original C Client, Version 3.2.1, cannot be compiled successfully by the gcc of early version, due some declaration restriction. To compile the source code on the server with gcc of early version, I made some modification on the original source. What's more, some extra codes are added to make the client be compatible with the hosts list format: ip1:port1, ip2:port2... There is often a space after this kind of comma.

        Attachments

        1. ZOOKEEPER-612.patch
          13 kB
          Qian Ye
        2. ZOOKEEPER-612.patch
          12 kB
          Qian Ye
        3. ZOOKEEPER-612.patch
          13 kB
          Patrick Hunt
        4. ZOOKEEPER-612.patch
          13 kB
          Qian Ye
        5. patch
          12 kB
          Qian Ye
        6. patch
          12 kB
          Qian Ye

          Activity

            People

            • Assignee:
              creatstar Qian Ye
              Reporter:
              creatstar Qian Ye
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: