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

NPE when using solr indexing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4
    • 2.3
    • crawldb
    • None
    • MacOS

    Description

      NPE while running crawl with solar

      here is command
      bin/nutch crawl urls/ -solr http://localhost:8983/solr -depth 3 -topN 20

      Exception in thread "main" java.lang.NullPointerException
      at java.util.Hashtable.put(Hashtable.java:394)
      at java.util.Properties.setProperty(Properties.java:143)
      at org.apache.hadoop.conf.Configuration.set(Configuration.java:438)
      at org.apache.nutch.indexer.IndexerJob.createIndexJob(IndexerJob.java:129)
      at org.apache.nutch.indexer.solr.SolrIndexerJob.run(SolrIndexerJob.java:44)
      at org.apache.nutch.crawl.Crawler.runTool(Crawler.java:69)
      at org.apache.nutch.crawl.Crawler.run(Crawler.java:194)
      at org.apache.nutch.crawl.Crawler.run(Crawler.java:252)
      at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
      at org.apache.nutch.crawl.Crawler.main(Crawler.java:261)

      Attachments

        Activity

          People

            Unassigned Unassigned
            shantharam_a shantharam anandkumar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: