You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hama.apache.org by Filipe David Manana <fd...@apache.org> on 2010/10/18 00:00:59 UTC

1 line patch to correct a typo and grammar in a log statement

diff --git a/src/java/org/apache/hama/bsp/BSPMaster.java
b/src/java/org/apache/hama/bsp/BSPMaster.java
index 0f88fa1..cfce02c 100644
--- a/src/java/org/apache/hama/bsp/BSPMaster.java
+++ b/src/java/org/apache/hama/bsp/BSPMaster.java
@@ -540,7 +540,7 @@ public class BSPMaster implements
JobSubmissionProtocol, InterTrackerProtocol,
   public JobStatus submitJob(BSPJobID jobID, String jobFile) throws
IOException {
     if (jobs.containsKey(jobID)) {
       // job already running, don't start twice
-      LOG.info("The job (" + jobID + ") is already subbmitted");
+      LOG.info("The job (" + jobID + ") was already submitted");
       return jobs.get(jobID).getStatus();
     }


cheers

-- 
Filipe David Manana,
fdmanana@gmail.com, fdmanana@apache.org

"Reasonable men adapt themselves to the world.
 Unreasonable men adapt the world to themselves.
 That's why all progress depends on unreasonable men."

Re: 1 line patch to correct a typo and grammar in a log statement

Posted by "Edward J. Yoon" <ed...@apache.org>.
Thanks Filipe Manana!

I've committed this to fix a typos.

On Mon, Oct 18, 2010 at 7:00 AM, Filipe David Manana
<fd...@apache.org> wrote:
> diff --git a/src/java/org/apache/hama/bsp/BSPMaster.java
> b/src/java/org/apache/hama/bsp/BSPMaster.java
> index 0f88fa1..cfce02c 100644
> --- a/src/java/org/apache/hama/bsp/BSPMaster.java
> +++ b/src/java/org/apache/hama/bsp/BSPMaster.java
> @@ -540,7 +540,7 @@ public class BSPMaster implements
> JobSubmissionProtocol, InterTrackerProtocol,
>   public JobStatus submitJob(BSPJobID jobID, String jobFile) throws
> IOException {
>     if (jobs.containsKey(jobID)) {
>       // job already running, don't start twice
> -      LOG.info("The job (" + jobID + ") is already subbmitted");
> +      LOG.info("The job (" + jobID + ") was already submitted");
>       return jobs.get(jobID).getStatus();
>     }
>
>
> cheers
>
> --
> Filipe David Manana,
> fdmanana@gmail.com, fdmanana@apache.org
>
> "Reasonable men adapt themselves to the world.
>  Unreasonable men adapt the world to themselves.
>  That's why all progress depends on unreasonable men."
>



-- 
Best Regards, Edward J. Yoon
edwardyoon@apache.org
http://blog.udanax.org