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

ConcurrentModificationException can be thrown when getSorted() is called.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 0.9.0
    • None
    • fetcher
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: