@@ -502,7 +502,7 @@ private SubClusterId getApp(final ApplicationId appId) throws YarnException {
502502
503503 /**
504504 * Put an application.
505- * @param appId pplication identifier.
505+ * @param appId Application identifier.
506506 * @param subClusterId Subcluster identifier.
507507 * @throws Exception If it cannot contact ZooKeeper.
508508 */
@@ -583,7 +583,6 @@ private SubClusterPolicyConfiguration getPolicy(final String queue)
583583
584584 /**
585585 * Put the subcluster information in Zookeeper.
586- *
587586 * @param queue Name of the queue.
588587 * @param policy Subcluster policy configuration.
589588 * @throws YarnException If it cannot contact ZooKeeper.
@@ -594,14 +593,13 @@ private void putPolicy(final String queue,
594593 String policyZNode = getNodePath (policiesZNode , queue );
595594
596595 SubClusterPolicyConfigurationProto proto =
597- ((SubClusterPolicyConfigurationPBImpl ) policy ).getProto ();
596+ ((SubClusterPolicyConfigurationPBImpl )policy ).getProto ();
598597 byte [] data = proto .toByteArray ();
599598 put (policyZNode , data , update );
600599 }
601600
602601 /**
603602 * Get data from a znode in Zookeeper.
604- *
605603 * @param znode Path of the znode.
606604 * @return Data in the znode.
607605 * @throws YarnException If it cannot contact ZooKeeper.
@@ -634,7 +632,7 @@ private byte[] get(String znode) throws YarnException {
634632 * Put data into a znode in Zookeeper.
635633 *
636634 * @param znode Path of the znode.
637- * @param data Data to write.
635+ * @param data Data to write.
638636 * @throws YarnException If it cannot contact ZooKeeper.
639637 */
640638 private void put (String znode , byte [] data , boolean update )
@@ -667,7 +665,6 @@ private void put(String znode, byte[] data, boolean update)
667665
668666 /**
669667 * Get the current time.
670- *
671668 * @return Current time in milliseconds.
672669 */
673670 private static long getCurrentTime () {
0 commit comments