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
