nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastian Nagel (JIRA)" <>
Subject [jira] [Created] (NUTCH-2719) NPE if exchanges.xml uses index writer not available
Date Wed, 22 May 2019 15:04:00 GMT
Sebastian Nagel created NUTCH-2719:

             Summary: NPE if exchanges.xml uses index writer not available
                 Key: NUTCH-2719
             Project: Nutch
          Issue Type: Improvement
          Components: indexer
    Affects Versions: 1.15
            Reporter: Sebastian Nagel
             Fix For: 1.16

If the exchanges.xml uses an index writer not present (e.g., because the plugin is not in
plugin.includes) the index job fails with a NPE:
java.lang.Exception: java.lang.NullPointerException
        at org.apache.hadoop.mapred.LocalJobRunner$Job.runTasks(
        at org.apache.hadoop.mapred.LocalJobRunner$
Caused by: java.lang.NullPointerException
        at org.apache.nutch.indexer.IndexWriters.write(
        at org.apache.nutch.indexer.IndexerOutputFormat$1.write(
        at org.apache.nutch.indexer.IndexerOutputFormat$1.write(
        at org.apache.hadoop.mapred.ReduceTask$NewTrackingRecordWriter.write(

This should be caught gracefully with a message about an inconsistent configuration.

This message was sent by Atlassian JIRA

View raw message