コード例 #1
0
ファイル: TestAHSClient.cs プロジェクト: orf53975/hadoop.net
        public virtual void TestClientStop()
        {
            Configuration conf   = new Configuration();
            AHSClient     client = AHSClient.CreateAHSClient();

            client.Init(conf);
            client.Start();
            client.Stop();
        }
コード例 #2
0
ファイル: YarnClientImpl.cs プロジェクト: orf53975/hadoop.net
 /// <exception cref="System.Exception"/>
 protected override void ServiceStop()
 {
     if (this.rmClient != null)
     {
         RPC.StopProxy(this.rmClient);
     }
     if (historyServiceEnabled)
     {
         historyClient.Stop();
     }
     if (timelineServiceEnabled)
     {
         timelineClient.Stop();
     }
     base.ServiceStop();
 }