Pathiyil, Praveen wrote:

Hi,

I was trying to run the SegmentMergeTool on a set of segments while the application was running under tomcat. I wanted to delete the old segments

Rule number one: you should NEVER do that. Results will be unpredictable, depending on the OS and the state of the application.


If you are running in a production regime, you should run SegmentMergeTool in a staging area, and only after a successful run you can deploy the output segment(s) to the production server.

If you are just testing, or you can afford longer downtime, then shut down Tomcat first; then run what you need to run; and then startup Tomcat again.

after the new merged segment has been created. It deleted the index directory correctly, however in the content, fetcher, etc.. directories there were some hidden files named as ".nfs...". I can't even do an rm on these directories because of these files. If I stop tomcat and delete these files, then they go away silently.

What exactly do these files represent ? Is there a way to delete them without stopping tomcat ?

Neither Nutch nor AFAIK Tomcat create such files... Are you using NFS?

--
Best regards,
Andrzej Bialecki

-------------------------------------------------
Software Architect, System Integration Specialist
CEN/ISSS EC Workshop, ECIMF project chair
EU FP6 E-Commerce Expert/Evaluator
-------------------------------------------------
FreeBSD developer (http://www.freebsd.org)



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Nutch-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to