Clone
Yingyi Bu <yingyi@couchbase.com>
committed
on 19 Jul 17
[ASTERIXDB-1982][FAIL] Unify runtime error reporting
- user model changes: no
- storage format changes: no
- interface changes: no

Details:… Show more
[ASTERIXDB-1982][FAIL] Unify runtime error reporting

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Unify error reporting in result distribution and operator pipeline;

 The fact that ASTERIXDB-1982 is sporadic is because the order of

 DatasetDirectoryService.reportJobFailure(...) and

 DatasetDirectoryService.reportResultPartitionFailure(...)

 is not deterministic and the latter can override the former;

- Make the order of setException and addWaiter irrelevant to

 avoid sporadically slipped exception;

- Fix the exception list in Task to be thread-safe.

Change-Id: I36f243c98876ff40e2539ca9241ff6d19fee929f

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1883

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

BAD: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Murtadha Hubail <mhubail@apache.org>

Reviewed-by: Till Westmann <tillw@apache.org>

Show less

master + 5 more