tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hit...@apache.org
Subject [2/2] git commit: TEZ-960. Typos in MRJobConfig. (Chen He via hitesh)
Date Tue, 01 Apr 2014 22:26:20 GMT
TEZ-960. Typos in MRJobConfig. (Chen He via hitesh)


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

Branch: refs/heads/master
Commit: e94f22723ada8e00edfd98606a5cac4a19446dee
Parents: a062271
Author: Hitesh Shah <hitesh@apache.org>
Authored: Tue Apr 1 15:10:46 2014 -0700
Committer: Hitesh Shah <hitesh@apache.org>
Committed: Tue Apr 1 15:10:46 2014 -0700

----------------------------------------------------------------------
 .../java/org/apache/tez/dag/api/VertexManagerPluginContext.java  | 2 +-
 .../main/java/org/apache/tez/dag/app/dag/impl/VertexManager.java | 2 +-
 .../org/apache/tez/mapreduce/common/MRInputAMSplitGenerator.java | 4 ++--
 .../org/apache/tez/mapreduce/common/MRInputSplitDistributor.java | 4 ++--
 .../main/java/org/apache/tez/mapreduce/hadoop/MRJobConfig.java   | 4 ++--
 .../apache/tez/mapreduce/common/TestMRInputSplitDistributor.java | 4 ++--
 6 files changed, 10 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/e94f2272/tez-api/src/main/java/org/apache/tez/dag/api/VertexManagerPluginContext.java
