Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-496

ConcurrentModificationException can be thrown when getSorted() is called.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 0.9.0
    • Fix Version/s: None
    • Component/s: fetcher
    • Labels:
      None
    • Environment:

      Nutch application, during fetch.

      Description

      NGramProfile (within the org.apache.nutch.analysis.lang) package is not thread-safe due to a ConcurrentModificationException that can occur if during iteration of the resultant List from getSorted() and another call to getSorted() is invoked from within another thread.

        Attachments

        1. language_analyzer_ngram.patch
          0.4 kB
          Briggs
        2. nutch-496.txt
          2 kB
          Sami Siren

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              acidblue Briggs
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: