コード例 #1
0
 internal RMAppAttemptBlock(View.ViewContext ctx, ResourceManager rm, Configuration
                            conf)
     : base(rm.GetClientRMService(), ctx)
 {
     this.rm   = rm;
     this.conf = conf;
 }
コード例 #2
0
ファイル: AppBlock.cs プロジェクト: orf53975/hadoop.net
 protected internal AppBlock(ApplicationBaseProtocol appBaseProt, View.ViewContext
                             ctx, Configuration conf)
     : base(ctx)
 {
     this.appBaseProt = appBaseProt;
     this.conf        = conf;
 }
コード例 #3
0
        public FairSchedulerAppsBlock(ResourceManager rm, View.ViewContext ctx, Configuration
                                      conf)
            : base(ctx)
        {
            FairScheduler scheduler = (FairScheduler)rm.GetResourceScheduler();

            fsinfo = new FairSchedulerInfo(scheduler);
            apps   = new ConcurrentHashMap <ApplicationId, RMApp>();
            foreach (KeyValuePair <ApplicationId, RMApp> entry in rm.GetRMContext().GetRMApps(
                         ))
            {
                if (!(RMAppState.New.Equals(entry.Value.GetState()) || RMAppState.NewSaving.Equals
                          (entry.Value.GetState()) || RMAppState.Submitted.Equals(entry.Value.GetState())))
                {
                    apps[entry.Key] = entry.Value;
                }
            }
            this.conf = conf;
            this.rm   = rm;
        }
コード例 #4
0
 internal LeafQueueBlock(View.ViewContext ctx, FairSchedulerPage.FSQInfo info)
     : base(ctx)
 {
     qinfo = (FairSchedulerLeafQueueInfo)info.qinfo;
 }
コード例 #5
0
ファイル: RMAppBlock.cs プロジェクト: orf53975/hadoop.net
 internal RMAppBlock(View.ViewContext ctx, Configuration conf, ResourceManager rm)
     : base(rm.GetClientRMService(), ctx, conf)
 {
     this.conf = conf;
     this.rm   = rm;
 }
コード例 #6
0
ファイル: AboutBlock.cs プロジェクト: orf53975/hadoop.net
 internal AboutBlock(ResourceManager rm, View.ViewContext ctx)
     : base(ctx)
 {
     this.rm = rm;
 }
コード例 #7
0
 internal MetricsOverviewTable(ResourceManager rm, View.ViewContext ctx)
     : base(ctx)
 {
     this.rm = rm;
 }
コード例 #8
0
ファイル: RMAppsBlock.cs プロジェクト: orf53975/hadoop.net
 internal RMAppsBlock(ResourceManager rm, ApplicationBaseProtocol appBaseProt, View.ViewContext
                      ctx)
     : base(appBaseProt, ctx)
 {
     this.rm = rm;
 }
コード例 #9
0
 internal QueueUsersInfoBlock(View.ViewContext ctx, CapacitySchedulerPage.CSQInfo
                              info)
     : base(ctx)
 {
     lqinfo = (CapacitySchedulerLeafQueueInfo)info.qinfo;
 }
コード例 #10
0
 internal SCMOverviewBlock(SharedCacheManager scm, View.ViewContext ctx)
     : base(ctx)
 {
     this.scm = scm;
 }
コード例 #11
0
ファイル: CountersBlock.cs プロジェクト: orf53975/hadoop.net
 internal CountersBlock(AppContext appCtx, View.ViewContext ctx)
     : base(ctx)
 {
     GetCounters(appCtx);
 }
コード例 #12
0
 protected internal HtmlPage(View.ViewContext ctx)
     : base(ctx, MimeType.Html)
 {
 }
コード例 #13
0
 public ContainerBlock(ApplicationBaseProtocol appBaseProt, View.ViewContext ctx)
     : base(ctx)
 {
     this.appBaseProt = appBaseProt;
 }
コード例 #14
0
 internal SingleCounterBlock(AppContext appCtx, View.ViewContext ctx)
     : base(ctx)
 {
     this.PopulateMembers(appCtx);
 }
コード例 #15
0
 public AppAttemptBlock(ApplicationBaseProtocol appBaseProt, View.ViewContext ctx)
     : base(ctx)
 {
     this.appBaseProt = appBaseProt;
 }
コード例 #16
0
ファイル: TextPage.cs プロジェクト: orf53975/hadoop.net
 protected internal TextPage(View.ViewContext ctx)
     : base(ctx, MimeType.Text)
 {
 }
コード例 #17
0
ファイル: AppsBlock.cs プロジェクト: orf53975/hadoop.net
 protected internal AppsBlock(ApplicationBaseProtocol appBaseProt, View.ViewContext
                              ctx)
     : base(ctx)
 {
     this.appBaseProt = appBaseProt;
 }
コード例 #18
0
ファイル: TextView.cs プロジェクト: orf53975/hadoop.net
 protected internal TextView(View.ViewContext ctx, string contentType)
     : base(ctx)
 {
     this.contentType = contentType;
 }
コード例 #19
0
ファイル: NodeLabelsPage.cs プロジェクト: orf53975/hadoop.net
 internal NodeLabelsBlock(ResourceManager rm, View.ViewContext ctx)
     : base(ctx)
 {
     this.rm = rm;
 }
コード例 #20
0
 internal QueueInfoBlock(View.ViewContext ctx, ResourceManager rm)
     : base(ctx)
 {
     sinfo = new FifoSchedulerInfo(rm);
 }