Uploaded image for project: '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
    • Status: Resolved
    • Priority: 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.

        Attachments

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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: