You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tez.apache.org by hi...@apache.org on 2014/12/22 20:21:24 UTC

tez git commit: TEZ-1886. remove deprecation warnings for tez-ui on the console. (Prakash Ramachandran via hitesh)

Repository: tez
Updated Branches:
  refs/heads/master efcd0e7b5 -> 174b11bb0


TEZ-1886. remove deprecation warnings for tez-ui on the console. (Prakash Ramachandran via hitesh)


Project: http://git-wip-us.apache.org/repos/asf/tez/repo
Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/174b11bb
Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/174b11bb
Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/174b11bb

Branch: refs/heads/master
Commit: 174b11bb067231a27744ba05f791b61e90364103
Parents: efcd0e7
Author: Hitesh Shah <hi...@apache.org>
Authored: Mon Dec 22 11:20:35 2014 -0800
Committer: Hitesh Shah <hi...@apache.org>
Committed: Mon Dec 22 11:20:35 2014 -0800

----------------------------------------------------------------------
 CHANGES.txt                                                | 1 +
 tez-ui/src/main/webapp/app/index.html                      | 1 -
 tez-ui/src/main/webapp/app/scripts/app.js                  | 3 +++
 tez-ui/src/main/webapp/app/templates/dag.hbs               | 4 ++--
 tez-ui/src/main/webapp/app/templates/dag/index.hbs         | 8 ++++----
 tez-ui/src/main/webapp/app/templates/task/index.hbs        | 8 ++++----
 tez-ui/src/main/webapp/app/templates/taskAttempt/index.hbs | 8 ++++----
 tez-ui/src/main/webapp/app/templates/tez-app/index.hbs     | 6 +++---
 tez-ui/src/main/webapp/app/templates/vertex/index.hbs      | 8 ++++----
 9 files changed, 25 insertions(+), 22 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/174b11bb/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 743a5b9..f32633d 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -6,6 +6,7 @@ Release 0.6.0: Unreleased
 INCOMPATIBLE CHANGES
 
 ALL CHANGES:
+  TEZ-1886. remove deprecation warnings for tez-ui on the console.
   TEZ-1875. dropdown filters do not work on vertices and task attempts page.
   TEZ-1873. TestTezAMRMClient fails due to host resolution timing out.
   TEZ-1881. Setup initial test-patch script for TEZ-1313.

http://git-wip-us.apache.org/repos/asf/tez/blob/174b11bb/tez-ui/src/main/webapp/app/index.html
----------------------------------------------------------------------
diff --git a/tez-ui/src/main/webapp/app/index.html b/tez-ui/src/main/webapp/app/index.html
index 7e2644f..73e991b 100644
--- a/tez-ui/src/main/webapp/app/index.html
+++ b/tez-ui/src/main/webapp/app/index.html
@@ -35,7 +35,6 @@
 
   <body>
     <!-- build:js(app) scripts/components.js -->
-    <script src="bower_components/cldr/plurals.js"></script>
     <script src="bower_components/jquery/jquery.js"></script>
     <script src="bower_components/jquery-ui/jquery-ui.js"></script>
     <script src="bower_components/bootstrap/js/dropdown.js"></script>

http://git-wip-us.apache.org/repos/asf/tez/blob/174b11bb/tez-ui/src/main/webapp/app/scripts/app.js
----------------------------------------------------------------------
diff --git a/tez-ui/src/main/webapp/app/scripts/app.js b/tez-ui/src/main/webapp/app/scripts/app.js
index d74ca34..fe2ea4d 100644
--- a/tez-ui/src/main/webapp/app/scripts/app.js
+++ b/tez-ui/src/main/webapp/app/scripts/app.js
@@ -16,6 +16,9 @@
  * limitations under the License.
  */
 
