Description
As described [http://www.mail-archive.com/user%40nutch.apache.org/msg13549.html|here], the issues is as follows
Looking at the source I think it was caused by the following line:
topN = (Long) args.get(Nutch.ARG_TOPN);
I managed to get it temporarily "fixed" by replacing the above with the following:
try{
topN = (Long) args.get(Nutch.ARG_TOPN);
} catch(Exception e) {
topN = Long.parseLong(args.get(Nutch.ARG_TOPN).toString());
LOG.warn("Error: " + e + "test: " + args.get(Nutch.ARG_TOPN));
}
I guess it complains about ClassCastException because JSON stores the argument as int or string and not long.
Regards,
Alex