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

hadoop metrics log files should be managed more cleanly

    Details

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

      Redhat EL 5.1, Java 6

      Description

      Hadoop metrics log files should move away from /tmp to $CHUKWA_LOG_DIR/metrics.

      The files should be expired automatically to prevent disk usage build up.

        Activity

        Hide
        eyang Eric Yang added a comment -

        Added CHUKWA_LOG_DIR as a build parameter. The user can overwrite this default in build.properties. This property is bundled in chukwa hadoop client jar file to contain the new path.

        Show
        eyang Eric Yang added a comment - Added CHUKWA_LOG_DIR as a build parameter. The user can overwrite this default in build.properties. This property is bundled in chukwa hadoop client jar file to contain the new path.
        Hide
        eyang Eric Yang added a comment -

        This patch redirect the metrics log file from /tmp to chukwa log directory.

        Show
        eyang Eric Yang added a comment - This patch redirect the metrics log file from /tmp to chukwa log directory.
        Hide
        zhangyongjiang Cheng added a comment -

        +1 better than before.

        Show
        zhangyongjiang Cheng added a comment - +1 better than before.
        Hide
        eyang Eric Yang added a comment -

        I just committed this, thanks Cheng.

        Show
        eyang Eric Yang added a comment - I just committed this, thanks Cheng.
        Hide
        jboulon Jerome Boulon added a comment -

        This patch will prevent us from having a binary RPM that can be reused with with several config RPM

        Show
        jboulon Jerome Boulon added a comment - This patch will prevent us from having a binary RPM that can be reused with with several config RPM

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development