[
https://issues.apache.org/jira/browse/JAMES-1309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094418#comment-13094418
]
Robert Burrell Donkin commented on JAMES-1309:
----------------------------------------------
Dunno (I access the Ubuntu box over a network so fiddling with the networking
settings isn't very convenient for me ATM)
IIRC Ubuntu (desktop) ships with default unusual settings which cause issues
for some Java server applications on some JREs. James builds fine on my Gentoo
and Debian boxes. Some similar issues have been reported with HBase on Ubuntu
desktops.
ATM investing the time to prove the cause, coding a fix and then talking
upstream into accept the patch doesn't seem worthwhile to me. I'd be happy to
accept this as a known issue, write it up and forget it. If there's a consensus
for this approach, I'll find some time to give some simple instructions.
> [3.0] HBase mini cluster fails to start on some Linux installations causing
> test failures
> -----------------------------------------------------------------------------------------
>
> Key: JAMES-1309
> URL: https://issues.apache.org/jira/browse/JAMES-1309
> Project: JAMES Server
> Issue Type: Bug
> Affects Versions: Trunk, 3.0-beta4
> Environment: $ uname --all
> Linux corinth 2.6.38-11-generic-pae #48-Ubuntu SMP Fri Jul 29 20:51:21 UTC
> 2011 i686 athlon i386 GNU/Linux
> $ mvn -version
> Apache Maven 3.0.3 (r1075438; 2011-02-28 17:31:09+0000)
> Maven home:
> /home/name.robertburrelldonkin/main/src/org.apache/maven/apache-maven-3.0.3
> Java version: 1.6.0_22, vendor: Sun Microsystems Inc.
> Java home: /usr/lib/jvm/java-6-openjdk/jre
> Default locale: en_US, platform encoding: ANSI_X3.4-1968
> OS name: "linux", version: "2.6.38-11-generic-pae", arch: "i386", family:
> "unix"
> $ cat /etc/hosts
> 127.0.0.1 localhost.localdomain localhost
> ::1 corinth localhost6.localdomain6 localhost6
> 127.0.1.1 corinth
> # The following lines are desirable for IPv6 capable hosts
> ::1 localhost ip6-localhost ip6-loopback
> fe00::0 ip6-localnet
> ff00::0 ip6-mcastprefix
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
> ff02::3 ip6-allhosts
> About Unbuntu -> You are using Ubuntu 11.04 - the Natty Narwhal - released in
> April 2011 and supported until October 2012.
> Reporter: Robert Burrell Donkin
> Assignee: Robert Burrell Donkin
> Priority: Minor
>
> HBase Mini Cluster fails to start [1] on some (but not all) Linux
> distributions. Ubuntu 11.04 - the Natty Narwhal - by default enables IPv6 and
> maps localhost to 127.0.0.1 in the hosts file. This has been reported[2] to
> cause problems with HBase.
> [1] ERROR org.apache.james.JamesServerHBaseSuiteTest - HBase Mini Cluster
> failed to start. org.apache.hadoop.hbase.client.NoServerForRegionException:
> Unable to find region for after 2 tries.
> [2] eg.
> http://comments.gmane.org/gmane.comp.java.hadoop.hbase.user/18547
> https://groups.google.com/a/cloudera.org/group/cdh-user/browse_thread/thread/0321711d429c674c?pli=1
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]