Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-1081

Thrift sockets leak in 0.6 hadoop interface

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Fix Version/s: 0.6.2
    • Component/s: None

      Description

      Thrift connections appear not to be closed properly in 0.6 in ColumnFamilyRecordReader, which causes a file descriptor leak on the server and may eventually cause jobs to fail.

      This appear to be fixed in 0.7 https://issues.apache.org/jira/browse/CASSANDRA-1017 so it may be worth backporting the patch or add a quick fix to close the Tsockets.

      1. CASSANDRA-1081.patch
        2 kB
        Johan Oskarsson

        Activity

        Hide
        johanoskarsson Johan Oskarsson added a comment -

        Simple patch that makes sure the socket is closed properly.

        Show
        johanoskarsson Johan Oskarsson added a comment - Simple patch that makes sure the socket is closed properly.
        Hide
        jbellis Jonathan Ellis added a comment -

        +1

        Show
        jbellis Jonathan Ellis added a comment - +1
        Hide
        johanoskarsson Johan Oskarsson added a comment -

        Committed to 0.6 branch.

        Show
        johanoskarsson Johan Oskarsson added a comment - Committed to 0.6 branch.

          People

          • Assignee:
            johanoskarsson Johan Oskarsson
            Reporter:
            riffraff gabriele renzi
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development