You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@rocketmq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/08/28 02:50:00 UTC

[jira] [Commented] (ROCKETMQ-277) get localhost throw java.net.UnknownHostException,when server hostname not in /etc/hosts

    [ https://issues.apache.org/jira/browse/ROCKETMQ-277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16143314#comment-16143314 ] 

ASF GitHub Bot commented on ROCKETMQ-277:
-----------------------------------------

GitHub user fuyou001 opened a pull request:

    https://github.com/apache/incubator-rocketmq/pull/157

    Rocketmq 277

    Motivation:
     fix bug [ROCKETMQ-277](https://issues.apache.org/jira/browse/ROCKETMQ-277)


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/fuyou001/incubator-rocketmq ROCKETMQ-277

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-rocketmq/pull/157.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #157
    
----
commit 5874ce3747a45250b7d77da3d716d92e09f70cd3
Author: 傅冲 <yu...@alibaba-inc.com>
Date:   2017-08-24T09:24:44Z

    #ROCKETMQ-277# fix bug

commit 8e1ae4cafbd52f529758a79e68176d27ad9a1441
Author: 傅冲 <yu...@alibaba-inc.com>
Date:   2017-08-24T09:45:46Z

    #ROCKETMQ-277# fix bug & add unit test

commit 32e63fdc1ad0856939e58c0beb5919b8d425b074
Author: 傅冲 <yu...@alibaba-inc.com>
Date:   2017-08-28T02:45:46Z

    [ROCKETMQ-277]  delete sys.out

----


> get localhost throw java.net.UnknownHostException,when server hostname  not in /etc/hosts
> -----------------------------------------------------------------------------------------
>
>                 Key: ROCKETMQ-277
>                 URL: https://issues.apache.org/jira/browse/ROCKETMQ-277
>             Project: Apache RocketMQ
>          Issue Type: Bug
>          Components: rocketmq-client, rocketmq-commons
>    Affects Versions: 4.0.0-incubating, 4.1.0-incubating
>            Reporter: yubaofu
>            Assignee: Xiaorui Wang
>             Fix For: 4.2.0-incubating
>
>
> if server hostname not in /etc/hosts, org.apache.rocketmq.common.MixAll#localhost throw  UnknownHostException 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)