HBASE-3916. Fix the default bind address of ThriftServer to be wildcard instead of localhost. Contributed by Li Pi
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1135358 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
76a743e8f0
commit
4c5264d4b3
|
@ -321,6 +321,8 @@ Release 0.90.4 - Unreleased
|
|||
(Ted Yu)
|
||||
HBASE-3946 The splitted region can be online again while the standby
|
||||
hmaster becomes the active one (Jieshan Bean)
|
||||
HBASE-3916 Fix the default bind address of ThriftServer to be wildcard
|
||||
instead of localhost. (Li Pi)
|
||||
|
||||
IMPROVEMENT
|
||||
HBASE-3882 hbase-config.sh needs to be updated so it can auto-detects the
|
||||
|
|
|
@ -1005,7 +1005,7 @@ public class ThriftServer {
|
|||
printUsageAndExit(options, -1);
|
||||
}
|
||||
} else {
|
||||
listenAddress = InetAddress.getLocalHost();
|
||||
listenAddress = InetAddress.getByName("0.0.0.0");
|
||||
}
|
||||
TServerTransport serverTransport = new TServerSocket(new InetSocketAddress(listenAddress, listenPort));
|
||||
|
||||
|
|
Loading…
Reference in New Issue