hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davis Ford" <davisf...@gmail.com>
Subject LocalJobRunner#getNewJobId()
Date Mon, 15 Oct 2007 15:57:44 GMT
Hi, I encountered an issue - described in this JIRA


It says this was fixed.  I svn co the trunk from last night, and still
I encounter the problem.

The problem seems to be line 275 in LocalJobRunner ->

  private int jobid = 0;
  public String getNewJobId() {
    return "job_local_" + Integer.toString(++jobid);

When a job is submitted, and while not complete, another job is kicked
off, but it gets the same id.  If you make the jobid variable static
here, the problem goes away, but I am not familiar enough with the
rest of the code-base to know if that has any other side-effects.


View raw message