hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ferdy (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-4671) HBaseTestingUtility unable to connect to regionserver because of / discrepancy
Date Tue, 25 Oct 2011 15:44:32 GMT
HBaseTestingUtility unable to connect to regionserver because of / discrepancy

                 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

When /etc/hosts contains following lines (and this is not uncommon) it will cause HBaseTestingUtility
to malfunction.	localhost	myMachineName

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


2011-10-25 17:38:28,371 INFO  regionserver.HRegionServer - Serving as localhost,34462,1319557102914,
RPC listening on /, sessionid=0x1333bbb7a180002

caused by / vs /

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