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

HDFS metrics log to the same filename from both namenode and secondary namenode

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.4.0
    • Component/s: Input Tools
    • Labels:
      None
    • Environment:

      Redhat EL 5.1, Java 6

      Description

      In hadoop-metrics.properties template file, the hdfs metrics is configured to log to CHUKWA_LOG_DIR/metrics/<username>-dfs-metrics.log. If the user has both namenode and secondary namenode running on the same machine, the metrics are logged to the same filename. The default template should use uuid flag to distinguish the metrics for different processes.

        Activity

        Hide
        eyang Eric Yang added a comment -

        Added uuid flag to channel metrics to different log files for namenode and secondary namenode.

        Show
        eyang Eric Yang added a comment - Added uuid flag to channel metrics to different log files for namenode and secondary namenode.
        Hide
        asrabkin Ari Rabkin added a comment -

        +1

        Show
        asrabkin Ari Rabkin added a comment - +1
        Hide
        asrabkin Ari Rabkin added a comment -

        However, we really ought to write up some directions about how to modify Hadoop to log via chukwa.

        Show
        asrabkin Ari Rabkin added a comment - However, we really ought to write up some directions about how to modify Hadoop to log via chukwa.
        Hide
        hudson Hudson added a comment -
        Show
        hudson Hudson added a comment - Integrated in Chukwa-trunk #247 (See http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/247/ )
        Hide
        asrabkin Ari Rabkin added a comment -

        I am marking this as fixed, since the patch has been committed. Eric, if you aren't done here, you should reopen.

        Show
        asrabkin Ari Rabkin added a comment - I am marking this as fixed, since the patch has been committed. Eric, if you aren't done here, you should reopen.

          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