コード例 #1
0
        public virtual void TestRefreshSuperUserGroupsConfiguration()
        {
            RefreshSuperUserGroupsConfigurationRequest request = recordFactory.NewRecordInstance
                                                                 <RefreshSuperUserGroupsConfigurationRequest>();
            RefreshSuperUserGroupsConfigurationResponse response = client.RefreshSuperUserGroupsConfiguration
                                                                       (request);

            NUnit.Framework.Assert.IsNotNull(response);
        }
        RefreshSuperUserGroupsConfiguration(RpcController controller, YarnServerResourceManagerServiceProtos.RefreshSuperUserGroupsConfigurationRequestProto
                                            proto)
        {
            RefreshSuperUserGroupsConfigurationRequestPBImpl request = new RefreshSuperUserGroupsConfigurationRequestPBImpl
                                                                           (proto);

            try
            {
                RefreshSuperUserGroupsConfigurationResponse response = real.RefreshSuperUserGroupsConfiguration
                                                                           (request);
                return(((RefreshSuperUserGroupsConfigurationResponsePBImpl)response).GetProto());
            }
            catch (YarnException e)
            {
                throw new ServiceException(e);
            }
            catch (IOException e)
            {
                throw new ServiceException(e);
            }
        }