Hi Alex,

It seems from the log that your build's WebPage class has no getFetchInterval() method. However,that method exists in 2.x branch and the patch in NUTCH-1714.

Have you changed any code in WebPage class? And do you run in local or distributed mode?


Thanks,
Alparslan


On 10-04-2014 01:07, alxsss wrote:
Hi,

I was able to fix these errors making some changes to code and using
avro-1.7.
Now when I run updatedb command it gives

2014-04-09 14:29:36,460 FATAL org.apache.hadoop.mapred.Child: Error running
child : java.lang.NoSuchMethodError:
org.apache.nutch.storage.WebPage.getFetchInterval()I
         at
org.apache.nutch.crawl.AdaptiveFetchSchedule.setFetchSchedule(AdaptiveFetchSchedule.java:85)
         at
org.apache.nutch.crawl.DbUpdateReducer.reduce(DbUpdateReducer.java:141)
         at
org.apache.nutch.crawl.DbUpdateReducer.reduce(DbUpdateReducer.java:41)
         at org.apache.hadoop.mapreduce.Reducer.run(Reducer.java:176)
         at
org.apache.hadoop.mapred.ReduceTask.runNewReducer(ReduceTask.java:649)
         at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
         at org.apache.hadoop.mapred.Child$4.run(Child.java:255)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAs(Subject.java:396)
         at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1121)
         at org.apache.hadoop.mapred.Child.main(Child.java:249)
Thanks.
Alex.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/nutch-2-x-with-hbase-filter-option-tp4121242p4130227.html
Sent from the Nutch - User mailing list archive at Nabble.com.

Reply via email to