JobHistory should enable history collection after a timeout or some other event
-------------------------------------------------------------------------------

                 Key: MAPREDUCE-1763
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1763
             Project: Hadoop Map/Reduce
          Issue Type: Improvement
          Components: jobtracker
    Affects Versions: 0.20.1
            Reporter: Alex Kozlov
            Priority: Critical


If you search for disableHistory in JobHistory.java, one can discover that it 
is enabled only at the initialization time.  There are two instances where job 
history can be disabled:

* if it fails to initialize the the output directories
* If it fails to create a single job history file

There are a few problems with that.  One is that there is no way to revert the 
flag even if the original problem goes away.  Second, these cases should 
probably be handled separately.  The result of which is that once the job 
history file creation fails, the job history mechanism becomes disabled and 
there is no way to switch it back.

One simple solution is to have a timeout after which we can try to enable the 
job history collection.  Another is to have a more granular job history control 
per job.

Alex K


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

Reply via email to