http://tonylixu.blogspot.com/2013/06/hadoop-how-to-set-up-hbase-in-eclipse_25.html
b) Then, to setup log4j from Eclipse:
- Right-click hbase-server -> Run as... -> Run Configurations
- Click Classpath tab -> User Entries
- Advanced... -> Add Folders -> OK
- Select hbase/conf -> OK -> Apply
- mvn package -DskipTests
<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)
No comments:
Post a Comment