2006/9/27, Sami Siren <[EMAIL PROTECTED]>:
Alvaro Cabrerizo wrote:
> How could I stop an index server (started with "bin/nutch server <port>
> <index>") knowing the port?
>
> Thanks in advance.
>
It does not support such a feature. Can you describe a little bit more
what are you trying to accomplish something similar to tomcats SHUTDOWN?
Sure,
That's right. If this feature doesn't exist, I'm looking for a clue to
develop a SHUTDOWN and a RESTART command, using NUTCH/HADOOP api. The idea
is to have a group of JAVA classes that lets people execute a command like:
"SERVER_RESTART <port>" or more advanced "SERVER_RESTART <port>
<ip_address>".
Anyway I can execute "ps aux | grep 44444" in a shell and find out proccess
number in order to kill it or I can make a "^C" to stop it, but this is not
the solution I'm looking for.
Thanks, in advance.
--
Sami Siren
-------------------------------------------------------------------------
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