Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-1598

Reader used in PlainTextEntityProcessor.nextRow() is not explicitly closed

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.5
    • Labels:
      None

      Description

      Due to a missing r.close() statement at the end of method PlainTextEntityProcessor.nextRow(), IO exceptions ("too many open files") can occur when large numbers of files are processed.

      1. solr-1598.patch
        2 kB
        Sascha Szott
      2. SOLR-1598.patch
        1 kB
        Noble Paul

        Activity

        Hide
        szott Sascha Szott added a comment -

        patch that fixes the problem

        Show
        szott Sascha Szott added a comment - patch that fixes the problem
        Hide
        noble.paul Noble Paul added a comment - - edited

        committed r889541

        Thanks Sascha Szott

        Show
        noble.paul Noble Paul added a comment - - edited committed r889541 Thanks Sascha Szott

          People

          • Assignee:
            noble.paul Noble Paul
            Reporter:
            szott Sascha Szott
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development