----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/50828/#review144983 -----------------------------------------------------------
Ship it! Ship It! - Yi Pan (Data Infrastructure) On Aug. 5, 2016, 1:32 a.m., Jagadish Venkatraman wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/50828/ > ----------------------------------------------------------- > > (Updated Aug. 5, 2016, 1:32 a.m.) > > > Review request for samza, Yi Pan (Data Infrastructure), Navina Ramesh, and > Xinyu Liu. > > > Repository: samza > > > Description > ------- > > The Stream Appender recognizes that it's running in the app-master by > checking for the presence of the string "application-master" in the > container.id environment variable. However, the refactoring changed the AM to > Job Coordinator. The Stream Appender must be updated to look for the > "job-coordinator" in the container.id instead of "application-master". > > In the absence of this change, the stream appender in the AM will crash. > > > Diffs > ----- > > > samza-log4j/src/main/java/org/apache/samza/logging/log4j/StreamAppender.java > ca4eb7fa890fe8d7d8f6e2f59351b352222c0e41 > > samza-log4j/src/test/java/org/apache/samza/logging/log4j/TestStreamAppender.java > e2e17a06159a35234270f342e8ae1c81031d971b > > Diff: https://reviews.apache.org/r/50828/diff/ > > > Testing > ------- > > Updated unit tests and tested with a sample job. > > > Thanks, > > Jagadish Venkatraman > >