> On May 29, 2015, 8:38 p.m., Yan Fang wrote: > > samza-core/src/main/java/org/apache/samza/coordinator/stream/CoordinatorStreamMessage.java, > > line 503 > > <https://reviews.apache.org/r/34746/diff/1/?file=973284#file973284line503> > > > > Changing to "host" or "ip addree" is better. Because > > 1) it's not "hostname". > > 2) we use the "host" for the same value: > > > > protected void setHost(String host) { > > messageMap.put("host", host); > > }
Makes sense. I will change it to "ip". > On May 29, 2015, 8:38 p.m., Yan Fang wrote: > > samza-core/src/main/scala/org/apache/samza/container/SamzaContainer.scala, > > line 629 > > <https://reviews.apache.org/r/34746/diff/1/?file=973286#file973286line629> > > > > catch the UnknownHostException ? Mmm.. makes sense. It could be thrown. I will change it to handle the exception with a no-op. - Navina ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34746/#review85798 ----------------------------------------------------------- On May 29, 2015, 6:32 p.m., Navina Ramesh wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/34746/ > ----------------------------------------------------------- > > (Updated May 29, 2015, 6:32 p.m.) > > > Review request for samza, Chris Riccomini, Guozhang Wang, Yi Pan (Data > Infrastructure), and Naveen Somasundaram. > > > Bugs: SAMZA-618 > https://issues.apache.org/jira/browse/SAMZA-618 > > > Repository: samza > > > Description > ------- > > Adding Locality Manager file > > > reading in JC and writing from containers > > > After SAMZA-686 changes > > > Fixing stylechecks > > > Correcting when coordinator system accessors start & stop > > > Corrected documentation > > > Diffs > ----- > > checkstyle/import-control.xml 5f8e103a2e43f96518b20de1c7cbd84e0af24842 > samza-core/src/main/java/org/apache/samza/container/LocalityManager.java > PRE-CREATION > > samza-core/src/main/java/org/apache/samza/coordinator/stream/CoordinatorStreamMessage.java > 0988dedc3e8ad1b4080fb89dfff7c6f95fba8b67 > samza-core/src/main/java/org/apache/samza/job/model/JobModel.java > fa113e12080384586b329c82133bc0601b855ae5 > samza-core/src/main/scala/org/apache/samza/container/SamzaContainer.scala > 50e53fbcb55c4e9176bf29217a341b195c96d762 > samza-core/src/main/scala/org/apache/samza/coordinator/JobCoordinator.scala > 5b43b58a851c363846b433ebd589ce6dd5c5c932 > > samza-core/src/test/scala/org/apache/samza/container/TestSamzaContainer.scala > a7fa0857d1243f5a24e4550a39ee230fbd7705bb > > Diff: https://reviews.apache.org/r/34746/diff/ > > > Testing > ------- > > Used a sample job to test it locally and also, by setting up YARN on 3 > machines. > Verified that the message is correctly written and consumed from the > Coordinator Stream > > > Thanks, > > Navina Ramesh > >