hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ss...@apache.org
Subject [2/8] hive git commit: HIVE-12447. Fix LlapTaskReporter post TEZ-808 changes. (Siddharth Seth, reviewed by Sergey Shelukhin)
Date Sun, 24 Jan 2016 23:29:13 GMT
HIVE-12447. Fix LlapTaskReporter post TEZ-808 changes. (Siddharth Seth, reviewed by Sergey
Shelukhin)


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

Branch: refs/heads/master
Commit: 9deed11a655f8ae5c308c6389025fd38983e0f8e
Parents: 53cf9ec
Author: Siddharth Seth <sseth@apache.org>
Authored: Sun Jan 24 15:20:38 2016 -0800
Committer: Siddharth Seth <sseth@apache.org>
Committed: Sun Jan 24 15:20:38 2016 -0800

----------------------------------------------------------------------
 .../apache/hadoop/hive/llap/daemon/impl/LlapTaskReporter.java    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/9deed11a/llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/LlapTaskReporter.java
----------------------------------------------------------------------
diff --git a/llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/LlapTaskReporter.java
b/llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/LlapTaskReporter.java
index fc66254..bb9f341 100644
--- a/llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/LlapTaskReporter.java
+++ b/llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/LlapTaskReporter.java
@@ -350,13 +350,15 @@ public class LlapTaskReporter implements TaskReporterInterface {
       float progress = 0;
       if (task.hasInitialized()) {
         progress = task.getProgress();
+        // TODO HIVE-12449. Make use of progress notifications once Hive starts sending them
out.
+        // progressNotified = task.getAndClearProgressNotification();
         if (sendCounters) {
           // send these potentially large objects at longer intervals to avoid overloading
the AM
           counters = task.getCounters();
           stats = task.getTaskStatistics();
         }
       }
-      return new TaskStatusUpdateEvent(counters, progress, stats);
+      return new TaskStatusUpdateEvent(counters, progress, stats, true);
     }
 
     /**


Mime
View raw message