Skip to content
This repository has been archived by the owner on Jul 7, 2020. It is now read-only.

Cleanup of error handling in AbstractOutputWriter. #19

Closed
wants to merge 25 commits into from

Conversation

mspiegel
Copy link
Contributor

If an error is detected in any of the threads then record the error so that subsequent calls of writeLine(String, Bundle) will propagate the error to exit the job. Converted the fields 'stopped' and 'exiting' from AtomicBooleans to volatiles because no test-and-set operations are performed on these variables.

Michael Spiegel and others added 25 commits February 11, 2014 10:09
ERROR is for error conditions. WARN is for warnings. When in doubt use ERROR over WARN.
…ecture.

Use the lazy loading mechanism when loading the executable targets.
Because we do not want to load the yammer metrics for all executable classes,
then we must use a lazy loading mechanism.
to the beginning of the local-stack.sh script.
be run outside the context of a hydra job. Moving class from
/test to /main in order to make it possible to deploy in executable
jar.
does not belong on a page, then move it to the next page
only if the key does not already exist in the next page. If the
key already exists in the next page, then do not move the
(key, value) pair but delete the (key, value) pair.
Minor change to logging output so it will emit position i
of the key with respect to the original ordering of the keys.
…ompleted ops do not suck up any more CPU/IO than needed
…ent a job

from being deleted. The default value is disabled. Renaming the method
Spawn#deleteJob(String, String, Integer, boolean) to Spawn#deleteTask() so it
will not be conflated with the actual job deletion method. Added @OverRide annotations
where appropriate in Job class.
error is detected in any of the threads then record the
error so that subsequent calls of writeLine(String, Bundle)
will propagate the error to exit the job. Converted the fields
'stopped' and 'exiting' from AtomicBooleans to volatiles because
no test-and-set operations are performed on these variables.
@mspiegel mspiegel closed this Feb 11, 2014
@mspiegel mspiegel deleted the output-writer-error-handling branch February 11, 2014 15:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants