protected HistoryServerStateStoreService createStateStore(Configuration conf) {
        return HistoryServerStateStoreServiceFactory.getStore(conf);
    }
Priority of the JobHistoryServer shutdown hook.
history-server/src/main/java/net/qihoo/hbox/jobhistory/JobHistoryServer.java