tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhiyu...@apache.org
Subject tez git commit: TEZ-3855 addendum. Allow vertex manager to send event to processor (zhiyuany)
Date Wed, 15 Nov 2017 21:55:35 GMT
Repository: tez
Updated Branches:
  refs/heads/branch-0.9.1 db82cc2ed -> 7b4f38b0d


TEZ-3855 addendum. Allow vertex manager to send event to processor (zhiyuany)


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

Branch: refs/heads/branch-0.9.1
Commit: 7b4f38b0d59d6c77d7631a168cc52f3ddc2c528b
Parents: db82cc2
Author: Zhiyuan Yang <zhiyuany@apache.org>
Authored: Wed Nov 15 13:48:43 2017 -0800
Committer: Zhiyuan Yang <zhiyuany@apache.org>
Committed: Wed Nov 15 13:55:20 2017 -0800

----------------------------------------------------------------------
 .../org/apache/tez/runtime/api/events/CustomProcessorEvent.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/7b4f38b0/tez-api/src/main/java/org/apache/tez/runtime/api/events/CustomProcessorEvent.java
----------------------------------------------------------------------
diff --git a/tez-api/src/main/java/org/apache/tez/runtime/api/events/CustomProcessorEvent.java
b/tez-api/src/main/java/org/apache/tez/runtime/api/events/CustomProcessorEvent.java
index 9cfb02e..7d84a1d 100644
--- a/tez-api/src/main/java/org/apache/tez/runtime/api/events/CustomProcessorEvent.java
+++ b/tez-api/src/main/java/org/apache/tez/runtime/api/events/CustomProcessorEvent.java
@@ -51,7 +51,7 @@ public class CustomProcessorEvent extends Event {
   }
 
   public ByteBuffer getPayload() {
-    return payload;
+    return payload.asReadOnlyBuffer();
   }
 
   @Private


Mime
View raw message