Uploaded image for project: 'Chukwa (retired)'
  1. Chukwa (retired)
  2. CHUKWA-4

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • Data Collection
    • None
    • 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.

      Attachments

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

        Activity

          People

            afathalla Ahmed Fathalla
            andyk Andy Konwinski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: