All Downloads are FREE. Search and download functionalities are using the official Maven repository.

web.248.7e90688740304ba7.js Maven / Gradle / Ivy

"use strict";(self.webpackChunkflink=self.webpackChunkflink||[]).push([[248],{70248:(F,p,e)=>{e.r(p),e.d(p,{COMPLETED_JOB_ROUES:()=>V});var M=e(93598),h=e(32846),t=e(94650),c=e(22679),A=e(19132);let O=(()=>{class n{constructor(o,a){this.statusService=o,this.router=a}canActivate(o,a){return!!this.statusService.configuration.features["web-history"]||(this.router.navigate(["/","job","completed",o.parent.params.jid,"overview"]).then(),!1)}}return n.\u0275fac=function(o){return new(o||n)(t.LFG(c.B),t.LFG(A.F0))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var u=e(36895),C=e(77579),f=e(95698),T=e(39300),b=e(95577),v=e(82722),l=e(29562),r=e(21102),z=e(47932),k=e(45695),m=e(73325);function x(n,s){1&n&&(t.TgZ(0,"span"),t._uU(1," -\n"),t.qZA())}function y(n,s){if(1&n&&(t.TgZ(0,"a",2),t._UZ(1,"i",3),t.qZA(),t.TgZ(2,"nz-dropdown-menu",null,4)(4,"ul",5)(5,"li",6)(6,"a",7),t._uU(7,"View External Taskmanager Log"),t.qZA()()()()),2&n){const o=t.MAs(3),a=t.oxw();t.Q6J("nzDropdownMenu",o),t.xp6(5),t.Q6J("nzDisabled",a.loading),t.xp6(1),t.Q6J("href",a.logUrl,t.LSH)}}let S=(()=>{class n{constructor(o,a,i){this.jobLocalService=o,this.taskManagerService=a,this.cdr=i,this.loading=!0,this.logUrl="",this.destroy$=new C.x}ngOnInit(){this.jobLocalService.jobDetailChanges().pipe((0,f.q)(1),(0,T.h)(()=>!!this.subtask?.["taskmanager-id"]&&"(unassigned)"!==this.subtask["taskmanager-id"]),(0,b.z)(o=>this.taskManagerService.loadHistoryServerTaskManagerLogUrl(o.jid,this.subtask["taskmanager-id"])),(0,v.R)(this.destroy$)).subscribe(o=>{this.loading=!1,this.logUrl=o,this.cdr.markForCheck()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return n.\u0275fac=function(o){return new(o||n)(t.Y36(z.R),t.Y36(k.k),t.Y36(t.sBO))},n.\u0275cmp=t.Xpm({type:n,selectors:[["flink-completed-job-subtasks-table-action"]],inputs:{subtask:"subtask"},standalone:!0,features:[t.jDz],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["hrefTpl",""],["nz-dropdown","","nzPlacement","bottomRight",3,"nzDropdownMenu"],["nz-icon","","nzType","ellipsis","nzTheme","outline"],["menu","nzDropdownMenu"],["nz-menu",""],["nz-menu-item","",3,"nzDisabled"],["target","_blank",3,"href"]],template:function(o,a){if(1&o&&(t.YNc(0,x,2,0,"span",0),t.YNc(1,y,8,3,"ng-template",null,1,t.W1O)),2&o){const i=t.MAs(2);t.Q6J("ngIf",!a.subtask||!a.subtask["taskmanager-id"]||"(unassigned)"===a.subtask["taskmanager-id"])("ngIfElse",i)}},dependencies:[u.O5,l.b1,m.wO,m.r9,l.cm,l.Ws,l.RR,r.PV,r.Ls],changeDetection:0}),n})();var D=e(55270),d=e(23910);function E(n,s){1&n&&(t.TgZ(0,"span"),t._uU(1,"-"),t.qZA())}function U(n,s){if(1&n&&(t.ynx(0),t._UZ(1,"flink-table-aggregated-metrics",11),t.BQk()),2&n){const o=t.oxw(2);t.xp6(1),t.Q6J("aggregated",o.taskManager.aggregated)}}function R(n,s){if(1&n&&(t.TgZ(0,"li",12)(1,"a",13),t._uU(2,"View External Taskmanager Log"),t.qZA()()),2&n){const o=t.oxw(2);t.Q6J("nzDisabled",o.loading),t.xp6(1),t.Q6J("href",o.logUrl,t.LSH)}}function j(n,s){if(1&n){const o=t.EpF();t.TgZ(0,"a",2),t._UZ(1,"i",3),t.qZA(),t.TgZ(2,"nz-dropdown-menu",null,4)(4,"ul",5)(5,"li",6)(6,"a",7),t.NdJ("click",function(){t.CHM(o);const i=t.oxw();return t.KtG(i.setModalVisible(!0))}),t._uU(7,"View Aggregated Metrics"),t.qZA(),t.TgZ(8,"nz-modal",8),t.NdJ("nzVisibleChange",function(i){t.CHM(o);const J=t.oxw();return t.KtG(J.visible=i)})("nzOnCancel",function(){t.CHM(o);const i=t.oxw();return t.KtG(i.setModalVisible(!1))}),t.YNc(9,U,2,1,"ng-container",9),t.qZA()(),t.YNc(10,R,3,2,"li",10),t.qZA()()}if(2&n){const o=t.MAs(3),a=t.oxw();t.Q6J("nzDropdownMenu",o),t.xp6(8),t.Q6J("nzTitle",a.taskManager["taskmanager-id"])("nzVisible",a.visible)("nzFooter",null)("nzWidth",800),t.xp6(2),t.Q6J("ngIf",a.taskManager["taskmanager-id"]&&"(unassigned)"!==a.taskManager["taskmanager-id"])}}let I=(()=>{class n{constructor(o,a,i){this.jobLocalService=o,this.taskManagerService=a,this.cdr=i,this.visible=!1,this.loading=!0,this.logUrl="",this.destroy$=new C.x}ngOnInit(){this.jobLocalService.jobDetailChanges().pipe((0,f.q)(1),(0,T.h)(()=>!!this.taskManager?.["taskmanager-id"]&&"(unassigned)"!==this.taskManager["taskmanager-id"]),(0,b.z)(o=>this.taskManagerService.loadHistoryServerTaskManagerLogUrl(o.jid,this.taskManager["taskmanager-id"])),(0,v.R)(this.destroy$)).subscribe(o=>{this.loading=!1,this.logUrl=o,this.cdr.markForCheck()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setModalVisible(o){this.visible=o,this.cdr.markForCheck()}}return n.\u0275fac=function(o){return new(o||n)(t.Y36(z.R),t.Y36(k.k),t.Y36(t.sBO))},n.\u0275cmp=t.Xpm({type:n,selectors:[["flink-completed-job-taskmanagers-table-action"]],inputs:{taskManager:"taskManager"},standalone:!0,features:[t.jDz],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["hrefTpl",""],["nz-dropdown","","nzPlacement","bottomRight",3,"nzDropdownMenu"],["nz-icon","","nzType","ellipsis","nzTheme","outline"],["menu","nzDropdownMenu"],["nz-menu",""],["nz-menu-item",""],[3,"click"],[3,"nzTitle","nzVisible","nzFooter","nzWidth","nzVisibleChange","nzOnCancel"],[4,"nzModalContent"],["nz-menu-item","",3,"nzDisabled",4,"ngIf"],[3,"aggregated"],["nz-menu-item","",3,"nzDisabled"],["target","_blank",3,"href"]],template:function(o,a){if(1&o&&(t.YNc(0,E,2,0,"span",0),t.YNc(1,j,11,6,"ng-template",null,1,t.W1O)),2&o){const i=t.MAs(2);t.Q6J("ngIf",!a.taskManager)("ngIfElse",i)}},dependencies:[u.O5,l.b1,m.wO,m.r9,l.cm,l.Ws,l.RR,r.PV,r.Ls,d.Qp,d.du,d.Hf,D.B],changeDetection:0}),n})();var g=e(85336);const V=[{path:"",component:M.J,providers:[{provide:g.s,useFactory:n=>({customComponents:n.configuration.features["web-history"]?{...g.C.customComponents,subtaskActionComponent:S,taskManagerActionComponent:I}:g.C.customComponents}),deps:[c.B]},{provide:h.l,useFactory:n=>({routerTabs:n.configuration.features["web-history"]?[{title:"Overview",path:"overview"},{title:"Exceptions",path:"exceptions"},{title:"TimeLine",path:"timeline"},{title:"Checkpoints",path:"checkpoints"},{title:"Job Configuration",path:"configuration"},{title:"Cluster Configuration",path:"cluster_configuration"}]:h.f.routerTabs}),deps:[c.B]}],children:[{path:"overview",loadChildren:()=>Promise.all([e.e(9691),e.e(9088),e.e(8376)]).then(e.bind(e,28376)).then(n=>n.JOB_OVERVIEW_ROUTES),data:{path:"overview"}},{path:"timeline",loadComponent:()=>Promise.all([e.e(9691),e.e(170),e.e(6176)]).then(e.bind(e,66176)).then(n=>n.JobTimelineComponent),data:{path:"timeline"}},{path:"exceptions",loadComponent:()=>Promise.all([e.e(9398),e.e(8034)]).then(e.bind(e,28034)).then(n=>n.JobExceptionsComponent),data:{path:"exceptions"}},{path:"dataskew",loadComponent:()=>e.e(7550).then(e.bind(e,7550)).then(n=>n.DataSkewComponent),data:{path:"dataskew"}},{path:"checkpoints",loadComponent:()=>e.e(2880).then(e.bind(e,12880)).then(n=>n.JobCheckpointsComponent),data:{path:"checkpoints"}},{path:"configuration",loadComponent:()=>e.e(2245).then(e.bind(e,92245)).then(n=>n.JobConfigurationComponent),data:{path:"configuration"}},{path:"cluster_configuration",loadComponent:()=>Promise.all([e.e(8592),e.e(8135)]).then(e.bind(e,88135)).then(n=>n.ClusterConfigComponent),canActivate:[O],data:{path:"cluster_configuration"}},{path:"**",redirectTo:"overview",pathMatch:"full"}]}]}}]);




© 2015 - 2025 Weber Informatics LLC | Privacy Policy