samza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yan Fang" <yanfang...@gmail.com>
Subject Re: Review Request 37039: SAMZA-748 Coordinator URL always 127.0.0.1
Date Thu, 06 Aug 2015 07:16:17 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37039/#review94370
-----------------------------------------------------------



samza-core/src/main/scala/org/apache/samza/util/Util.scala (line 308)
<https://reviews.apache.org/r/37039/#comment148943>

    use javadoc format, {@link}, not [[]]



samza-core/src/main/scala/org/apache/samza/util/Util.scala (line 310)
<https://reviews.apache.org/r/37039/#comment148944>

    same. not use [[]]


- Yan Fang


On Aug. 4, 2015, 12:42 p.m., József Márton Jung wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/37039/
> -----------------------------------------------------------
> 
> (Updated Aug. 4, 2015, 12:42 p.m.)
> 
> 
> Review request for samza.
> 
> 
> Repository: samza
> 
> 
> Description
> -------
> 
> We are using InetAddress.getLocalHost().getHostAddress() for the org.apache.samza.coordinator.server.HttpServer#getUrl.
But getLocalHost() may return a loopback address, 127.0.0.1, which is not reachable by other
machines.
> 
> Added a method to Util.scala which resolves the first network address which is not a
loopback address.
> 
> 
> Diffs
> -----
> 
>   samza-core/src/main/java/org/apache/samza/coordinator/stream/messages/CoordinatorStreamMessage.java
e3adc85 
>   samza-core/src/main/scala/org/apache/samza/container/SamzaContainer.scala 27b2517 
>   samza-core/src/main/scala/org/apache/samza/coordinator/server/HttpServer.scala dfe3a45

>   samza-core/src/main/scala/org/apache/samza/metrics/JmxServer.scala de45123 
>   samza-core/src/main/scala/org/apache/samza/metrics/reporter/MetricsSnapshotReporterFactory.scala
6b7f0ba 
>   samza-core/src/main/scala/org/apache/samza/util/Util.scala 419452c 
>   samza-core/src/test/scala/org/apache/samza/util/TestUtil.scala ead6f94 
>   samza-log4j/src/main/java/org/apache/samza/logging/log4j/serializers/LoggingEventJsonSerde.java
cbf552c 
> 
> Diff: https://reviews.apache.org/r/37039/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> József Márton Jung
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message