@Override protected void cleanup(org.apache.hadoop.mapreduce.Mapper<LongWritable, Text, Text, Text>.Context context) throws IOException, InterruptedException { this.getGuaguaService().stop(); }
@Override protected void cleanup(org.apache.hadoop.mapreduce.Mapper<LongWritable, Text, Text, Text>.Context context) throws IOException, InterruptedException { this.getGuaguaService().stop(); }
@Override public void run() { GuaguaUnitDriver.this.masterService.start(); GuaguaUnitDriver.this.masterService.run(null); GuaguaUnitDriver.this.masterService.stop(); } });
@Override public void run() { workerService.start(); workerService.run(null); workerService.stop(); } });
/** * Clean up resources used */ protected void cleanup() { if(this.rpcClient != null) { this.rpcClient.shutdown(); this.rpcClient.releaseExternalResources(); } if(this.rpcClientChannel != null) { this.rpcClientChannel.close(); } this.getGuaguaService().stop(); }
/** * Clean up resources used */ protected void cleanup() { if(this.rpcClient != null) { this.rpcClient.shutdown(); this.rpcClient.releaseExternalResources(); } if(this.rpcClientChannel != null) { this.rpcClientChannel.close(); } this.getGuaguaService().stop(); }