You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tez.apache.org by bi...@apache.org on 2014/01/21 23:52:08 UTC

git commit: TEZ-650. MRHelpers.createMRInputPayloadWithGrouping() methods should not take an MRSplitsProto argument (Mohammad Kamrul Islam via bikas)

Updated Branches:
  refs/heads/master dec9181a9 -> 42fb13a61


TEZ-650. MRHelpers.createMRInputPayloadWithGrouping() methods should not take an MRSplitsProto argument (Mohammad Kamrul Islam via bikas)


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

Branch: refs/heads/master
Commit: 42fb13a61584e57fcf0e977d4fc9588491a940ac
Parents: dec9181
Author: Bikas Saha <bi...@apache.org>
Authored: Tue Jan 21 14:51:45 2014 -0800
Committer: Bikas Saha <bi...@apache.org>
Committed: Tue Jan 21 14:51:45 2014 -0800

----------------------------------------------------------------------
 CHANGES.txt                                         |  3 +++
 .../org/apache/tez/mapreduce/hadoop/MRHelpers.java  | 16 ----------------
 2 files changed, 3 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/42fb13a6/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 959f8ee..86f5394 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -9,6 +9,9 @@ INCOMPATIBLE CHANGES
  
   TEZ-41. Get VertexCommitter from API and remove MRVertexOutputCommitter.
 
+  TEZ-650. MRHelpers.createMRInputPayloadWithGrouping() methods should not
+  take an MRSplitsProto argument.
+
 Release 0.2.0 - 2013-11-30
 
   First version.

http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/42fb13a6/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/hadoop/MRHelpers.java
----------------------------------------------------------------------
diff --git a/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/hadoop/MRHelpers.java b/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/hadoop/MRHelpers.java
index 41cd7c9..7f7baf5 100644
--- a/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/hadoop/MRHelpers.java
+++ b/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/hadoop/MRHelpers.java
@@ -731,22 +731,6 @@ public class MRHelpers {
 
   /**
    * Called to specify that grouping of input splits be performed by Tez
-   * The configurationBytes conf should have the input format class configuration 
-   * set to the TezGroupedSplitsInputFormat. The real input format class name 
-   * should be passed as an argument to this method.
-   */
-  public static byte[] createMRInputPayloadWithGrouping(byte[] configurationBytes,
-      MRSplitsProto mrSplitsProto, String inputFormatName) throws IOException {
-    Preconditions.checkArgument(configurationBytes != null,
-        "Configuration bytes must be specified");
-    Preconditions.checkArgument(inputFormatName != null, 
-        "InputFormat must be specified");
-    return createMRInputPayload(ByteString
-        .copyFrom(configurationBytes), mrSplitsProto, inputFormatName);    
-  }
-
-  /**
-   * Called to specify that grouping of input splits be performed by Tez
    * The conf should have the input format class configuration 
    * set to the TezGroupedSplitsInputFormat. The real input format class name 
    * should be passed as an argument to this method.