@VisibleForTesting
    protected HistoryClientService createHistoryClientService(final Configuration conf) {
        return new HistoryClientService(historyContext, this.jhsDTSecretManager, conf);
    }
Priority of the JobHistoryServer shutdown hook.
history-server/src/main/java/net/qihoo/hbox/jobhistory/JobHistoryServer.java