nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis John McGibbney (JIRA)" <j...@apache.org>
Subject [jira] [Created] (NUTCH-1390) readdb -url $url throws NPE with gora-cassandra
Date Wed, 13 Jun 2012 23:25:42 GMT
Lewis John McGibbney created NUTCH-1390:
-------------------------------------------

             Summary: readdb -url $url throws NPE with gora-cassandra
                 Key: NUTCH-1390
                 URL: https://issues.apache.org/jira/browse/NUTCH-1390
             Project: Nutch
          Issue Type: Bug
          Components: crawldb
    Affects Versions: nutchgora
            Reporter: Lewis John McGibbney
             Fix For: 2.1


After successfully injecting, generating, fetching (without parsing enabled), parsing, updatingdb,
then executinga readdb passing a particular -url argument I get a lovely NPE

{code}
lewis@lewis:~/ASF/nutchgora/runtime/local$ ./bin/nutch readdb -url http://www.trancearoundtheworld.com
WebTableReader: java.lang.NullPointerException
	at org.apache.gora.cassandra.store.CassandraClient.getFamilyMap(CassandraClient.java:220)
	at org.apache.gora.cassandra.store.CassandraStore.execute(CassandraStore.java:108)
	at org.apache.nutch.crawl.WebTableReader.read(WebTableReader.java:234)
	at org.apache.nutch.crawl.WebTableReader.run(WebTableReader.java:476)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
	at org.apache.nutch.crawl.WebTableReader.main(WebTableReader.java:412)
{code} 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message