Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion how to config voldemort not to bound on 0.0.0.0
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
wonderyl  
View profile  
 More options Feb 2 2012, 12:40 am
From: wonderyl <wonde...@gmail.com>
Date: Wed, 1 Feb 2012 21:40:16 -0800 (PST)
Local: Thurs, Feb 2 2012 12:40 am
Subject: Re: how to config voldemort not to bound on 0.0.0.0
thank u Harris:
i've change the source code of voldemort to support configurable host,
for both niosocketserver and socketserver, but there are still one
more service binding to *, listed as below, the first service is
unknown
--------netstat
output----------------------------------------------------------------
tcp        0      0 *:49454                 *:*   LISTEN      24831/
java
tcp        0      0 10.151.130.80:56666     *:* LISTEN      24831/
java
tcp        0      0 10.151.130.80:56667     *:* LISTEN      24831/
java

it seems that it's the storage service, i'm using bdb as storage, can
u tell me which class is responsible for this service?
btw, the service seems to use a random port

thank you very much

On Feb 1, 4:55 pm, Brendan Harris <voldem...@stotch.com> wrote:

> Hello,

> It is not currently configurable, though it's not a bad idea for it to
> be. VoldemortServer.java calls either SocketService or
> NioSocketService (depending on which type you're using), both of which
> currently only allow the port to be passed to it as the second
> parameter. Both of those methods call  InetSocketAddress(port) to
> open the socket. It looks easy enough to add in support for an
> optional <bind-ip> field in cluster.xml and update those methods to
> support this, having them check if bindIp is not null and calling
> InetSocketAddress(bindIp, port) if defined. Let me look into this.

> Brendan

> On Jan 30, 7:35 pm, wonderyl <wonde...@gmail.com> wrote:

> > i would like voldemort bound to a specific ip, like 10.1.1.1
> > not 0.0.0.0 or *
> > could anyone teach me how?
> > thanks


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.