tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhiyu...@apache.org
Subject [1/8] tez git commit: TEZ-3855 addendum. Allow vertex manager to send event to processor (zhiyuany) [Forced Update!]
Date Wed, 13 Dec 2017 00:01:43 GMT
Repository: tez
Updated Branches:
  refs/heads/branch-0.9.1 7b4f38b0d -> 23b58b2b9 (forced update)


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/b61e55ce
Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/b61e55ce
Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/b61e55ce

Branch: refs/heads/branch-0.9.1
Commit: b61e55ce9362e3a11761d57c876c83f09b03b159
Parents: b96f79f
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:48:43 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/b61e55ce/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