incubator-hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edwardy...@apache.org
Subject svn commit: r949106 - in /incubator/hama/trunk/src/java/org/apache/hama: bsp/BSPJobClient.java bsp/JobProfile.java ipc/JobSubmissionProtocol.java util/ClusterUtil.java
Date Fri, 28 May 2010 05:59:47 GMT
Author: edwardyoon
Date: Fri May 28 05:59:47 2010
New Revision: 949106

URL: http://svn.apache.org/viewvc?rev=949106&view=rev
Log:
Remove javadoc warnings.

Modified:
    incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPJobClient.java
    incubator/hama/trunk/src/java/org/apache/hama/bsp/JobProfile.java
    incubator/hama/trunk/src/java/org/apache/hama/ipc/JobSubmissionProtocol.java
    incubator/hama/trunk/src/java/org/apache/hama/util/ClusterUtil.java

Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPJobClient.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPJobClient.java?rev=949106&r1=949105&r2=949106&view=diff
==============================================================================
--- incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPJobClient.java (original)
+++ incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPJobClient.java Fri May 28 05:59:47
2010
@@ -372,16 +372,16 @@ public class BSPJobClient extends Config
       throw new IOException("Could not launch job");
     }
   }
-  
+
   /**
    * Monitor a job and print status in real-time as progress is made and tasks 
    * fail.
-   * @param conf the job's configuration
-   * @param job the job to track
-   * @return true if the job succeeded
-   * @throws IOException 
-   * @throws IOException if communication to the BSPMaster fails
-   * @throws InterruptedException 
+   * 
+   * @param job
+   * @param info
+   * @return true, if job is successful
+   * @throws IOException
+   * @throws InterruptedException
    */
   public boolean monitorAndPrintJob (BSPJob job, RunningJob info) 
     throws IOException, InterruptedException {
@@ -420,4 +420,15 @@ public class BSPJobClient extends Config
   IOException {
     return submitJobInternal(job);    
   }
+  
+  /**
+   * Get status information about the BSP cluster
+   * 
+   * @throws IOException
+   */
+  public ClusterStatus getClusterStatus() throws IOException {
+    // TODO: 
+    
+    return null;
+  }
 }

Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/JobProfile.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/JobProfile.java?rev=949106&r1=949105&r2=949106&view=diff
==============================================================================
--- incubator/hama/trunk/src/java/org/apache/hama/bsp/JobProfile.java (original)
+++ incubator/hama/trunk/src/java/org/apache/hama/bsp/JobProfile.java Fri May 28 05:59:47
2010
@@ -59,9 +59,7 @@ public class JobProfile implements Writa
    * @param user userid of the person who submitted the job.
    * @param jobid id of the job.
    * @param jobFile job configuration file.
-   * @param url link to the web-ui for details of the job.
    * @param name user-specified job name.
-   * @param queueName name of the queue to which the job is submitted
    */
   public JobProfile(String user, BSPJobID jobid, String jobFile, String name) {
     this.user = user;

Modified: incubator/hama/trunk/src/java/org/apache/hama/ipc/JobSubmissionProtocol.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/ipc/JobSubmissionProtocol.java?rev=949106&r1=949105&r2=949106&view=diff
==============================================================================
--- incubator/hama/trunk/src/java/org/apache/hama/ipc/JobSubmissionProtocol.java (original)
+++ incubator/hama/trunk/src/java/org/apache/hama/ipc/JobSubmissionProtocol.java Fri May 28
05:59:47 2010
@@ -33,7 +33,7 @@ public interface JobSubmissionProtocol e
   
   /**
    * Allocate a new id for the job.
-   * @return
+   * @return job id
    * @throws IOException
    */
   public BSPJobID getNewJobId() throws IOException;
@@ -45,7 +45,7 @@ public interface JobSubmissionProtocol e
    * The job files should be submitted in <b>system-dir</b>/<b>jobName</b>.
    *
    * @param jobName
-   * @return
+   * @return jobStatus
    * @throws IOException
    */
   public JobStatus submitJob(BSPJobID jobName) throws IOException;

Modified: incubator/hama/trunk/src/java/org/apache/hama/util/ClusterUtil.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/util/ClusterUtil.java?rev=949106&r1=949105&r2=949106&view=diff
==============================================================================
--- incubator/hama/trunk/src/java/org/apache/hama/util/ClusterUtil.java (original)
+++ incubator/hama/trunk/src/java/org/apache/hama/util/ClusterUtil.java Fri May 28 05:59:47
2010
@@ -70,7 +70,7 @@ public class ClusterUtil {
    * Start the cluster.
    * @param m
    * @param conf 
-   * @param groomServers
+   * @param groomservers
    * @return Address to use contacting master.
    * @throws InterruptedException 
    * @throws IOException 



Mime
View raw message