----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63383/ -----------------------------------------------------------
Review request for Aurora and Jordan Ly. Repository: aurora Description ------- Log messages like this: ```console W1026 02:55:19.450 [Thread-4822, MesosCallbackHandler$MesosCallbackHandlerImpl] Lost executor value: "thermos-tss-production-prod-canary-2-40501be8-11fd-417a-8ad3-326c014e8466" on slave value: "efe603c2-8b52-4cc1-b9f4-43a4eb06d29b-S1521" with status 9 ``` become: ```console W1026 02:55:19.450 [Thread-4822, MesosCallbackHandler$MesosCallbackHandlerImpl] Lost executor: "thermos-foo-prod-bar-2-40501be8-11fd-417a-8ad3-326c014e8466" on slave: "efe603c2-8b52-4cc1-b9f4-43a4eb06d29b-S1521" with status 9 ``` And messages like this: ```console I1027 18:48:40.793 [Thread-754, MesosCallbackHandler$MesosCallbackHandlerImpl] Received status update for task chubbysnipe-staging-aggregator-11-c39221c6-fd87-40cf-a5a8-555f7bea33f8 in state TA MEMORY STATISTICS: cache 94208 rss 15166509056 rss_huge 0 mapped_file 32768 writeback 0 pgpgin 6195133 pgpgout 2492349 pgfault 6255844 pgmajfault 5 inactive_anon 0 active_anon 15166472192 inactive_file 8192 active_file 8192 unevictable 0 hierarchical_memory_limit 15166603264 total_cache 94208 total_rss 15166509056 total_rss_huge 0 total_mapped_file 32768 total_writeback 0 total_pgpgin 6195133 total_pgpgout 2492349 total_pgfault 6255844 total_pgmajfault 5 total_inactive_anon 0 total_active_anon 15166472192 total_inactive_file 45056 total_active_file 12288 total_unevictable 0 ``` become: ```console I1027 18:48:40.793 [Thread-754, MesosCallbackHandler$MesosCallbackHandlerImpl] Received status update for task foo-prod-bar-11-c39221c6-fd87-40cf-a5a8-555f7bea33f8 in state TASK_FAILED from SOURCE_AGENT with REASON_CONTAINER_LIMITATION_MEMORY: Memory limit exceeded: Requested: 14464MB Maximum Used: 14464MB (truncated) ``` Diffs ----- src/main/java/org/apache/aurora/scheduler/mesos/MesosCallbackHandler.java e93c4fa15a7cc1b025dcb0f29319bc774c62e2c9 src/test/java/org/apache/aurora/scheduler/mesos/MesosCallbackHandlerTest.java 51d0371007564bc0af32e256dbae8b57113536c2 Diff: https://reviews.apache.org/r/63383/diff/1/ Testing ------- Thanks, Bill Farner