+Ember.FEATURES.I18N_TRANSLATE_HELPER_SPAN = false;
+Ember.ENV.I18N_COMPILE_WITHOUT_HANDLEBARS = true;
+
 var App = window.App = Em.Application.createWithMixins(Bootstrap, {
   // Basic logging, e.g. "Transitioned into 'post'"
   LOG_TRANSITIONS: true,

http://git-wip-us.apache.org/repos/asf/tez/blob/174b11bb/tez-ui/src/main/webapp/app/templates/dag.hbs
----------------------------------------------------------------------
diff --git a/tez-ui/src/main/webapp/app/templates/dag.hbs b/tez-ui/src/main/webapp/app/templates/dag.hbs
index b7d3da9..6980401 100644
--- a/tez-ui/src/main/webapp/app/templates/dag.hbs
+++ b/tez-ui/src/main/webapp/app/templates/dag.hbs
@@ -32,11 +32,11 @@
             <td>{{id}}</td>
           </tr>
           <tr>
-            <td>{{t common.applicationId}}</td>
+            <td>{{t 'common.applicationId'}}</td>
             <td>{{applicationId}}</td>
           </tr>
           <tr>
-            <td>{{t common.user}}</td>
+            <td>{{t 'common.user'}}</td>
             <td>{{user}}</td>
           </tr>
         </tbody>

http://git-wip-us.apache.org/repos/asf/tez/blob/174b11bb/tez-ui/src/main/webapp/app/templates/dag/index.hbs
----------------------------------------------------------------------
diff --git a/tez-ui/src/main/webapp/app/templates/dag/index.hbs b/tez-ui/src/main/webapp/app/templates/dag/index.hbs
index 36a44fb..0d38686 100644
--- a/tez-ui/src/main/webapp/app/templates/dag/index.hbs
+++ b/tez-ui/src/main/webapp/app/templates/dag/index.hbs
@@ -21,7 +21,7 @@
 		<table class='detail-list'>
 			<tbody>
 				<tr>
-					<td>{{t common.status}}</td>
+					<td>{{t 'common.status'}}</td>
 					<td>
 						{{status}}
 						<i {{bind-attr class=':task-status taskIconStatus'}}></i>
@@ -39,15 +39,15 @@
 		<table class='detail-list'>
 			<tbody>
 				<tr>
-					<td>{{t common.time.start}}</td>
+					<td>{{t 'common.time.start'}}</td>
 					<td>{{formatUnixTimestamp startTime}}</td>
 				</tr>
 				<tr>
-					<td>{{t common.time.end}}</td>
+					<td>{{t 'common.time.end'}}</td>
 					<td>{{formatUnixTimestamp endTime}}</td>
 				</tr>
 				<tr>
-					<td>{{t common.time.duration}}</td>
+					<td>{{t 'common.time.duration'}}</td>
 					<td>{{formatDuration startTime endTime}}</td>
 				</tr>
 			</tbody>

http://git-wip-us.apache.org/repos/asf/tez/blob/174b11bb/tez-ui/src/main/webapp/app/templates/task/index.hbs
----------------------------------------------------------------------
diff --git a/tez-ui/src/main/webapp/app/templates/task/index.hbs b/tez-ui/src/main/webapp/app/templates/task/index.hbs
index eda26f0..a43792b 100644
--- a/tez-ui/src/main/webapp/app/templates/task/index.hbs
+++ b/tez-ui/src/main/webapp/app/templates/task/index.hbs
@@ -21,7 +21,7 @@
 		<table class='detail-list'>
 			<tbody>
 				<tr>
-					<td>{{t common.status}}</td>
+					<td>{{t 'common.status'}}</td>
 					<td>
 						{{status}}
 						<i {{bind-attr class=':task-status taskIconStatus'}}></i>
@@ -34,15 +34,15 @@
 		<table class='detail-list'>
 			<tbody>
 				<tr>
-					<td>{{t common.time.start}}</td>
+					<td>{{t 'common.time.start'}}</td>
 					<td>{{formatUnixTimestamp startTime}}</td>
 				</tr>
 				<tr>
-					<td>{{t common.time.end}}</td>
+					<td>{{t 'common.time.end'}}</td>
 					<td>{{formatUnixTimestamp endTime}}</td>
 				</tr>
 				<tr>
-					<td>{{t common.time.duration}}</td>
+					<td>{{t 'common.time.duration'}}</td>
 					<td>{{formatDuration startTime endTime}}</td>
 				</tr>
 			</tbody>

http://git-wip-us.apache.org/repos/asf/tez/blob/174b11bb/tez-ui/src/main/webapp/app/templates/taskAttempt/index.hbs
----------------------------------------------------------------------
diff --git a/tez-ui/src/main/webapp/app/templates/taskAttempt/index.hbs b/tez-ui/src/main/webapp/app/templates/taskAttempt/index.hbs
index 7aa3073..d56aff4 100644
--- a/tez-ui/src/main/webapp/app/templates/taskAttempt/index.hbs
+++ b/tez-ui/src/main/webapp/app/templates/taskAttempt/index.hbs
@@ -21,7 +21,7 @@
 		<table class='detail-list'>
 			<tbody>
 				<tr>
-					<td>{{t common.status}}</td>
+					<td>{{t 'common.status'}}</td>
 					<td>
 						{{status}}
 						<i {{bind-attr class=':task-status taskIconStatus'}}></i>
@@ -42,15 +42,15 @@
 		<table class='detail-list'>
 			<tbody>
 				<tr>
-					<td>{{t common.time.start}}</td>
+					<td>{{t 'common.time.start'}}</td>
 					<td>{{formatUnixTimestamp startTime}}</td>
 				</tr>
 				<tr>
-					<td>{{t common.time.end}}</td>
+					<td>{{t 'common.time.end'}}</td>
 					<td>{{formatUnixTimestamp endTime}}</td>
 				</tr>
 				<tr>
-					<td>{{t common.time.duration}}</td>
+					<td>{{t 'common.time.duration'}}</td>
 					<td>{{formatDuration startTime endTime}}</td>
 				</tr>
 			</tbody>

http://git-wip-us.apache.org/repos/asf/tez/blob/174b11bb/tez-ui/src/main/webapp/app/templates/tez-app/index.hbs
----------------------------------------------------------------------
diff --git a/tez-ui/src/main/webapp/app/templates/tez-app/index.hbs b/tez-ui/src/main/webapp/app/templates/tez-app/index.hbs
index 90a335b..07777dd 100644
--- a/tez-ui/src/main/webapp/app/templates/tez-app/index.hbs
+++ b/tez-ui/src/main/webapp/app/templates/tez-app/index.hbs
@@ -57,15 +57,15 @@
     <table class='detail-list'>
       <tbody>
         <tr>
-          <td>{{t common.time.start}}</td>
+          <td>{{t 'common.time.start'}}</td>
           <td>{{formatUnixTimestamp appDetail.startedTime}}</td>
         </tr>
         <tr>
-          <td>{{t common.time.end}}</td>
+          <td>{{t 'common.time.end'}}</td>
           <td>{{formatUnixTimestamp appDetail.finishedTime}}</td>
         </tr>
         <tr>
-          <td>{{t common.time.duration}}</td>
+          <td>{{t 'common.time.duration'}}</td>
           <td>{{formatDuration appDetail.startedTime appDetail.finishedTime}}</td>
         </tr>
       </tbody>

http://git-wip-us.apache.org/repos/asf/tez/blob/174b11bb/tez-ui/src/main/webapp/app/templates/vertex/index.hbs
----------------------------------------------------------------------
diff --git a/tez-ui/src/main/webapp/app/templates/vertex/index.hbs b/tez-ui/src/main/webapp/app/templates/vertex/index.hbs
index 2d92a65..cbb0c44 100644
--- a/tez-ui/src/main/webapp/app/templates/vertex/index.hbs
+++ b/tez-ui/src/main/webapp/app/templates/vertex/index.hbs
@@ -28,7 +28,7 @@
           </td>
         </tr>
         <tr>
-          <td>{{t common.status}}</td>
+          <td>{{t 'common.status'}}</td>
           <td>
             <i {{bind-attr class=':task-status iconStatus'}}></i>
             {{status}}
@@ -84,15 +84,15 @@
     <table class='detail-list inline-block'>
       <tbody>
         <tr>
-          <td>{{t common.time.start}}</td>
+          <td>{{t 'common.time.start'}}</td>
           <td>{{formatUnixTimestamp startTime}}</td>
         </tr>
         <tr>
-          <td>{{t common.time.end}}</td>
+          <td>{{t 'common.time.end'}}</td>
           <td>{{formatUnixTimestamp endTime}}</td>
         </tr>
         <tr>
-          <td>{{t common.time.duration}}</td>
+          <td>{{t 'common.time.duration'}}</td>
           <td>{{formatDuration startTime endTime}}</td>
         </tr>
         <tr>