FAQ
Accesses to CompletedJobStore should not lock the JobTracker.
-------------------------------------------------------------

Key: HADOOP-4375
URL: https://issues.apache.org/jira/browse/HADOOP-4375
Project: Hadoop Core
Issue Type: Bug
Reporter: Vinod K V



When CompletedJobStatusStore is configured to use dfs, it can cause lockup of JT due to inline dfs access.
For e.g.
{code}
public synchronized JobStatus getJobStatus(JobID jobid) {
JobInProgress job = jobs.get(jobid);
if (job != null) {
return job.getStatus();
} else {
return completedJobStatusStore.readJobStatus(jobid);
}
}
{code}

Instead, JT should be locked only when accessing its internal memory structures. The other such methods are JobTracker.getJobCounters, JobTracker.getJobProfile and JobTracker.finalizeJob.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Search Discussions

  • Vinod K V (JIRA) at Feb 23, 2009 at 7:57 am
    [ https://issues.apache.org/jira/browse/HADOOP-4375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Vinod K V resolved HADOOP-4375.
    -------------------------------

    Resolution: Duplicate

    HADOOP-5285 fixed this.
    Accesses to CompletedJobStore should not lock the JobTracker.
    -------------------------------------------------------------

    Key: HADOOP-4375
    URL: https://issues.apache.org/jira/browse/HADOOP-4375
    Project: Hadoop Core
    Issue Type: Bug
    Reporter: Vinod K V

    When CompletedJobStatusStore is configured to use dfs, it can cause lockup of JT due to inline dfs access.
    For e.g.
    {code}
    public synchronized JobStatus getJobStatus(JobID jobid) {
    JobInProgress job = jobs.get(jobid);
    if (job != null) {
    return job.getStatus();
    } else {
    return completedJobStatusStore.readJobStatus(jobid);
    }
    }
    {code}
    Instead, JT should be locked only when accessing its internal memory structures. The other such methods are JobTracker.getJobCounters, JobTracker.getJobProfile and JobTracker.finalizeJob.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedOct 8, '08 at 1:21p
activeFeb 23, '09 at 7:57a
posts2
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Vinod K V (JIRA): 2 posts

People

Translate

site design / logo © 2022 Grokbase