(1) Configure hadoop-eclipse-plugin-1.0.3.jar
\\192.168.1.19\development\GroupM\Softwares\hadoop\hadoop-eclipse-plugin-1.0.3.jar
(2) copy all the jar file in the hadoop into your classpath.
(3) copy hbase\hbase-0.*.*.jar, hbase\lib\zookeeper-3.4.3.jar into your classpath.
(4) copy hbase-site.xml into your classpath.
(5) Modify org.apache.hadoop.fs.FileUtil.java
private static void checkReturnValue(boolean rv, File p,
FsPermission permission
) throws IOException {
/*if (!rv) {
throw new IOException("Failed to set permissions of path: " + p +
" to " +
String.format("%04o", permission.toShort()));
}*/
}
For this problem:
ERROR security.UserGroupInformation: PriviledgedActionException as:C5176213
cause:java.io.IOException: Failed to set permissions of path
(6) Modify hbase-site.xml in your project
Add these properties.
<property>
<name>mapred.job.tracker</name>
<value>ubuntu-api:9001</value>
</property>
<property>
<name>dfs.permissions</name>
<value>false</value>
</property>
(6) copy hbase\hbase-0.*.*.jar, hbase\lib\zookeeper-3.4.3.jar to the hadoop\lib on all the
hadoop machine.