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
Closed
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
853263c
Merging spawn javascript minimization script into master.
Feb 5, 2014
c96de2a
Make sure to clear error state after enabling job
Feb 6, 2014
031adc0
[maven-release-plugin]prepare release v4.1.1
addthis-buildbot Feb 6, 2014
85054a7
[maven-release-plugin]prepare for next development iteration
addthis-buildbot Feb 6, 2014
fcb424c
Cleanup of logging level invocations. INFO is for informational errors.
Feb 6, 2014
3dc974a
Implement a new optional lazy loading mechanism for the plugin archit…
Feb 6, 2014
56910c0
[maven-release-plugin] bugfix to hydra 4.1.1. All users should upgrad…
addthis-buildbot Feb 6, 2014
f67c0ea
[maven-release-plugin] bugfix to hydra 4.1.1. All users should upgrad…
addthis-buildbot Feb 6, 2014
21b5f14
Don't update meters based on queries that never actually started.
Feb 7, 2014
b61a10b
fix an array logging statement in SSM
tea-dragon Feb 7, 2014
e64db9a
Adding additional documentation on the parameter 'hard' of the alias …
Feb 7, 2014
6aa279e
Instructions for OS X in README.mdown.
Feb 7, 2014
886bdb1
Adding test for executable commands that are prerequisites
Feb 7, 2014
c493aaf
Improvement to task logging output. Hydra processes units of data cal…
Feb 7, 2014
2b2968a
Adding ability to repair PageDB as a separate utility that can
Feb 10, 2014
2cde442
change log level for oplimit when additional bundles are received
abramsm Feb 10, 2014
def17b4
In the PageDB repair utility if a (key, value) pair in a page
Feb 10, 2014
e111922
inject QueryStatusObserver into more operations so that canceled or c…
abramsm Feb 10, 2014
79f01cd
add QueryStatusObserver to OpHistogram
abramsm Feb 10, 2014
64b2d06
Use cached value for queue size, removing need for sync lock
Feb 10, 2014
78a9f89
prevent NPE when there is no cell operation to perform
abramsm Feb 10, 2014
f6c38ea
Adding 'do not delete' parameter to job configurations that will prev…
Feb 10, 2014
fadbb19
default to PivotOp.SUM for cellop
abramsm Feb 10, 2014
294d41f
Initial cleanup of AbstractOutputWriter. Error messages
Feb 10, 2014
8c285c4
Cleanup of error handling in AbstractOutputWriter. If an
Feb 11, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Adding test for executable commands that are prerequisites
to the beginning of the local-stack.sh script.
  • Loading branch information
Michael Spiegel committed Feb 11, 2014
commit 886bdb11829940977431d1007f22b0d9ab0f5f32
27 changes: 27 additions & 0 deletions hydra-uber/bin/local-stack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,33 @@

# initialization

function testForExecutable() {
options=$1
splitOptions=(${options//|/ })
success=0
for cmd in "${splitOptions[@]}"
do
if type "$cmd" &> /dev/null; then
success=1
fi
done
if [ "$success" = "0" ]; then
printOptions=${options//|/\" or \"}
echo
echo "ERROR: Cannot find command: \"$printOptions\""
if [ "${#splitOptions[@]}" -eq "1" ]; then
echo "Please install the command and try again."
else
echo "Please install one of the alternatives and try again."
fi
echo
exit 1
fi
}

testForExecutable "greadlink|readlink"
testForExecutable "wget"

dirname=$(basename `pwd`)
if [ "${dirname}" != "hydra-local" ]; then
mkdir -p hydra-local
Expand Down