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 2015/02/18 19:40:17 UTC
tez git commit: TEZ-2072. Add missing Private annotation to createDAG
in the DAG API class. (sseth)
Repository: tez
Updated Branches:
refs/heads/master b756bc0d4 -> 0487e0ae5
TEZ-2072. Add missing Private annotation to createDAG in the DAG API
class. (sseth)
Project: http://git-wip-us.apache.org/repos/asf/tez/repo
Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/0487e0ae
Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/0487e0ae
Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/0487e0ae
Branch: refs/heads/master
Commit: 0487e0ae5427afc4bb8a998055b53dc1bbdd1294
Parents: b756bc0
Author: Siddharth Seth <ss...@apache.org>
Authored: Wed Feb 18 10:40:02 2015 -0800
Committer: Siddharth Seth <ss...@apache.org>
Committed: Wed Feb 18 10:40:02 2015 -0800
----------------------------------------------------------------------
CHANGES.txt | 1 +
tez-api/src/main/java/org/apache/tez/dag/api/DAG.java | 5 ++++-
2 files changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tez/blob/0487e0ae/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index ff3adc8..2c643b0 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -7,6 +7,7 @@ Release 0.7.0: Unreleased
INCOMPATIBLE CHANGES
ALL CHANGES:
+ TEZ-2072. Add missing Private annotation to createDAG in the DAG API class.
TEZ-2095. master branch fails to compile against hadoop-2.4.
TEZ-2093. Add events to MockDAGAppMaster and add e2e test for event routing
TEZ-2075. Incompatible issue caused by TEZ-1233 that TezConfiguration.TEZ_SITE_XML is made private
http://git-wip-us.apache.org/repos/asf/tez/blob/0487e0ae/tez-api/src/main/java/org/apache/tez/dag/api/DAG.java
----------------------------------------------------------------------
diff --git a/tez-api/src/main/java/org/apache/tez/dag/api/DAG.java b/tez-api/src/main/java/org/apache/tez/dag/api/DAG.java
index 914f946..1be6979 100644
--- a/tez-api/src/main/java/org/apache/tez/dag/api/DAG.java
+++ b/tez-api/src/main/java/org/apache/tez/dag/api/DAG.java
@@ -334,7 +334,9 @@ public class DAG {
public Map<String, LocalResource> getTaskLocalFiles() {
return commonTaskLocalFiles;
}
-
+
+ @Private
+ @VisibleForTesting
void checkAndInferOneToOneParallelism() {
// infer all 1-1 via dependencies
// collect all 1-1 edges where the source parallelism is set
@@ -664,6 +666,7 @@ public class DAG {
}
// create protobuf message describing DAG
+ @Private
public DAGPlan createDag(Configuration tezConf, Credentials extraCredentials,
Map<String, LocalResource> tezJarResources, LocalResource binaryConfig,
boolean tezLrsAsArchive) {