On my (now horribly outdated) blog, I show how to prefer IPv4 in java, through 
command line options. I don't know if/how this would translate to a 
windows/cygwin setup... but I thought I'd throw it out there anyway...

export HADOOP_OPTS=-Djava.net.preferIPv4Stack=true

more details can be found at: 
http://www.travishegner.com/2009/06/hadoop-020-on-ubuntu-server-904-jaunty.html

HTH,

Travis Hegner
http://www.travishegner.com/


-----Original Message-----
From: Mark Laffoon [mailto:[email protected]]
Sent: Monday, July 26, 2010 10:55 AM
To: [email protected]
Subject: RE: Win7/cygwin SocketException: Address family not supported by 
protocol

Have you tried disabling ipv6?

-----Original Message-----
From: Jack Park [mailto:[email protected]]
Sent: Friday, July 23, 2010 6:50 PM
To: [email protected]
Subject: Win7/cygwin SocketException: Address family not supported by
protocol

I followed these marvelous instructions at
http://hbase.apache.org/docs/r0.20.4/cygwin.html
and got most everything to be configured correctly, localhost started,
etc.
But, when I run start-hbase.sh, I regularly get the error mentioned in
the subject line.

>From the web, it's suggested to tweak Windows hosts to say 127.0.0.1
    localhost  which I did. No change. If I ping 127.0.0.1, it answers
just fine.

Can anyone point to something I missed?

Thanks
Jack

The information contained in this communication is confidential and is intended 
only for the use of the named recipient.  Unauthorized use, disclosure, or 
copying is strictly prohibited and may be unlawful.  If you have received this 
communication in error, you should know that you are bound to confidentiality, 
and should please immediately notify the sender or our IT Department at  
866.459.4599.

Reply via email to