@Override protected String initAppsTable() { return WebPageUtils.appsTableInit(true); }
public static String appsTableInit( boolean isFairSchedulerPage, boolean isResourceManager) { // id, user, name, queue, starttime, finishtime, state, status, progress, ui // FairSchedulerPage's table is a bit different return tableInit() .append(", 'aaData': appsTableData") .append(", bDeferRender: true") .append(", bProcessing: true") .append("\n, aoColumnDefs: ") .append(getAppsTableColumnDefs(isFairSchedulerPage, isResourceManager)) // Sort by id upon page load .append(", aaSorting: [[0, 'desc']]}").toString(); }
public static String attemptsTableInit() { return tableInit().append(", 'aaData': attemptsTableData") .append(", bDeferRender: true").append(", bProcessing: true") .append("\n, aoColumnDefs: ").append(getAttemptsTableColumnDefs()) // Sort by id upon page load .append(", aaSorting: [[0, 'desc']]}").toString(); }
@Override protected void preHead(Page.HTML<_> html) { commonPreHead(html); String appId = $(YarnWebParams.APPLICATION_ID); set( TITLE, appId.isEmpty() ? "Bad request: missing application ID" : join( "Application ", $(YarnWebParams.APPLICATION_ID))); set(DATATABLES_ID, "attempts ResourceRequests"); set(initID(DATATABLES, "attempts"), WebPageUtils.attemptsTableInit()); setTableStyles(html, "attempts", ".queue {width:6em}", ".ui {width:8em}"); setTableStyles(html, "ResourceRequests"); set(YarnWebParams.WEB_UI_TYPE, YarnWebParams.APP_HISTORY_WEB_UI); }
@Override protected void preHead(Page.HTML<_> html) { commonPreHead(html); String appAttemptId = $(YarnWebParams.APPLICATION_ATTEMPT_ID); set( TITLE, appAttemptId.isEmpty() ? "Bad request: missing application attempt ID" : join("Application Attempt ", $(YarnWebParams.APPLICATION_ATTEMPT_ID))); set(DATATABLES_ID, "containers"); set(initID(DATATABLES, "containers"), WebPageUtils.containersTableInit()); setTableStyles(html, "containers", ".queue {width:6em}", ".ui {width:8em}"); set(YarnWebParams.WEB_UI_TYPE, YarnWebParams.APP_HISTORY_WEB_UI); }
@Override protected void preHead(Page.HTML<__> html) { commonPreHead(html); String appAttemptId = $(YarnWebParams.APPLICATION_ATTEMPT_ID); set( TITLE, appAttemptId.isEmpty() ? "Bad request: missing application attempt ID" : join("Application Attempt ", $(YarnWebParams.APPLICATION_ATTEMPT_ID))); set(DATATABLES_ID, "containers resourceRequests"); set(initID(DATATABLES, "containers"), WebPageUtils.containersTableInit()); set(initID(DATATABLES, "resourceRequests"), WebPageUtils.resourceRequestsTableInit()); setTableStyles(html, "containers", ".queue {width:6em}", ".ui {width:8em}"); set(YarnWebParams.WEB_UI_TYPE, YarnWebParams.RM_WEB_UI); }
public static String containersTableInit() { return tableInit().append(", 'aaData': containersTableData") .append(", bDeferRender: true").append(", bProcessing: true") .append("\n, aoColumnDefs: ").append(getContainersTableColumnDefs()) // Sort by id upon page load .append(", aaSorting: [[0, 'desc']]}").toString(); }
public static String appsTableInit(boolean isFairSchedulerPage) { // id, user, name, queue, starttime, finishtime, state, status, progress, ui // FairSchedulerPage's table is a bit different return tableInit() .append(", 'aaData': appsTableData") .append(", bDeferRender: true") .append(", bProcessing: true") .append("\n, aoColumnDefs: ") .append(getAppsTableColumnDefs(isFairSchedulerPage)) // Sort by id upon page load .append(", aaSorting: [[0, 'desc']]}").toString(); }
@Override protected void preHead(Page.HTML<__> html) { commonPreHead(html); String appId = $(YarnWebParams.APPLICATION_ID); set( TITLE, appId.isEmpty() ? "Bad request: missing application ID" : join( "Application ", $(YarnWebParams.APPLICATION_ID))); set(DATATABLES_ID, "attempts ResourceRequests"); set(initID(DATATABLES, "attempts"), WebPageUtils.attemptsTableInit()); setTableStyles(html, "attempts", ".queue {width:6em}", ".ui {width:8em}"); setTableStyles(html, "ResourceRequests"); set(YarnWebParams.WEB_UI_TYPE, YarnWebParams.APP_HISTORY_WEB_UI); }
@Override protected void preHead(Page.HTML<_> html) { commonPreHead(html); String appAttemptId = $(YarnWebParams.APPLICATION_ATTEMPT_ID); set( TITLE, appAttemptId.isEmpty() ? "Bad request: missing application attempt ID" : join("Application Attempt ", $(YarnWebParams.APPLICATION_ATTEMPT_ID))); set(DATATABLES_ID, "containers"); set(initID(DATATABLES, "containers"), WebPageUtils.containersTableInit()); setTableStyles(html, "containers", ".queue {width:6em}", ".ui {width:8em}"); set(YarnWebParams.WEB_UI_TYPE, YarnWebParams.APP_HISTORY_WEB_UI); }
public static String containersTableInit() { return tableInit().append(", 'aaData': containersTableData") .append(", bDeferRender: true").append(", bProcessing: true") .append("\n, aoColumnDefs: ").append(getContainersTableColumnDefs()) // Sort by id upon page load .append(", aaSorting: [[0, 'desc']]}").toString(); }
public static String appsTableInit(boolean isFairSchedulerPage) { // id, user, name, queue, starttime, finishtime, state, status, progress, ui // FairSchedulerPage's table is a bit different return tableInit() .append(", 'aaData': appsTableData") .append(", bDeferRender: true") .append(", bProcessing: true") .append("\n, aoColumnDefs: ") .append(getAppsTableColumnDefs(isFairSchedulerPage)) // Sort by id upon page load .append(", aaSorting: [[0, 'desc']]}").toString(); }
protected String initAppsTable() { return WebPageUtils.appsTableInit(); } }
@Override protected void preHead(Page.HTML<_> html) { commonPreHead(html); String appId = $(YarnWebParams.APPLICATION_ID); set( TITLE, appId.isEmpty() ? "Bad request: missing application ID" : join( "Application ", $(YarnWebParams.APPLICATION_ID))); set(DATATABLES_ID, "attempts ResourceRequests"); set(initID(DATATABLES, "attempts"), WebPageUtils.attemptsTableInit()); setTableStyles(html, "attempts", ".queue {width:6em}", ".ui {width:8em}"); setTableStyles(html, "ResourceRequests"); set(YarnWebParams.WEB_UI_TYPE, YarnWebParams.RM_WEB_UI); }
@Override protected void preHead(Page.HTML<_> html) { commonPreHead(html); String appAttemptId = $(YarnWebParams.APPLICATION_ATTEMPT_ID); set( TITLE, appAttemptId.isEmpty() ? "Bad request: missing application attempt ID" : join("Application Attempt ", $(YarnWebParams.APPLICATION_ATTEMPT_ID))); set(DATATABLES_ID, "containers"); set(initID(DATATABLES, "containers"), WebPageUtils.containersTableInit()); setTableStyles(html, "containers", ".queue {width:6em}", ".ui {width:8em}"); set(YarnWebParams.WEB_UI_TYPE, YarnWebParams.RM_WEB_UI); }
public static String attemptsTableInit() { return tableInit().append(", 'aaData': attemptsTableData") .append(", bDeferRender: true").append(", bProcessing: true") .append("\n, aoColumnDefs: ").append(getAttemptsTableColumnDefs()) // Sort by id upon page load .append(", aaSorting: [[0, 'desc']]}").toString(); }
public static String containersTableInit() { return tableInit().append(", 'aaData': containersTableData") .append(", bDeferRender: true").append(", bProcessing: true") .append("\n, aoColumnDefs: ").append(getContainersTableColumnDefs()) // Sort by id upon page load .append(", aaSorting: [[0, 'desc']]}").toString(); }
protected String initAppsTable() { return WebPageUtils.appsTableInit(); } }
@Override protected void preHead(Page.HTML<_> html) { commonPreHead(html); String appId = $(YarnWebParams.APPLICATION_ID); set( TITLE, appId.isEmpty() ? "Bad request: missing application ID" : join( "Application ", $(YarnWebParams.APPLICATION_ID))); set(DATATABLES_ID, "attempts ResourceRequests"); set(initID(DATATABLES, "attempts"), WebPageUtils.attemptsTableInit()); setTableStyles(html, "attempts", ".queue {width:6em}", ".ui {width:8em}"); setTableStyles(html, "ResourceRequests"); set(YarnWebParams.WEB_UI_TYPE, YarnWebParams.APP_HISTORY_WEB_UI); }
@Override protected void preHead(Page.HTML<_> html) { commonPreHead(html); String appAttemptId = $(YarnWebParams.APPLICATION_ATTEMPT_ID); set( TITLE, appAttemptId.isEmpty() ? "Bad request: missing application attempt ID" : join("Application Attempt ", $(YarnWebParams.APPLICATION_ATTEMPT_ID))); set(DATATABLES_ID, "containers"); set(initID(DATATABLES, "containers"), WebPageUtils.containersTableInit()); setTableStyles(html, "containers", ".queue {width:6em}", ".ui {width:8em}"); set(YarnWebParams.WEB_UI_TYPE, YarnWebParams.RM_WEB_UI); }