YARN-8083. [UI2] All YARN related configurations are paged together in conf page. Contributed by Gergely Novák.

(cherry picked from commit b17dc9f5f5)
This commit is contained in:
Sunil G 2018-04-06 21:53:14 +05:30
parent a336561e2b
commit 58a5ee378a
2 changed files with 12 additions and 4 deletions

View File

@ -24,7 +24,15 @@ import ColumnDef from 'em-table/utils/column-definition';
import YarnConf from '../../models/yarn-conf';
export default Ember.Controller.extend({
tableDefinition: TableDef.create({
coreTableDefinition: TableDef.create({
searchType: 'manual',
}),
mapredTableDefinition: TableDef.create({
searchType: 'manual',
}),
yarnTableDefinition: TableDef.create({
searchType: 'manual',
}),

View File

@ -17,12 +17,12 @@
}}
<h1>Core Configuration</h1>
{{em-table columns=columnsFromModel rows=rowsForCoreColumnsFromModel rowCount=10 definition=tableDefinition}}
{{em-table columns=columnsFromModel rows=rowsForCoreColumnsFromModel rowCount=10 definition=coreTableDefinition}}
<h1>YARN Configuration</h1>
{{em-table columns=columnsFromModel rows=rowsForYarnColumnsFromModel rowCount=10 definition=tableDefinition}}
{{em-table columns=columnsFromModel rows=rowsForYarnColumnsFromModel rowCount=10 definition=yarnTableDefinition}}
<h1>MapReduce Configuration</h1>
{{em-table columns=columnsFromModel rows=rowsForMapredColumnsFromModel rowCount=10 definition=tableDefinition}}
{{em-table columns=columnsFromModel rows=rowsForMapredColumnsFromModel rowCount=10 definition=mapredTableDefinition}}
{{outlet}}