ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-62

Generally improve logging to enable debuggability in the field.

    Details

    • Release Note:
      not a blocker for 3.2, moving to 3.3

      Description

      We need to improve our logging to enable debugging of field issues.

      Flavio, assigning to you as you are currently looking at some client/server issues that could benefit from better logging. Please attach patches if you see potential areas for improvement.

      1. zoo-log.tgz
        59 kB
        Stu Hood

        Activity

        Hide
        Stu Hood added a comment -

        Here is an example of the problem from r701369. In this 3 peer ZooKeeper setup, one peer grabbed leadership to start, and then lost it, going into an infinite loop, while the other peers went about their business.

        But by far the most common log messages that are repeated are the ones referring to opening and closing transaction logs, and very little information is given about why the election process keeps restarting.

        Show
        Stu Hood added a comment - Here is an example of the problem from r701369. In this 3 peer ZooKeeper setup, one peer grabbed leadership to start, and then lost it, going into an infinite loop, while the other peers went about their business. But by far the most common log messages that are repeated are the ones referring to opening and closing transaction logs, and very little information is given about why the election process keeps restarting.
        Hide
        Mahadev konar added a comment -

        this has been fixed with various changes to logging starting 3.0 and the logging has been improved since then. specific chnages to logging should be filed for any fixes.

        Show
        Mahadev konar added a comment - this has been fixed with various changes to logging starting 3.0 and the logging has been improved since then. specific chnages to logging should be filed for any fixes.

          People

          • Assignee:
            Flavio Junqueira
            Reporter:
            Patrick Hunt
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development