hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nkeywal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4671) HBaseTestingUtility unable to connect to regionserver because of / discrepancy
Date Sat, 23 Jun 2012 15:19:43 GMT

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

nkeywal commented on HBASE-4671:

>From the hbase reference guide: http://hbase.apache.org/book.html#os

2.2.3. Loopback IP

HBase expects the loopback IP address to be Ubuntu and some other distributions,
for example, will default to and this will cause problems for you.

/etc/hosts should look something like this:

   ubuntu.ubuntu-domain ubuntu

> HBaseTestingUtility unable to connect to regionserver because of /
> --------------------------------------------------------------------------------------------------
>                 Key: HBASE-4671
>                 URL: https://issues.apache.org/jira/browse/HBASE-4671
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.90.4
>         Environment: At least Ubuntu 11.10 with a default hosts file.
>            Reporter: Ferdy Galema
> When /etc/hosts contains following lines (and this is not uncommon) it will cause HBaseTestingUtility
to malfunction.
>	localhost
>	myMachineName
> Symptoms:
> 2011-10-25 17:38:30,875 WARN  master.AssignmentManager - Failed assignment of -ROOT-,,0.70236052
to serverName=localhost,34462,1319557102914, load=(requests=0, regions=0, usedHeap=46, maxHeap=865),
trying to assign elsewhere instead; retry=0
> org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed setting up proxy interface
org.apache.hadoop.hbase.ipc.HRegionInterface to / after attempts=1
> because
> 2011-10-25 17:38:28,371 INFO  regionserver.HRegionServer - Serving as localhost,34462,1319557102914,
RPC listening on /, sessionid=0x1333bbb7a180002
> caused by / vs /
> Workaround:
> Changing to works.
> Permanent solution:
> Dunno, my understanding of inner workings is not sufficient enough. Although it seems
like it has something to do with changing the machine name from myMachineName to localhost
during the test:
> 2011-10-25 17:38:28,056 INFO  regionserver.HRegionServer - Master passed us address to
use. Was=myMachineName:34462, Now=localhost:34462

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message