hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8640) ServerName in master may not initialize with the configured ipc address of hbase.master.ipc.address
Date Thu, 29 Aug 2013 04:26:53 GMT

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

Hudson commented on HBASE-8640:
-------------------------------

SUCCESS: Integrated in hbase-0.95 #502 (See [https://builds.apache.org/job/hbase-0.95/502/])
HBASE-9371 Eliminate log spam when tailing files
HBASE-9326 ServerName is created using getLocalSocketAddress, breaks binding to the wildcard
           address. Revert HBASE-8640 (jdcryans: rev 1518429)
* /hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/fs/HFileSystem.java
* /hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
* /hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.java

                
> ServerName in master may not initialize with the configured ipc address of hbase.master.ipc.address
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-8640
>                 URL: https://issues.apache.org/jira/browse/HBASE-8640
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>            Reporter: rajeshbabu
>            Assignee: rajeshbabu
>             Fix For: 0.98.0, 0.95.2, 0.94.9
>
>         Attachments: HBASE-8640_94.patch, HBASE-8640.patch
>
>
> We are starting rpc server with default interface hostname or configured ipc address
> {code}
>     this.rpcServer = HBaseRPC.getServer(this,
>       new Class<?>[]{HMasterInterface.class, HMasterRegionInterface.class},
>         initialIsa.getHostName(), // This is bindAddress if set else it's hostname
>         initialIsa.getPort(),
>         numHandlers,
>         0, // we dont use high priority handlers in master
>         conf.getBoolean("hbase.rpc.verbose", false), conf,
>         0); // this is a DNC w/o high priority handlers
> {code}
> But we are initialzing servername with default hostname always master znode also have
this hostname.
> {code}
>     String hostname = Strings.domainNamePointerToHostName(DNS.getDefaultHost(
>       conf.get("hbase.master.dns.interface", "default"),
>       conf.get("hbase.master.dns.nameserver", "default")));
> 	...
>     this.serverName = new ServerName(hostname,
>       this.isa.getPort(), System.currentTimeMillis());
> {code}
> If both default interface hostname and configured ipc address are not same clients will
get MasterNotRunningException.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message