You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by mm...@apache.org on 2019/04/29 18:56:32 UTC
[accumulo] branch master updated: Remove Simulation Mode from MR
API (#1137)
This is an automated email from the ASF dual-hosted git repository.
mmiller pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/accumulo.git
The following commit(s) were added to refs/heads/master by this push:
new 23fb18f Remove Simulation Mode from MR API (#1137)
23fb18f is described below
commit 23fb18f1c6a4c0230c70e5d125ca4ff63e0e8e54
Author: Mike Miller <mm...@apache.org>
AuthorDate: Mon Apr 29 14:56:27 2019 -0400
Remove Simulation Mode from MR API (#1137)
---
.../org/apache/accumulo/hadoop/mapreduce/OutputFormatBuilder.java | 8 --------
.../accumulo/hadoopImpl/mapreduce/OutputFormatBuilderImpl.java | 6 ------
2 files changed, 14 deletions(-)
diff --git a/hadoop-mapreduce/src/main/java/org/apache/accumulo/hadoop/mapreduce/OutputFormatBuilder.java b/hadoop-mapreduce/src/main/java/org/apache/accumulo/hadoop/mapreduce/OutputFormatBuilder.java
index 134346e..e088965 100644
--- a/hadoop-mapreduce/src/main/java/org/apache/accumulo/hadoop/mapreduce/OutputFormatBuilder.java
+++ b/hadoop-mapreduce/src/main/java/org/apache/accumulo/hadoop/mapreduce/OutputFormatBuilder.java
@@ -79,14 +79,6 @@ public interface OutputFormatBuilder {
OutputOptions<T> createTables(boolean value);
/**
- * Enables the directive to use simulation mode for this job. In simulation mode, no output is
- * produced. This is useful for testing.
- * <p>
- * By default, this feature is <b>disabled</b>.
- */
- OutputOptions<T> simulationMode(boolean value);
-
- /**
* Finish configuring, verify and serialize options into the Job or JobConf
*/
void store(T j);
diff --git a/hadoop-mapreduce/src/main/java/org/apache/accumulo/hadoopImpl/mapreduce/OutputFormatBuilderImpl.java b/hadoop-mapreduce/src/main/java/org/apache/accumulo/hadoopImpl/mapreduce/OutputFormatBuilderImpl.java
index 98e6993..b18bd6d 100644
--- a/hadoop-mapreduce/src/main/java/org/apache/accumulo/hadoopImpl/mapreduce/OutputFormatBuilderImpl.java
+++ b/hadoop-mapreduce/src/main/java/org/apache/accumulo/hadoopImpl/mapreduce/OutputFormatBuilderImpl.java
@@ -68,12 +68,6 @@ public class OutputFormatBuilderImpl<T>
}
@Override
- public OutputFormatBuilder.OutputOptions<T> simulationMode(boolean value) {
- this.simulationMode = value;
- return this;
- }
-
- @Override
public void store(T j) {
if (j instanceof Job) {
store((Job) j);