Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10660

GraphiteSink should implement Closeable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.0
    • Component/s: None
    • Labels:
      None

      Description

      GraphiteSink wraps OutputStreamWriter around socket's output stream.
      Currently the socket is never closed.

      GraphiteSink should implement Closeable such that MetricsSystem can close the socket when it is stopped.

        Attachments

        1. HADOOP-10660.patch
          3 kB
          Chen He
        2. HADOOP-10660-v2.patch
          4 kB
          Chen He
        3. HADOOP-10660-v3.patch
          4 kB
          Chen He
        4. hadoop-10660-v4.txt
          5 kB
          Ted Yu
        5. hadoop-10660-v5.txt
          5 kB
          Ted Yu
        6. HADOOP-10660-v6.patch
          6 kB
          Chen He

          Issue Links

            Activity

              People

              • Assignee:
                airbots Chen He
                Reporter:
                yuzhihong@gmail.com Ted Yu
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: