Ver código fonte

AMBARI-1189. Add App.Job class. (yusaku)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1433662 13f79535-47bb-0310-9956-ffa450edef68
Yusaku Sako 12 anos atrás
pai
commit
1f5f1b6c67
2 arquivos alterados com 4 adições e 1 exclusões
  1. 2 0
      CHANGES.txt
  2. 2 1
      ambari-web/app/mappers/jobs_mapper.js

+ 2 - 0
CHANGES.txt

@@ -17,6 +17,8 @@ Trunk (unreleased changes):
 
  IMPROVEMENTS
 
+ AMBARI-1189. Add App.Job class. (yusaku)
+
  AMBARI-1188. Refactor isClient computed property for HostComponent class.
  (yusaku)
 

+ 2 - 1
ambari-web/app/mappers/jobs_mapper.js

@@ -38,7 +38,6 @@ App.jobsMapper = App.QuickDataMapper.create({
     job_name:'jobName',
     workflow_entity_name:'workflowEntityName',
     user_name:'userName',
-    conf_path:'confPath',
     submit_time:'submitTime',
     maps:'maps',
     reduces:'reduces',
@@ -50,6 +49,7 @@ App.jobsMapper = App.QuickDataMapper.create({
 });
 
 App.jobTimeLineMapper = App.QuickDataMapper.create({
+  model: null, //model will be set outside of mapper
   config:{
     map:'map',
     shuffle:'shuffle',
@@ -66,6 +66,7 @@ App.jobTimeLineMapper = App.QuickDataMapper.create({
 });
 
 App.jobTasksMapper = App.QuickDataMapper.create({
+  model: null, //model will be set outside of mapper
   config:{
     mapNodeLocal:'mapNodeLocal',
     mapRackLocal:'mapRackLocal',