Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.1
    • Fix Version/s: 2.9.0, 3.0.0-alpha1
    • Component/s: metrics
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      We need a metrics2 sink that can write metrics to HDFS. The sink should accept as configuration a "directory prefix" and do the following in putMetrics()

      • Get yyyyMMddHH from current timestamp.
      • If HDFS dir "dir prefix" + yyyyMMddHH doesn't exist, create it. Close any currently open file and create a new file called <hostname>.log in the new directory.
      • Write metrics to the current log file.

        Attachments

        1. HADOOP-12702.001.patch
          6 kB
          Daniel Templeton
        2. HADOOP-12702.002.patch
          35 kB
          Daniel Templeton
        3. HADOOP-12702.003.patch
          38 kB
          Daniel Templeton
        4. HADOOP-12702.004.patch
          40 kB
          Daniel Templeton
        5. HADOOP-12702.005.patch
          40 kB
          Daniel Templeton
        6. HADOOP-12702.006.patch
          40 kB
          Daniel Templeton

          Issue Links

            Activity

              People

              • Assignee:
                templedf Daniel Templeton
                Reporter:
                templedf Daniel Templeton
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: