ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pallav...@apache.org
Subject ambari git commit: AMBARI-19752. Hive View 2.0 execute button needs some feedback (pallavkul)
Date Mon, 30 Jan 2017 09:01:02 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 fe1523fcb -> c9ab7a680


AMBARI-19752. Hive View 2.0 execute button needs some feedback (pallavkul)


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

Branch: refs/heads/branch-2.5
Commit: c9ab7a68004582f7a69faed5249ca2dd167fcae1
Parents: fe1523f
Author: pallavkul <pallav.kul@gmail.com>
Authored: Mon Jan 30 14:27:44 2017 +0530
Committer: pallavkul <pallav.kul@gmail.com>
Committed: Mon Jan 30 14:30:42 2017 +0530

----------------------------------------------------------------------
 contrib/views/hive20/src/main/resources/ui/app/services/jobs.js  | 4 ----
 contrib/views/hive20/src/main/resources/ui/app/styles/app.scss   | 4 ++++
 .../hive20/src/main/resources/ui/app/templates/queries/query.hbs | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/c9ab7a68/contrib/views/hive20/src/main/resources/ui/app/services/jobs.js
----------------------------------------------------------------------
diff --git a/contrib/views/hive20/src/main/resources/ui/app/services/jobs.js b/contrib/views/hive20/src/main/resources/ui/app/services/jobs.js
index ff54152..5db22d0 100644
--- a/contrib/views/hive20/src/main/resources/ui/app/services/jobs.js
+++ b/contrib/views/hive20/src/main/resources/ui/app/services/jobs.js
@@ -27,16 +27,12 @@ export default Ember.Service.extend({
   },
 
   waitForJobToComplete(jobId, after, fetchDummyResult = true) {
-    console.log()
     return new Ember.RSVP.Promise((resolve, reject) => {
       Ember.run.later(() => {
         this.get('store').findRecord('job', jobId, { reload: true })
           .then((job) => {
             let status = job.get('status').toLowerCase();
             if (status === 'succeeded') {
-              if (fetchDummyResult) {
-                this._fetchDummyResult(jobId);
-              }
               resolve(status);
             } else if (status === 'error') {
               reject(status)

http://git-wip-us.apache.org/repos/asf/ambari/blob/c9ab7a68/contrib/views/hive20/src/main/resources/ui/app/styles/app.scss
----------------------------------------------------------------------
diff --git a/contrib/views/hive20/src/main/resources/ui/app/styles/app.scss b/contrib/views/hive20/src/main/resources/ui/app/styles/app.scss
index e178222..17abb65 100644
--- a/contrib/views/hive20/src/main/resources/ui/app/styles/app.scss
+++ b/contrib/views/hive20/src/main/resources/ui/app/styles/app.scss
@@ -41,6 +41,10 @@
   height: 100%;
 }
 
+.fa-1-5{
+  font-size: 1.5em;
+}
+
 .fa-2 {
   font-size: 2em;
 }

http://git-wip-us.apache.org/repos/asf/ambari/blob/c9ab7a68/contrib/views/hive20/src/main/resources/ui/app/templates/queries/query.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/hive20/src/main/resources/ui/app/templates/queries/query.hbs b/contrib/views/hive20/src/main/resources/ui/app/templates/queries/query.hbs
index 9e9e542..7f91d6c 100644
--- a/contrib/views/hive20/src/main/resources/ui/app/templates/queries/query.hbs
+++ b/contrib/views/hive20/src/main/resources/ui/app/templates/queries/query.hbs
@@ -31,7 +31,7 @@
         <button class="btn btn-success" {{action "executeQuery" }}>{{fa-icon "check"}}
Execute</button>
         <button class="btn btn-default" {{action "openWorksheetModal" }}>{{fa-icon
"save"}} Save As</button>
         {{#if isQueryRunning}}
-          <img src="http://www.bba-reman.com/images/fbloader.gif" height="22" width="32"
/>
+          {{fa-icon "spinner fa-1-5" spin=true}}
         {{/if}}
       </div>
     </div>


Mime
View raw message