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

ZooKeeper client has unnecessary logs for watcher removal errors

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.5.1
    • 3.5.4, 3.6.0
    • java client
    • None

    Description

      ClientCnxn.java logs errors during watcher removal:

      LOG.error("Failed to find watcher!", nwe);
      LOG.error("Exception when removing watcher", ke);

      An error code/exception is generated so the logs are noisy and unnecessary. If the client handles the error there's still a log message. This is different than other APIs. These logs should be removed.

      Attachments

        1. ZOOKEEPER-2359.patch
          0.7 kB
          Jordan Zimmerman

        Activity

          People

            randgalt Jordan Zimmerman
            randgalt Jordan Zimmerman
            Votes:
            8 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: