Uploaded image for project: 'Chukwa'
  1. Chukwa
  2. CHUKWA-186

duplicate timestamp columns in database aggregation script

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.1.2
    • Fix Version/s: None
    • Component/s: Data Processors
    • Labels:
      None
    • Environment:

      Redhat EL 5.1, Java 6

      Description

      AVG(table_name), used to skip the timestamp column. This has been changed to run as AVG(timestamp). The aggregation script should remove the predefined timestamp.

      1. CHUKWA-186-1.patch
        0.9 kB
        Eric Yang
      2. aggregator.sql
        25 kB
        Eric Yang

        Activity

        Hide
        hudson Hudson added a comment -
        Show
        hudson Hudson added a comment - Integrated in Chukwa-trunk #45 (See http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/45/ )
        Hide
        hudson Hudson added a comment -

        Integrated in Chukwa-trunk #8 (See http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/8/)
        . Update Macro to use timestamp instead of avg(timestamp).
        . Remove duplicated timestamp from aggregation script. (Eric Yang)

        Show
        hudson Hudson added a comment - Integrated in Chukwa-trunk #8 (See http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/8/ ) . Update Macro to use timestamp instead of avg(timestamp). . Remove duplicated timestamp from aggregation script. (Eric Yang)
        Hide
        eyang Eric Yang added a comment -

        I just committed this.

        Show
        eyang Eric Yang added a comment - I just committed this.
        Hide
        eyang Eric Yang added a comment -

        Remove average for timestamp for macro.

        Show
        eyang Eric Yang added a comment - Remove average for timestamp for macro.
        Hide
        eyang Eric Yang added a comment -

        The avg(timestamp) can not be inserted into the timestamp field.

        Show
        eyang Eric Yang added a comment - The avg(timestamp) can not be inserted into the timestamp field.
        Hide
        eyang Eric Yang added a comment -

        I just committed this, thanks Terence.

        Show
        eyang Eric Yang added a comment - I just committed this, thanks Terence.
        Hide
        terencekwan Terence Kwan added a comment -

        test it on chukwa-dev. Looking good.+1

        Show
        terencekwan Terence Kwan added a comment - test it on chukwa-dev. Looking good.+1
        Hide
        eyang Eric Yang added a comment -

        Remove timestamp from affected aggregation.

        Show
        eyang Eric Yang added a comment - Remove timestamp from affected aggregation.

          People

          • Assignee:
            eyang Eric Yang
            Reporter:
            eyang Eric Yang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development