Chukwa
  1. Chukwa
  2. CHUKWA-4

Collectors don't finish writing .done datasink from last .chukwa datasink when stopped using bin/stop-collectors

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Data Collection
    • Labels:
      None
    • Environment:

      I am running on our local cluster. This is a linux machine that I also run Hadoop cluster from.

      Description

      When I use start-collectors, it creates the datasink as expected, writes to it as per normal, i.e. writes to the .chukwa file, and roll overs work fine when it renames the .chukwa file to .done. However, when I use bin/stop-collectors to shut down the running collector it leaves a .chukwa file in the HDFS file system. Not sure if this is a valid sink or not, but I think that the collector should gracefully clean up the datasink and rename it .done before exiting.

      1. CHUKWA-4.2.patch
        14 kB
        Ahmed Fathalla
      2. ASF.LICENSE.NOT.GRANTED--CHUKWA-4.patch
        14 kB
        Ahmed Fathalla

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Ahmed Fathalla
            Reporter:
            Andy Konwinski
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development