[ 
https://issues.apache.org/jira/browse/BEAM-3314?focusedWorklogId=109618&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-109618
 ]

ASF GitHub Bot logged work on BEAM-3314:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 07/Jun/18 04:01
            Start Date: 07/Jun/18 04:01
    Worklog Time Spent: 10m 
      Work Description: stale[bot] commented on issue #4228: BEAM-3314 Endpoint 
host port configuration reset issue
URL: https://github.com/apache/beam/pull/4228#issuecomment-395285670
 
 
   This pull request has been marked as stale due to 60 days of inactivity. It 
will be closed in 1 week if no further activity occurs. If you think that’s 
incorrect or this pull request requires a review, please simply write any 
comment. If closed, you can revive the PR at any time and @mention a reviewer 
or discuss it on the [email protected] list. Thank you for your 
contributions.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 109618)
    Time Spent: 1h 50m  (was: 1h 40m)

> RedisIO: RedisConnectionConfiguration withEndpoint does not set host 
> correctly.
> -------------------------------------------------------------------------------
>
>                 Key: BEAM-3314
>                 URL: https://issues.apache.org/jira/browse/BEAM-3314
>             Project: Beam
>          Issue Type: Bug
>          Components: io-java-redis
>    Affects Versions: 2.2.0
>            Reporter: Vinay varma
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> {code:java}
>     public Read withEndpoint(String host, int port) {
>       checkArgument(host != null, "host can not be null");
>       checkArgument(port > 0, "port can not be negative or 0");
>       return builder()
>           
> .setConnectionConfiguration(connectionConfiguration().withHost(host))
>           
> .setConnectionConfiguration(connectionConfiguration().withPort(port))
>           .build();
>     }
> {code}
> think because setConnectionConfiguration sets the object back into the 
> builder, the second set was overwriting the effects of setting the host.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to