[
https://issues.apache.org/jira/browse/GEODE-5731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16846005#comment-16846005
]
ASF subversion and git services commented on GEODE-5731:
--------------------------------------------------------
Commit 0430a538f133ea9f450234256f980fcba9356e1c in geode's branch
refs/heads/develop from Juan José Ramos
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=0430a53 ]
GEODE-5731: Add tests for hostname-for-clients
- Fixed minor warnings.
- Added some tests to check that the `hostname-for-clients` flag is
propagated across the stack while starting locators and servers.
- Replaced usage of class `org.apache.geode.internal.lang.StringUtils`
(deprecated) by `org.apache.commons.lang3.StringUtils`.
> --hostname-for-client not working correclty
> -------------------------------------------
>
> Key: GEODE-5731
> URL: https://issues.apache.org/jira/browse/GEODE-5731
> Project: Geode
> Issue Type: Bug
> Components: configuration, locator
> Affects Versions: 1.6.0
> Reporter: Alexander Murmann
> Assignee: Juan José Ramos Cassella
> Priority: Major
> Labels: SmallFeature
> Time Spent: 20m
> Remaining Estimate: 0h
>
> When starting a server cluster on EC2 and --hostname-for-client set for
> locator and server then the locator does not return the client-bind-address.
> Locator and server were initially started with
> {code:java}
> start locator --name=locator --port=41111
> --properties-file=./gemfire.properties --initial-heap=256M
> --hostname-for-clients=ec2-12-345-678-90.compute-1.amazonaws.com
> start server --name=server1 --server-port=44666
> --properties-file=./gemfire.properties --initial-heap=256M
> --start-rest-api=true --http-service-port=7676
> {code}
> After some debugging the hostname-for-client on the server was also set to be
> the public IP address.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)