$ git clone git@github.com:apache/zookeeper.git- Click File .. -> New -> Project ... -> Java Project from an Existing Ant file
- Select zookeeper/build.txt
$ git clone git@github.com:apache/zookeeper.git- Click File .. -> New -> Project ... -> Java Project from an Existing Ant file
<configuration> <property> <name>hbase.rootdir</name> <value>file:////tmp/hbase/hbase-\${user.name}/hbase</value> </property> <property> <name>hbase.zookeeper.dns.interface</name> <value>lo</value> </property> <property> <name>hbase.regionserver.dns.interface</name> <value>lo</value> </property> <property> <name>hbase.master.dns.interface</name> <value>lo</value> </property> </configuration>
e) To work around the IPv6 bug in org.apache.hadoop.net.DNS.reverseDns one can disable IPv6 on loopback interface
ifconfig lo inet6 del ::1/128Otherwise you might see the following in the stack trace:
Caused by: java.lang.ArrayIndexOutOfBoundsException: 3 at org.apache.hadoop.net.DNS.reverseDns(DNS.java:78)