initializeHdfs(hdfsName, thriftUri);
} catch (URISyntaxException e) {
log.error(e.getMessage(), e);
throw new HdfsThreadException();
} catch (Exception e) {
log.error("An unkown error occured while creating the collector.", e);
throw new HdfsThreadException();
}
}