Monu Ogbe wrote:
Caused by: java.lang.InstantiationException:
org.apache.nutch.searcher.Query
        at java.lang.Class.newInstance0(Unknown Source)
        at java.lang.Class.newInstance(Unknown Source)
        at
org.apache.hadoop.io.WritableFactories.newInstance(WritableFactories.jav

It looks like Query no longer has a no-arg constructor, probably since the patch which makes all Configurations non-static. A no-arg constructor is required in order to pass something via an RPC. The fix might be as simple as adding the no-arg constructor, but perhaps not, since the query would then have a null configuration. At a glance, the query execution code doesn't appear to use the configuration, so this might work...

Doug

Reply via email to