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

NPE in updatehostdb

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.15
    • 1.15
    • hostdb
    • None

    Description

      I get an NPE on updatehostdb. I start with a clean crawlDB & hostDB. After an inject, I do an updatehostdb with -checkAll and get the following stacktrace:

      2018-06-13 10:45:21,958 WARN hostdb.ResolverThread - java.lang.NullPointerException
       at org.apache.hadoop.io.SequenceFile$Writer.checkAndWriteSync(SequenceFile.java:1359)
       at org.apache.hadoop.io.SequenceFile$Writer.append(SequenceFile.java:1400)
       at org.apache.hadoop.mapreduce.lib.output.SequenceFileOutputFormat$1.write(SequenceFileOutputFormat.java:83)
       at org.apache.hadoop.mapred.ReduceTask$NewTrackingRecordWriter.write(ReduceTask.java:558)
       at org.apache.hadoop.mapreduce.task.TaskInputOutputContextImpl.write(TaskInputOutputContextImpl.java:89)
       at org.apache.hadoop.mapreduce.lib.reduce.WrappedReducer$Context.write(WrappedReducer.java:105)
       at org.apache.nutch.hostdb.ResolverThread.run(ResolverThread.java:82)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
       at java.lang.Thread.run(Thread.java:748)
      

      Is this related to NUTCH-2375?

      If further testing is needed, please let me know!

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jurian Jurian Broertjes
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: