• David Johnson's avatar
    Process WFA logs to detect success/failure; maybe send email. · a46a911b
    David Johnson authored
    We look for Traceback strings as error indicators; and specific
    strings to indicate success.  Then if specific email-related env
    vars are set, we'll send emails on failure and maybe on success,
    with key bits of logfiles attached.  The env vars you would set are
    
    TESTEMAIL=you@mail.wherever
    TESTMAILFAILURE=1
    TESTMAILSUCCESS=1
    
    You must set TESTEMAIL to get any mail.  If you set TESTMAILFAILURE
    to 1, you'll get failure notifications.  If you set TESTMAILSUCCESS
    to 1, you'll also get successful test notifications.
    
    Now I don't have to stay up all night babysitting these test runs.
    a46a911b
test-hadoop.sh 7.47 KB