----------------------------------------------------------------------
diff --git a/tez-api/src/main/java/org/apache/tez/dag/api/VertexManagerPluginContext.java
b/tez-api/src/main/java/org/apache/tez/dag/api/VertexManagerPluginContext.java
index 76202f8..bd610c0 100644
--- a/tez-api/src/main/java/org/apache/tez/dag/api/VertexManagerPluginContext.java
+++ b/tez-api/src/main/java/org/apache/tez/dag/api/VertexManagerPluginContext.java
@@ -69,7 +69,7 @@ public interface VertexManagerPluginContext {
    * DAG may divide its available resource among member vertices.
    * @return Resource
    */
-  Resource getTotalAVailableResource();
+  Resource getTotalAvailableResource();
   
   /**
    * Get the number of nodes in the cluster

http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/e94f2272/tez-dag/src/main/java/org/apache/tez/dag/app/dag/impl/VertexManager.java
----------------------------------------------------------------------
diff --git a/tez-dag/src/main/java/org/apache/tez/dag/app/dag/impl/VertexManager.java b/tez-dag/src/main/java/org/apache/tez/dag/app/dag/impl/VertexManager.java
index f4404d5..b7c3611 100644
--- a/tez-dag/src/main/java/org/apache/tez/dag/app/dag/impl/VertexManager.java
+++ b/tez-dag/src/main/java/org/apache/tez/dag/app/dag/impl/VertexManager.java
@@ -173,7 +173,7 @@ public class VertexManager {
     }
 
     @Override
-    public Resource getTotalAVailableResource() {
+    public Resource getTotalAvailableResource() {
       return appContext.getTaskScheduler().getTotalResources();
     }
 

http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/e94f2272/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/common/MRInputAMSplitGenerator.java
----------------------------------------------------------------------
diff --git a/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/common/MRInputAMSplitGenerator.java
b/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/common/MRInputAMSplitGenerator.java
index 45f46bb..1769dbf 100644
--- a/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/common/MRInputAMSplitGenerator.java
+++ b/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/common/MRInputAMSplitGenerator.java
@@ -77,8 +77,8 @@ public class MRInputAMSplitGenerator implements TezRootInputInitializer
{
         .getConfigurationBytes());
     
     sendSerializedEvents = conf.getBoolean(
-        MRJobConfig.MR_TEZ_INPUT_INITIALIZER_SERIALIZE_EVENT_PAYLAOD,
-        MRJobConfig.MR_TEZ_INPUT_INITIALIZER_SERIALIZE_EVENT_PAYLAOD_DEFAULT);
+        MRJobConfig.MR_TEZ_INPUT_INITIALIZER_SERIALIZE_EVENT_PAYLOAD,
+        MRJobConfig.MR_TEZ_INPUT_INITIALIZER_SERIALIZE_EVENT_PAYLOAD_DEFAULT);
     LOG.info("Emitting serialized splits: " + sendSerializedEvents);
     if (LOG.isDebugEnabled()) {
       sw.stop();

http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/e94f2272/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/common/MRInputSplitDistributor.java
----------------------------------------------------------------------
diff --git a/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/common/MRInputSplitDistributor.java
b/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/common/MRInputSplitDistributor.java
index 92debe9..c8cca9d 100644
--- a/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/common/MRInputSplitDistributor.java
+++ b/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/common/MRInputSplitDistributor.java
@@ -69,8 +69,8 @@ public class MRInputSplitDistributor implements TezRootInputInitializer
{
     JobConf jobConf = new JobConf(conf);
     boolean useNewApi = jobConf.getUseNewMapper();
     sendSerializedEvents = conf.getBoolean(
-        MRJobConfig.MR_TEZ_INPUT_INITIALIZER_SERIALIZE_EVENT_PAYLAOD,
-        MRJobConfig.MR_TEZ_INPUT_INITIALIZER_SERIALIZE_EVENT_PAYLAOD_DEFAULT);
+        MRJobConfig.MR_TEZ_INPUT_INITIALIZER_SERIALIZE_EVENT_PAYLOAD,
+        MRJobConfig.MR_TEZ_INPUT_INITIALIZER_SERIALIZE_EVENT_PAYLOAD_DEFAULT);
     LOG.info("Emitting serialized splits: " + sendSerializedEvents);
 
     this.splitsProto = userPayloadProto.getSplits();

http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/e94f2272/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/hadoop/MRJobConfig.java
----------------------------------------------------------------------
diff --git a/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/hadoop/MRJobConfig.java
b/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/hadoop/MRJobConfig.java
index eb9b005..456e8f3 100644
--- a/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/hadoop/MRJobConfig.java
+++ b/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/hadoop/MRJobConfig.java
@@ -624,8 +624,8 @@ public interface MRJobConfig {
   public static final String MR_TEZ_SPLITS_VIA_EVENTS = MR_TEZ_PREFIX + "splits.via.events";
   public static final boolean MR_TEZ_SPLITS_VIA_EVENTS_DEFAULT = true;
 
-  public static final String MR_TEZ_INPUT_INITIALIZER_SERIALIZE_EVENT_PAYLAOD = MR_TEZ_PREFIX
+  public static final String MR_TEZ_INPUT_INITIALIZER_SERIALIZE_EVENT_PAYLOAD = MR_TEZ_PREFIX
       + "input.initializer.serialize.event.payload";
-  public static final boolean MR_TEZ_INPUT_INITIALIZER_SERIALIZE_EVENT_PAYLAOD_DEFAULT =
true;
+  public static final boolean MR_TEZ_INPUT_INITIALIZER_SERIALIZE_EVENT_PAYLOAD_DEFAULT =
true;
   
 }

http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/e94f2272/tez-mapreduce/src/test/java/org/apache/tez/mapreduce/common/TestMRInputSplitDistributor.java
----------------------------------------------------------------------
diff --git a/tez-mapreduce/src/test/java/org/apache/tez/mapreduce/common/TestMRInputSplitDistributor.java
b/tez-mapreduce/src/test/java/org/apache/tez/mapreduce/common/TestMRInputSplitDistributor.java
index 1bdc5c3..da13561 100644
--- a/tez-mapreduce/src/test/java/org/apache/tez/mapreduce/common/TestMRInputSplitDistributor.java
+++ b/tez-mapreduce/src/test/java/org/apache/tez/mapreduce/common/TestMRInputSplitDistributor.java
@@ -53,7 +53,7 @@ public class TestMRInputSplitDistributor {
   public void testSerializedPayload() throws IOException {
 
     Configuration conf = new Configuration(false);
-    conf.setBoolean(MRJobConfig.MR_TEZ_INPUT_INITIALIZER_SERIALIZE_EVENT_PAYLAOD, true);
+    conf.setBoolean(MRJobConfig.MR_TEZ_INPUT_INITIALIZER_SERIALIZE_EVENT_PAYLOAD, true);
     ByteString confByteString = MRHelpers.createByteStringFromConf(conf);
     InputSplit split1 = new InputSplitForTest(1);
     InputSplit split2 = new InputSplitForTest(2);
@@ -101,7 +101,7 @@ public class TestMRInputSplitDistributor {
   public void testDeserializedPayload() throws IOException {
 
     Configuration conf = new Configuration(false);
-    conf.setBoolean(MRJobConfig.MR_TEZ_INPUT_INITIALIZER_SERIALIZE_EVENT_PAYLAOD, false);
+    conf.setBoolean(MRJobConfig.MR_TEZ_INPUT_INITIALIZER_SERIALIZE_EVENT_PAYLOAD, false);
     ByteString confByteString = MRHelpers.createByteStringFromConf(conf);
     InputSplit split1 = new InputSplitForTest(1);
     InputSplit split2 = new InputSplitForTest(2);


Mime
View raw message