----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/46296/#review129582 -----------------------------------------------------------
samza-core/src/main/scala/org/apache/samza/metrics/JmxServer.scala (line 80) <https://reviews.apache.org/r/46296/#comment193008> If Jake's suggestion works it would solve the problem. If not, we can find an available port (for example using s = ServerSocket(0), p = s.getLocalPort(), s.close) and use it. - Boris Shkolnik On April 16, 2016, 4:20 a.m., Tao Feng wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/46296/ > ----------------------------------------------------------- > > (Updated April 16, 2016, 4:20 a.m.) > > > Review request for samza. > > > Repository: samza > > > Description > ------- > > SAMZA-932: JMX port collisions in JmxServer > > > Diffs > ----- > > samza-core/src/main/scala/org/apache/samza/metrics/JmxServer.scala > e6204c10878589d34096378e6000709266a9b4a5 > > Diff: https://reviews.apache.org/r/46296/diff/ > > > Testing > ------- > > ./gradlew clean build && ./gradlew checkstyleMain checkstyleTest > > > Thanks, > > Tao Feng > >