giraph-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ni...@apache.org
Subject git commit: GIRAPH-: Remove munge.
Date Thu, 21 Mar 2013 17:20:58 GMT
Updated Branches:
  refs/heads/hadoops-485 [created] cf6cc3e12


GIRAPH-: Remove munge.


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

Branch: refs/heads/hadoops-485
Commit: cf6cc3e124791e61cd21e77ba92dd6b39961b2bb
Parents: 9251743
Author: Nitay Joffe <nitay@apache.org>
Authored: Mon Feb 25 17:05:18 2013 -0800
Committer: Nitay Joffe <nitay@apache.org>
Committed: Mon Feb 25 17:05:18 2013 -0800

----------------------------------------------------------------------
 .../giraph/bsp/ImmutableOutputCommitter.java       |    4 +---
 .../java/org/apache/giraph/hadoop/HadoopShims.java |    7 +++++++
 2 files changed, 8 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/giraph/blob/cf6cc3e1/giraph-core/src/main/java/org/apache/giraph/bsp/ImmutableOutputCommitter.java
----------------------------------------------------------------------
diff --git a/giraph-core/src/main/java/org/apache/giraph/bsp/ImmutableOutputCommitter.java
b/giraph-core/src/main/java/org/apache/giraph/bsp/ImmutableOutputCommitter.java
index e5480cc..dd7d3a3 100644
--- a/giraph-core/src/main/java/org/apache/giraph/bsp/ImmutableOutputCommitter.java
+++ b/giraph-core/src/main/java/org/apache/giraph/bsp/ImmutableOutputCommitter.java
@@ -53,11 +53,9 @@ class ImmutableOutputCommitter extends OutputCommitter {
   }
 
   @Override
-  /*if[HADOOP_NON_SECURE]
   public void cleanupJob(JobContext jobContext) throws IOException {
   }
-  else[HADOOP_NON_SECURE]*/
-  /*end[HADOOP_NON_SECURE]*/
+  @Override
   public void commitJob(JobContext jobContext) throws IOException {
   }
 }

http://git-wip-us.apache.org/repos/asf/giraph/blob/cf6cc3e1/giraph-core/src/main/java/org/apache/giraph/hadoop/HadoopShims.java
----------------------------------------------------------------------
diff --git a/giraph-core/src/main/java/org/apache/giraph/hadoop/HadoopShims.java b/giraph-core/src/main/java/org/apache/giraph/hadoop/HadoopShims.java
new file mode 100644
index 0000000..fa5d495
--- /dev/null
+++ b/giraph-core/src/main/java/org/apache/giraph/hadoop/HadoopShims.java
@@ -0,0 +1,7 @@
+package org.apache.giraph.hadoop;
+
+import org.apache.hadoop.mapreduce.OutputCommitter;
+
+public interface HadoopShims {
+  OutputCommitter getImmutableOutputCommitter();
+}


Mime
View raw message