Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-4434

Improve log rotation and reduce communication between agent and logging process, make agent more fault tolerant

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None
    • Redhat Enterprise Linux 4.5, Java 6

    • Incompatible change, Reviewed
    • Hide
      - Added returning of adaptor id when processing a command.
      - Added test case to make sure adaptor can be started correctly.
      - Added test case for Start streaming data in the middle of the file.
      - Changed adaptor interface to remember stream name.
      - Added logic to check for existing data stream and prevent the same data stream being added twice.
      - Increased maximum post size to 2MB.
      Show
      - Added returning of adaptor id when processing a command. - Added test case to make sure adaptor can be started correctly. - Added test case for Start streaming data in the middle of the file. - Changed adaptor interface to remember stream name. - Added logic to check for existing data stream and prevent the same data stream being added twice. - Increased maximum post size to 2MB.

    Description

      • Chukwa Agent does not handle rotated log correctly. The current design requires the logging process to pause the agent, rotate the log, then resume the log streaming. The three communication between the running process and chukwa agent could become a problem when either or one of the process is down. The implementation should be able to detect log rotation in the chukwa agent.
      • Chukwa Agent should detect and prevent the same log being streamed more than once.
      • Chukwa Agent should synchronize data streaming addition when picking up the check point file.

      Attachments

        1. HADOOP-4434.patch
          69 kB
          Eric Yang

        Issue Links

          Activity

            People

              eyang Eric Yang
              eyang Eric Yang
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 96h
                  96h
                  Remaining:
                  Remaining Estimate - 96h
                  96h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified