Thing I have already tried is to bundle these resources in the job jar
and load them from the
classpath but that didn't work. I also tried copying them to HDFS and
loading them from there but that too failed.


What is the best way to bundle such static resources and reference
them in the custom plugin?


Thanks

Akshar



On Thu, Jun 29, 2017 at 8:28 AM, SJC Multimedia <[email protected]>
wrote:

> I am building a custom plugin in Nutch 2.3.1 on Hadoop/HBase. In the
> plugin code, I need to pull in a dictionary of files and run some
> comparisons while parsing the document.
>
> Is there a way to include directory of files through the custom plugin ant
> build framework that will work on both local and cluster(hadoop MR) mode?
>
> Any pointers will be helpful.
>
> Thanks
> Dave
>

Reply via email to