return "http://" + NetUtil.getHostName() + ":" + SERVER_PORT;
}
private Job forwardJobKill(final String killURI) throws GenieException {
try {
final BaseGenieClient client = new BaseGenieClient(null);
final HttpRequest request = BaseGenieClient.buildRequest(Verb.DELETE, killURI, null, null);
return (Job) client.executeRequest(request, null, Job.class);
} catch (final IOException ioe) {
throw new GenieServerException(ioe.getMessage(), ioe);
}
}