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

Java Compilation Error in ClientCnxn.java

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.2, 3.6.0
    • Component/s: java client, server
    • Labels:
      None

      Description

      There are some compilation error in latest trunk code.

      [javac] D:\gitHome\zookeeperTrunk\src\java\main\org\apache\zookeeper\ClientCnxn.java:49: error: package org.apache.log4j does not exist
          [javac] import org.apache.log4j.MDC;
          [javac]                        ^
          [javac] D:\gitHome\zookeeperTrunk\src\java\main\org\apache\zookeeper\ClientCnxn.java:1108: error: cannot find symbol
          [javac]             MDC.put("myid", hostPort);
          [javac]             ^
          [javac]   symbol:   variable MDC
          [javac]   location: class ClientCnxn.SendThread
          [javac] 2 errors
      
      

      This compilation error got introduced by ZOOKEEPER-2330 patch. This patch used log4j api and log4 dependency has already been removed by ZOOKEEPER-1371

        Attachments

        1. ZOOKEEPER-2335-01.patch
          0.8 kB
          Raul Gutierrez Segales
        2. ZOOKEEPER-2335-01.patch
          0.8 kB
          Mohammad Arshad

          Issue Links

            Activity

              People

              • Assignee:
                arshad.mohammad Mohammad Arshad
                Reporter:
                arshad.mohammad Mohammad Arshad
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: