Java Client Connection Errors on Upgrade from 0.19.11 to 1.0.0.Beta2

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Java Client Connection Errors on Upgrade from 0.19.11 to 1.0.0.Beta2

davrob
Hi, 

So, after the upgrade I now can't connect using a java client node using:

Node hostNode = NodeBuilder.nodeBuilder()
.loadConfigSettings(false)
.settings(settings)
.node()
.start();

with these client settings:

index.number_of_shards=1, 
index.number_of_replicas=1, 
cluster.name=CMTDEV1, 
node.client=true,
index.mapper=dynamic:false, 
node.data=false, 
transport.tcp.port=9400-9450, 
http.port=9451-9500, 
node.name=David-Roberts-Local_166.15.121.56,
 network.host=166.15.121.56, 
discovery.zen.ping.unicast.enabled=true, 
http.enabled=true, 
discovery.zen.ping.unicast.hosts=vcll36a-1001.equity.csfb.com:9400,vcll36a-1001.equity.csfb.com:9401,vcll36a-1001.equity.csfb.com:9402,vcll36a-1001.equity.csfb.com:9403,vcll36a-1001.equity.csfb.com:9404,vcll36a-1001.equity.csfb.com:9405,vcll36a-1001.equity.csfb.com:9406,vcll36a-1001.equity.csfb.com:9407,vcll36a-1001.equity.csfb.com:9408,vcll36a-1001.equity.csfb.com:9409,vcll36a-1001.equity.csfb.com:9410, 

discovery.zen.ping.multicast.enabled=false

The error thrown on the client is this:

[CMLM]2014-01-03 18:08:05,251  INFO zen:114 - [David-Roberts-Local_166.15.121.56] failed to send join request to master [[Cheetah][Y-Bo59_1Se-fSsAkz1bqKw][inet[/169.36.78.96:9401]]], reason [org.elasticsearch.transport.RemoteTransportException: [Cheetah][inet[/169.36.78.96:9401]][discovery/zen/join]; org.elasticsearch.ElasticSearchTimeoutException: Timeout waiting for task.]

This server and client combination was fine using 0.19.11, so ports/firewalls is probably not the issue.

The sever startup log is here: https://gist.github.com/dav-rob/8243260

The server config is here: https://gist.github.com/dav-rob/8243311 

The serer command line is here: https://gist.github.com/dav-rob/8243336

Thanks,

David.

 

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/3a8358b4-0188-4654-9c07-df77b5ed4300%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: Java Client Connection Errors on Upgrade from 0.19.11 to 1.0.0.Beta2

Alexander Reelsen-2
Hey,

just to make sure: You are using the same elasticsearch version and the same jvm version (including the minor/release version) on the server and client side?


--Alex


On Fri, Jan 3, 2014 at 7:24 PM, davrob2 <[hidden email]> wrote:
Hi, 

So, after the upgrade I now can't connect using a java client node using:

Node hostNode = NodeBuilder.nodeBuilder()
.loadConfigSettings(false)
.settings(settings)
.node()
.start();

with these client settings:

index.number_of_shards=1, 
index.number_of_replicas=1, 
cluster.name=CMTDEV1, 
node.client=true,
index.mapper=dynamic:false, 
node.data=false, 
transport.tcp.port=9400-9450, 
http.port=9451-9500, 
node.name=David-Roberts-Local_166.15.121.56,
 network.host=166.15.121.56, 
discovery.zen.ping.unicast.enabled=true, 
http.enabled=true, 

discovery.zen.ping.multicast.enabled=false

The error thrown on the client is this:

[CMLM]2014-01-03 18:08:05,251  INFO zen:114 - [David-Roberts-Local_166.15.121.56] failed to send join request to master [[Cheetah][Y-Bo59_1Se-fSsAkz1bqKw][inet[/169.36.78.96:9401]]], reason [org.elasticsearch.transport.RemoteTransportException: [Cheetah][inet[/169.36.78.96:9401]][discovery/zen/join]; org.elasticsearch.ElasticSearchTimeoutException: Timeout waiting for task.]

This server and client combination was fine using 0.19.11, so ports/firewalls is probably not the issue.

The sever startup log is here: https://gist.github.com/dav-rob/8243260

The server config is here: https://gist.github.com/dav-rob/8243311 

The serer command line is here: https://gist.github.com/dav-rob/8243336

Thanks,

David.

 

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/3a8358b4-0188-4654-9c07-df77b5ed4300%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAGCwEM9AueYhi_7w%2Brbc%2B%3D%2BoFF2uQA%3D66B-JZ6%3DHrprfA-m3CQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: Java Client Connection Errors on Upgrade from 0.19.11 to 1.0.0.Beta2

davrob
Hi Alexander,

Yes, there was potentially an issue with JVM versions which I have address, however, I am still having issue, which I have tried to address with a more simplified configuration - based on the out of the box elasticsearch, rather than the config I've been using for the last couple of years.  I created a new thread, based on that configuration: Beta2 UnresolvedAddressException. Thanks, David.

On Wednesday, 8 January 2014 13:14:38 UTC, Alexander Reelsen wrote:
Hey,

just to make sure: You are using the same elasticsearch version and the same jvm version (including the minor/release version) on the server and client side?


--Alex


On Fri, Jan 3, 2014 at 7:24 PM, davrob2 <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="5ZDoGW1AfzMJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">davir...@...> wrote:
Hi, 

So, after the upgrade I now can't connect using a java client node using:

Node hostNode = NodeBuilder.nodeBuilder()
.loadConfigSettings(false)
.settings(settings)
.node()
.start();

with these client settings:

index.number_of_shards=1, 
index.number_of_replicas=1, 
<a href="http://cluster.name" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fcluster.name\46sa\75D\46sntz\0751\46usg\75AFQjCNGbdss-_rGgAY2He8KM6ZUy2TdG8g';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fcluster.name\46sa\75D\46sntz\0751\46usg\75AFQjCNGbdss-_rGgAY2He8KM6ZUy2TdG8g';return true;">cluster.name=CMTDEV1, 
node.client=true,
index.mapper=dynamic:false, 
node.data=false, 
transport.tcp.port=9400-9450, 
http.port=9451-9500, 
<a href="http://node.name" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fnode.name\46sa\75D\46sntz\0751\46usg\75AFQjCNE8Cff_rbggu0_UXL6VsgDVF5NFCg';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fnode.name\46sa\75D\46sntz\0751\46usg\75AFQjCNE8Cff_rbggu0_UXL6VsgDVF5NFCg';return true;">node.name=David-Roberts-Local_166.15.121.56,
 network.host=166.15.121.56, 
discovery.zen.ping.unicast.enabled=true, 
http.enabled=true, 
discovery.zen.ping.unicast.hosts=<a href="http://vcll36a-1001.equity.csfb.com:9400" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvcll36a-1001.equity.csfb.com%3A9400\46sa\75D\46sntz\0751\46usg\75AFQjCNHTvIDdN7n1uUlhgboLxf7NiQMl3Q';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvcll36a-1001.equity.csfb.com%3A9400\46sa\75D\46sntz\0751\46usg\75AFQjCNHTvIDdN7n1uUlhgboLxf7NiQMl3Q';return true;">vcll36a-1001.equity.csfb.com:9400,<a href="http://vcll36a-1001.equity.csfb.com:9401" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvcll36a-1001.equity.csfb.com%3A9401\46sa\75D\46sntz\0751\46usg\75AFQjCNErs_lpJvNU8SrDsbvpz5JBK-V7dA';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvcll36a-1001.equity.csfb.com%3A9401\46sa\75D\46sntz\0751\46usg\75AFQjCNErs_lpJvNU8SrDsbvpz5JBK-V7dA';return true;">vcll36a-1001.equity.csfb.com:9401,<a href="http://vcll36a-1001.equity.csfb.com:9402" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvcll36a-1001.equity.csfb.com%3A9402\46sa\75D\46sntz\0751\46usg\75AFQjCNFzU_MR1S5N6Kf54BtfE8nTVFoW2w';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvcll36a-1001.equity.csfb.com%3A9402\46sa\75D\46sntz\0751\46usg\75AFQjCNFzU_MR1S5N6Kf54BtfE8nTVFoW2w';return true;">vcll36a-1001.equity.csfb.com:9402,<a href="http://vcll36a-1001.equity.csfb.com:9403" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvcll36a-1001.equity.csfb.com%3A9403\46sa\75D\46sntz\0751\46usg\75AFQjCNFyKjMi4fLdlfs_hFZLi8INS_ZJTg';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvcll36a-1001.equity.csfb.com%3A9403\46sa\75D\46sntz\0751\46usg\75AFQjCNFyKjMi4fLdlfs_hFZLi8INS_ZJTg';return true;">vcll36a-1001.equity.csfb.com:9403,<a href="http://vcll36a-1001.equity.csfb.com:9404" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvcll36a-1001.equity.csfb.com%3A9404\46sa\75D\46sntz\0751\46usg\75AFQjCNH_iGyil7-U0QR3c2VMC3gPddlApA';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvcll36a-1001.equity.csfb.com%3A9404\46sa\75D\46sntz\0751\46usg\75AFQjCNH_iGyil7-U0QR3c2VMC3gPddlApA';return true;">vcll36a-1001.equity.csfb.com:9404,<a href="http://vcll36a-1001.equity.csfb.com:9405" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvcll36a-1001.equity.csfb.com%3A9405\46sa\75D\46sntz\0751\46usg\75AFQjCNHJZr0OEOr-FF8BCOBumMSGU9hqtA';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvcll36a-1001.equity.csfb.com%3A9405\46sa\75D\46sntz\0751\46usg\75AFQjCNHJZr0OEOr-FF8BCOBumMSGU9hqtA';return true;">vcll36a-1001.equity.csfb.com:9405,<a href="http://vcll36a-1001.equity.csfb.com:9406" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvcll36a-1001.equity.csfb.com%3A9406\46sa\75D\46sntz\0751\46usg\75AFQjCNEejYhyEcPyIKhvs4apRalnCxfnow';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvcll36a-1001.equity.csfb.com%3A9406\46sa\75D\46sntz\0751\46usg\75AFQjCNEejYhyEcPyIKhvs4apRalnCxfnow';return true;">vcll36a-1001.equity.csfb.com:9406,<a href="http://vcll36a-1001.equity.csfb.com:9407" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvcll36a-1001.equity.csfb.com%3A9407\46sa\75D\46sntz\0751\46usg\75AFQjCNFmO29m4OMl_PfYEt1_GAbur4CTVg';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvcll36a-1001.equity.csfb.com%3A9407\46sa\75D\46sntz\0751\46usg\75AFQjCNFmO29m4OMl_PfYEt1_GAbur4CTVg';return true;">vcll36a-1001.equity.csfb.com:9407,<a href="http://vcll36a-1001.equity.csfb.com:9408" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvcll36a-1001.equity.csfb.com%3A9408\46sa\75D\46sntz\0751\46usg\75AFQjCNE_nOszm9wiwO172lUR5FKFsllZHA';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvcll36a-1001.equity.csfb.com%3A9408\46sa\75D\46sntz\0751\46usg\75AFQjCNE_nOszm9wiwO172lUR5FKFsllZHA';return true;">vcll36a-1001.equity.csfb.com:9408,<a href="http://vcll36a-1001.equity.csfb.com:9409" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvcll36a-1001.equity.csfb.com%3A9409\46sa\75D\46sntz\0751\46usg\75AFQjCNE50jHlY1ImqN4tA1eWUvNhlYXhkQ';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvcll36a-1001.equity.csfb.com%3A9409\46sa\75D\46sntz\0751\46usg\75AFQjCNE50jHlY1ImqN4tA1eWUvNhlYXhkQ';return true;">vcll36a-1001.equity.csfb.com:9409,<a href="http://vcll36a-1001.equity.csfb.com:9410" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvcll36a-1001.equity.csfb.com%3A9410\46sa\75D\46sntz\0751\46usg\75AFQjCNETiO57N6l9ENYQlmRRf8Jx37HCpw';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvcll36a-1001.equity.csfb.com%3A9410\46sa\75D\46sntz\0751\46usg\75AFQjCNETiO57N6l9ENYQlmRRf8Jx37HCpw';return true;">vcll36a-1001.equity.csfb.com:9410, 

discovery.zen.ping.multicast.enabled=false

The error thrown on the client is this:

[CMLM]2014-01-03 18:08:05,251  INFO zen:114 - [David-Roberts-Local_166.15.121.56] failed to send join request to master [[Cheetah][Y-Bo59_1Se-fSsAkz1bqKw][inet[/169.36.78.96:9401]]], reason [org.elasticsearch.transport.RemoteTransportException: [Cheetah][inet[/169.36.78.96:9401]][discovery/zen/join]; org.elasticsearch.ElasticSearchTimeoutException: Timeout waiting for task.]

This server and client combination was fine using 0.19.11, so ports/firewalls is probably not the issue.

The sever startup log is here: <a href="https://gist.github.com/dav-rob/8243260" target="_blank" onmousedown="this.href='https://www.google.com/url?q\75https%3A%2F%2Fgist.github.com%2Fdav-rob%2F8243260\46sa\75D\46sntz\0751\46usg\75AFQjCNH8-fS99kmoScCnEdhwqnqZo1tu3w';return true;" onclick="this.href='https://www.google.com/url?q\75https%3A%2F%2Fgist.github.com%2Fdav-rob%2F8243260\46sa\75D\46sntz\0751\46usg\75AFQjCNH8-fS99kmoScCnEdhwqnqZo1tu3w';return true;">https://gist.github.com/dav-rob/8243260

The server config is here: <a href="https://gist.github.com/dav-rob/8243311" target="_blank" onmousedown="this.href='https://www.google.com/url?q\75https%3A%2F%2Fgist.github.com%2Fdav-rob%2F8243311\46sa\75D\46sntz\0751\46usg\75AFQjCNEUMxKa0UWTv1K8PRO2iWm_a3p4xA';return true;" onclick="this.href='https://www.google.com/url?q\75https%3A%2F%2Fgist.github.com%2Fdav-rob%2F8243311\46sa\75D\46sntz\0751\46usg\75AFQjCNEUMxKa0UWTv1K8PRO2iWm_a3p4xA';return true;">https://gist.github.com/dav-rob/8243311 

The serer command line is here: <a href="https://gist.github.com/dav-rob/8243336" target="_blank" onmousedown="this.href='https://www.google.com/url?q\75https%3A%2F%2Fgist.github.com%2Fdav-rob%2F8243336\46sa\75D\46sntz\0751\46usg\75AFQjCNFTCLjzRNQ0z14A6U64AJlZC8koNA';return true;" onclick="this.href='https://www.google.com/url?q\75https%3A%2F%2Fgist.github.com%2Fdav-rob%2F8243336\46sa\75D\46sntz\0751\46usg\75AFQjCNFTCLjzRNQ0z14A6U64AJlZC8koNA';return true;">https://gist.github.com/dav-rob/8243336

Thanks,

David.

 

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="5ZDoGW1AfzMJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">elasticsearc...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/elasticsearch/3a8358b4-0188-4654-9c07-df77b5ed4300%40googlegroups.com" target="_blank" onmousedown="this.href='https://groups.google.com/d/msgid/elasticsearch/3a8358b4-0188-4654-9c07-df77b5ed4300%40googlegroups.com';return true;" onclick="this.href='https://groups.google.com/d/msgid/elasticsearch/3a8358b4-0188-4654-9c07-df77b5ed4300%40googlegroups.com';return true;">https://groups.google.com/d/msgid/elasticsearch/3a8358b4-0188-4654-9c07-df77b5ed4300%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/groups/opt_out" target="_blank" onmousedown="this.href='https://groups.google.com/groups/opt_out';return true;" onclick="this.href='https://groups.google.com/groups/opt_out';return true;">https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/f59eb9ad-07d9-40a3-8529-671607c86d7f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.