You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tez.apache.org by ss...@apache.org on 2014/03/30 07:00:03 UTC

git commit: TEZ-1000. Add a placeholder partitioned unsorted output. (sseth)

Repository: incubator-tez
Updated Branches:
  refs/heads/master 792cda593 -> ed0bd6431


TEZ-1000. Add a placeholder partitioned unsorted output. (sseth)


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

Branch: refs/heads/master
Commit: ed0bd643131934504dad60b326520c1d0f3d99c5
Parents: 792cda5
Author: Siddharth Seth <ss...@apache.org>
Authored: Sat Mar 29 21:59:38 2014 -0700
Committer: Siddharth Seth <ss...@apache.org>
Committed: Sat Mar 29 21:59:38 2014 -0700

----------------------------------------------------------------------
 .../OnFileUnorderedPartitionedKVOutput.java     | 35 ++++++++++++++++++++
 1 file changed, 35 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/ed0bd643/tez-runtime-library/src/main/java/org/apache/tez/runtime/library/output/OnFileUnorderedPartitionedKVOutput.java
----------------------------------------------------------------------
diff --git a/tez-runtime-library/src/main/java/org/apache/tez/runtime/library/output/OnFileUnorderedPartitionedKVOutput.java b/tez-runtime-library/src/main/java/org/apache/tez/runtime/library/output/OnFileUnorderedPartitionedKVOutput.java
new file mode 100644
index 0000000..ff2af32
--- /dev/null
+++ b/tez-runtime-library/src/main/java/org/apache/tez/runtime/library/output/OnFileUnorderedPartitionedKVOutput.java
@@ -0,0 +1,35 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.tez.runtime.library.output;
+
+import org.apache.tez.runtime.api.LogicalOutput;
+
+/**
+ * <code>OnFileUnorderedPartitionedKVOutput</code> is a {@link LogicalOutput}
+ * which can be used to write Key-Value pairs. The key-value pairs are written
+ * to the correct partition based on the configured Partitioner.
+ * 
+ * This currently acts as a usable placeholder for writing unordered output (the data is sorted,
+ * which should be functionally correct since there's no guarantees on order without a sort).
+ * TEZ-661 to add a proper implementation.
+ * 
+ */
+public class OnFileUnorderedPartitionedKVOutput extends OnFileSortedOutput {
+
+}
\ No newline at end of file