You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Lewis John McGibbney (JIRA)" <ji...@apache.org> on 2013/02/11 02:02:19 UTC
[jira] [Resolved] (NUTCH-1390) readdb -url $url throws NPE with
gora-cassandra
[ https://issues.apache.org/jira/browse/NUTCH-1390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lewis John McGibbney resolved NUTCH-1390.
-----------------------------------------
Resolution: Fixed
This was fixed in gora-cassandra sometime in the last development cycle. I don't know exactly when but it has now been addressed.
> 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.2
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira