Examples of shutdown()


Examples of org.apache.flink.runtime.memorymanager.MemoryManager.shutdown()

    // last, verify all memory is returned and shutdown mem manager
    MemoryManager memMan = getMemoryManager();
    if (memMan != null) {
      Assert.assertTrue("Memory Manager managed memory was not completely freed.", memMan.verifyEmpty());
      memMan.shutdown();
    }
  }
 
  // --------------------------------------------------------------------------------------------
 
View Full Code Here

Examples of org.apache.flink.runtime.taskmanager.TaskManager.shutdown()

          Thread.sleep(200);
        }
       
        // kill one task manager
        TaskManager tm = ((LocalInstanceManager) jm.getInstanceManager()).getTaskManagers()[0];
        tm.shutdown();
       
        eg.waitForJobEnd();
       
        // make sure that in any case, the network buffers are all returned
        waitForTaskThreadsToBeTerminated();
View Full Code Here

Examples of org.apache.geronimo.kernel.Kernel.shutdown()

                    kernel,
                    classLoader);

            installer.install(pluginList, localSourceRepository, true, null, null, downloadPoller);
        } finally {
            kernel.shutdown();
        }
        return downloadPoller;
    }

View Full Code Here

Examples of org.apache.geronimo.kernel.basic.BasicKernel.shutdown()

                    kernel,
                    classLoader);

            installer.install(pluginList, localSourceRepository, true, null, null, downloadPoller);
        } finally {
            kernel.shutdown();
        }
        return downloadPoller;
    }

View Full Code Here

Examples of org.apache.geronimo.mavenplugins.geronimo.ServerProxy.shutdown()

            }
        }
        else {
            log.info("Stopping Geronimo server...");
           
            server.shutdown();
            server.closeConnection();

            //
            // TODO: Verify its down?
            //
View Full Code Here

Examples of org.apache.hadoop.chukwa.datacollection.adaptor.Adaptor.shutdown()

    }
    ChukwaAgent.agentMetrics.adaptorCount.set(adaptorsByName.size());
    ChukwaAgent.agentMetrics.removedAdaptor.inc();
   
    try {
      offset = toStop.shutdown(shutdownMode);
      log.info("shutdown ["+ shutdownMode + "] on " + name + ", "
          + toStop.getCurrentStatus());
    } catch (AdaptorException e) {
      log.error("adaptor failed to stop cleanly", e);
    } finally {
View Full Code Here

Examples of org.apache.hadoop.chukwa.datacollection.agent.ChukwaAgent.shutdown()

   
    c = chunks.waitForAChunk(1000);
    assertNull(c);
   
    agent.stopAdaptor(adaptorId, false);
    agent.shutdown();
  }


}
View Full Code Here

Examples of org.apache.hadoop.chukwa.datacollection.connector.http.HttpConnector.shutdown()

    String[] stat = agent.getAdaptorList().get("adaptor_constSend").split(" ");
    long bytesCommitted = Long.valueOf(stat[stat.length -1]);
    assertTrue(bytesCommitted > 0);
    agent.shutdown();
    conn.shutdown();
    Thread.sleep(2000); //for collectors to shut down
    collector2_s.stop();
    Thread.sleep(2000); //for collectors to shut down
   
    checkDirs(conf, conf.get(CommitCheckServlet.SCANPATHS_OPT));
View Full Code Here

Examples of org.apache.hadoop.chukwa.datacollection.test.ConsoleOutConnector.shutdown()

        assertNotNull(adaptorId);
        Thread.sleep(2000);
        cli.removeAll();
      }
      agent.shutdown();
      conn.shutdown();
      Thread.sleep(2000);
    } catch (Exception e) {
      e.printStackTrace();
      fail(e.toString());
    }
View Full Code Here

Examples of org.apache.hadoop.corona.MiniCoronaCluster.shutdown()

      }
    } catch (InterruptedException e) {
      e.printStackTrace();
    } finally {
      if (dfs != null) { dfs.shutdown(); }
      if (mr != null) { mr.shutdown(); }
    }
  }

  public static void main(String[] argv) throws Exception {
    TestMiniCoronaTaskFail td = new TestMiniCoronaTaskFail();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.