Http://www.aboutyun.com/thread-8401-1-1.html
Http://www.aboutyun.com/thread-5866-1-1.html
In the Win7 system, Eclipse reads HBase to run an error:
Question 1:
Java.io.IOException:Could not locate executable null\bin\winutils.exe in the Hadoop binaries.
If Hadoop_home is empty, it must be fullexename to Null\bin\winutils.exe. Go into your Hadoop-x.x.x/bin directory and you will find that you are not winutils.exe this stuff at all. Go to GitHub to download one. Address: Https://github.com/srccodes/hadoop-common-2.2.0-bin
1st:
1.Download the file
2.Create Hadoop folder in Your System ex "C:"
3.Create Bin folder in Hadoop directory Ex:c:\hadoop\bin
4.paste Winutils.exe in Bin Ex:c:\hadoop\bin\winuitls.exe
5.In User Variables in System Properties-Advance system Settings
Create New Variable name:hadoop_home path:c:\hadoop\
2nd:
You can set Hadoop home directly in Your Java program with the following Command like this:
System.setProperty("hadoop.home.dir","C:\hadoop" );
Question 2:
Org.apache.hadoop.hbase.MasterNotRunningException:The Node/hbase is not in ZooKeeper. It should has been written by the master. Check the value configured in ' Zookeeper.znode.parent '. There could be a mismatch with the one configured in the master
You can set the following:
Conf.set ("Zookeeper.znode.parent", "/hbase-unsecure");
Eclipse remote Invoke HBase encounters a problem