Hello,
There is an issue with the way LocalFileSystem.pathToFile(Path path)
function works.
It uses the workingDir member. It is computed from System.getProperty("
user.home"); when the constructor is called. It can be set, but
LinkDbReader does not set it.
This leads to a file not found exception when crawl folder is not in user's
home.
The way I understand it, crawl directory is "pretty much" the working
directory for nutch segments, crawls, and everything else. Should crawl
directory be set as the working directory for the file system?
I am not using LinkDbReader, but I am using the code from LinkDbReader and I
am not calling the LinkDbReader main.
I can work around the issue, but would appreciate some direction on how to
go about it.
Thanks in Advance,
Paul Dhaliwal
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general