You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@slider.apache.org by st...@apache.org on 2015/11/11 14:57:43 UTC
[2/2] incubator-slider git commit: javadoc tweak on
createZookeepernode
javadoc tweak on createZookeepernode
Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/c4e73291
Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/c4e73291
Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/c4e73291
Branch: refs/heads/develop
Commit: c4e7329152283cb3183fe7de859382daf6aad519
Parents: 618782a
Author: Steve Loughran <st...@apache.org>
Authored: Wed Nov 11 13:57:37 2015 +0000
Committer: Steve Loughran <st...@apache.org>
Committed: Wed Nov 11 13:57:37 2015 +0000
----------------------------------------------------------------------
.../main/java/org/apache/slider/client/SliderClient.java | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/c4e73291/slider-core/src/main/java/org/apache/slider/client/SliderClient.java
----------------------------------------------------------------------
diff --git a/slider-core/src/main/java/org/apache/slider/client/SliderClient.java b/slider-core/src/main/java/org/apache/slider/client/SliderClient.java
index eeda1e3..59e6848 100644
--- a/slider-core/src/main/java/org/apache/slider/client/SliderClient.java
+++ b/slider-core/src/main/java/org/apache/slider/client/SliderClient.java
@@ -503,6 +503,13 @@ public class SliderClient extends AbstractSliderLaunchedService implements RunSe
/**
* Create the zookeeper node associated with the calling user and the cluster
+ *
+ * @param clusterName slider application name
+ * @param nameOnly should the name only be created (i.e. don't create ZK node)
+ * @return the path, using the policy implemented in
+ * {@link ZKIntegration#mkClusterPath(String, String)}
+ * @throws YarnException
+ * @throws IOException
*/
@VisibleForTesting
public String createZookeeperNode(String clusterName, Boolean nameOnly) throws YarnException, IOException {
@@ -522,7 +529,8 @@ public class SliderClient extends AbstractSliderLaunchedService implements RunSe
* -throwing exceptions on any failure
* @param clusterName cluster name
* @param nameOnly create the path, not the node
- * @return the path, with the node created
+ * @return the path, using the policy implemented in
+ * {@link ZKIntegration#mkClusterPath(String, String)}
* @throws YarnException
* @throws IOException
* @throws KeeperException