@Override
protected void serviceInit(Configuration conf) throws Exception {
this.conf = conf;
this.rmContext = new RMContextImpl();
this.rmContext.setDistributedEnabled(conf.getBoolean(
<BUG>YarnConfiguration.HOPS_DISTRIBUTED_RT_ENABLED,

YarnConfiguration.DEFAULT_HOPS_DISTRIBUTED_RT_ENABLED));
</BUG>
transactionStateManager = new TransactionStateManager();

@Override
protected void serviceInit(Configuration conf) throws Exception {
this.conf = conf;
this.rmContext = new RMContextImpl();
this.rmContext.setDistributedEnabled(conf.getBoolean(
YarnConfiguration.DISTRIBUTED_RM,
YarnConfiguration.DEFAULT_DISTRIBUTED_RM));
transactionStateManager = new TransactionStateManager();
