@Override public void startWorkers() throws Exception { ServerConfiguration.set(PropertyKey.WORKER_BLOCK_THREADS_MAX, "100"); super.startWorkers(); }
/** * Starts both master and a worker using the configurations in test conf respectively. */ public void start() throws Exception { // Disable HDFS client caching to avoid file system close() affecting other clients System.setProperty("fs.hdfs.impl.disable.cache", "true"); resetClientPools(); setupTest(); startMasters(); startWorkers(); startProxy(); // Reset contexts so that they pick up the updated configuration. reset(); }
@Override public void startWorkers() throws Exception { Configuration.set(PropertyKey.WORKER_BLOCK_THREADS_MAX, "100"); super.startWorkers(); }
/** * Starts both master and a worker using the configurations in test conf respectively. */ public void start() throws Exception { // Disable HDFS client caching to avoid file system close() affecting other clients System.setProperty("fs.hdfs.impl.disable.cache", "true"); resetClientPools(); setupTest(); startMasters(); // Reset the file system context to make sure the correct master RPC port is used. FileSystemContext.get().reset(Configuration.global()); startWorkers(); startProxy(); // Reset contexts so that they pick up the updated configuration. reset(); }