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

GraphiteSink should implement Closeable

VotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.5.0
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment