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/01/30 03:06:14 UTC
git commit: TEZ-752 addendum. Javadoc modifications for
DAG.addURIsForCredentials. (sseth)
Updated Branches:
refs/heads/master 7160877af -> 9db81d999
TEZ-752 addendum. Javadoc modifications for DAG.addURIsForCredentials.
(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/9db81d99
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tez/tree/9db81d99
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tez/diff/9db81d99
Branch: refs/heads/master
Commit: 9db81d9990f9f5d477b3af358befeccc6d264761
Parents: 7160877
Author: Siddharth Seth <ss...@apache.org>
Authored: Wed Jan 29 18:05:15 2014 -0800
Committer: Siddharth Seth <ss...@apache.org>
Committed: Wed Jan 29 18:05:15 2014 -0800
----------------------------------------------------------------------
.../main/java/org/apache/tez/dag/api/DAG.java | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/9db81d99/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 ad6cd8c..1945a39 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
@@ -108,15 +108,19 @@ public class DAG { // FIXME rename to Topology
/**
* One of the methods that can be used to provide information about required
* Credentials when running on a secure cluster. A combination of this and
- * setCredentials should be used to specify information about all
- * credentials required by a DAG. AM specific credentials are not used when
- * executing a DAG.
+ * setCredentials should be used to specify information about all credentials
+ * required by a DAG. AM specific credentials are not used when executing a
+ * DAG.
+ *
+ * This method can be used to specify a list of URIs for which Credentials
+ * need to be obtained so that the job can run. An incremental list of URIs
+ * can be provided by making multiple calls to the method.
+ *
+ * Currently, credentials can only be fetched for HDFS and other
+ * {@link FileSystem} implementations.
*
- * This method can be used to specify a list of URIs for which Credentials need to be
- * obtained so that the job can run.
- * An incremental list of URIs can be provided by making multiple calls to the method.
- *
- * @param uris a list of {@link URI}s
+ * @param uris
+ * a list of {@link URI}s
* @return the DAG instance being used
*/
public synchronized DAG addURIsForCredentials(List<URI> uris) {