public virtual void TestClientStop() { Configuration conf = new Configuration(); AHSClient client = AHSClient.CreateAHSClient(); client.Init(conf); client.Start(); client.Stop(); }
/// <exception cref="System.Exception"/> protected override void ServiceStart() { try { rmClient = ClientRMProxy.CreateRMProxy <ApplicationClientProtocol>(GetConfig()); if (historyServiceEnabled) { historyClient.Start(); } if (timelineServiceEnabled) { timelineClient.Start(); } } catch (IOException e) { throw new YarnRuntimeException(e); } base.ServiceStart(); }