Author: tommaso
Date: Mon Jan 13 14:24:29 2014
New Revision: 1557726
URL: http://svn.apache.org/r1557726
Log:
fixing typos in javadoc
Modified:
hama/trunk/core/src/main/java/org/apache/hama/zookeeper/QuorumPeer.java
Modified:
hama/trunk/core/src/main/java/org/apache/hama/zookeeper/QuorumPeer.java
URL:
http://svn.apache.org/viewvc/hama/trunk/core/src/main/java/org/apache/hama/zookeeper/QuorumPeer.java?rev=1557726&r1=1557725&r2=1557726&view=diff
==============================================================================
--- hama/trunk/core/src/main/java/org/apache/hama/zookeeper/QuorumPeer.java
(original)
+++ hama/trunk/core/src/main/java/org/apache/hama/zookeeper/QuorumPeer.java Mon
Jan 13 14:24:29 2014
@@ -82,7 +82,7 @@ public class QuorumPeer implements Const
/**
* Parse ZooKeeper configuration from Hama XML config and run a QuorumPeer.
*
- * @param baseConf Hadoop Configuration.
+ * @param conf Hadoop Configuration.
*/
public static void runZooKeeper(Configuration conf) throws Exception {
Properties zkProperties = makeZKProps(conf);
@@ -96,8 +96,8 @@ public class QuorumPeer implements Const
* Runs a shutdownable Zookeeper main server. This does not work with
multiple
* quorums!
*
- * @param conf
- * @return
+ * @param conf the configuration to be used to start ZK
+ * @return a <code>ZookeeperTuple</code>
* @throws Exception
*/
public static ZookeeperTuple runShutdownableZooKeeper(Configuration conf)
@@ -326,7 +326,7 @@ public class QuorumPeer implements Const
* Return the ZK Quorum servers string given zk properties returned by
* makeZKProps
*
- * @param properties
+ * @param properties the ZK properties
* @return Quorum servers String
*/
public static String getZKQuorumServersString(Properties properties) {
@@ -388,7 +388,7 @@ public class QuorumPeer implements Const
/**
* Return the ZK Quorum servers string given the specified configuration.
*
- * @param conf
+ * @param conf the configuration to be used to get ZK Quorum servers
* @return Quorum servers
*/
public static String getZKQuorumServersString(Configuration conf) {