public boolean stop(boolean force){
  if (!running) {
    return true;
  }
  if (!canStop(force)) {
    LOG.warn("Running jobs - can't stop now.");
    return false;
  }
  LOG.info("Stopping NutchServer on port {}...",port);
  try {
    component.stop();
  }
 catch (  Exception e) {
    throw new IllegalStateException("Cannot stop nutch server",e);
  }
  LOG.info("Stopped NutchServer on port {}",port);
  running=false;
  return true;
}

public boolean stop ( boolean force ) { if ( ! running ) { return true ; } if ( ! canStop ( force ) ) { LOG . warn ( "Running jobs - can't stop now." ) ; return false ; } LOG . info ( "Stopping NutchServer on port {}..." , port ) ; try { component . stop ( ) ; } catch ( Exception e ) { throw new IllegalStateException ( "Cannot stop nutch server" , e ) ; } LOG . info ( "Stopped NutchServer on port {}" , port ) ; running = false ; return true ; }
stop the nutch server .
