After compiling with with maven, I started getting back the following error.
2011-10-19 14:02:38,089 FATAL org.apache.hadoop.hbase.master.HMaster: Unhandled exception. Starting shutdown. java.io.IOException: Call to localhost/127.0.0.1:9000 failed on local exception: java.io.EOFException at org.apache.hadoop.ipc.Client.wrapException(Client.java:775) at org.apache.hadoop.ipc.Client.call(Client.java:743) at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:220) at $Proxy6.getProtocolVersion(Unknown Source) at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:359) at org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:113) at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:215) at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:177) at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:82) at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1378) at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1390) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:196) at org.apache.hadoop.fs.Path.getFileSystem(Path.java:175) at org.apache.hadoop.hbase.util.FSUtils.getRootDir(FSUtils.java:364) at org.apache.hadoop.hbase.master.MasterFileSystem.<init>(MasterFileSystem.java:81) at org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:346) at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:282) at org.apache.hadoop.hbase.master.HMasterCommandLine$LocalHMaster.run(HMasterCommandLine.java:193) at java.lang.Thread.run(Thread.java:680) Caused by: java.io.EOFException However, the hadoop-hbase still shows that I have required hadoop-core-0.20.205.0.jar in the path. The only change I see in the folder are creation of build and target folder as well as .m2 folder at different location. Is there anything changed because I used mvn install command. On Wed, Oct 19, 2011 at 11:25 AM, Jignesh Patel <[email protected]>wrote: > Just thinking it may be more easier to refer the hbase lib/jar by creating > map reduce project. > But I don't know in which jar following package exist. > > org.apache.hadoop.hbase. > > > -Jignesh > > On Wed, Oct 19, 2011 at 10:14 AM, Jignesh Patel > <[email protected]>wrote: > >> Dough and Jonathan, >> Yes I did follow the steps and with the help of Maven, I have created >> target folder. >> But that folder doesn't have anything like eclipse plugin. Something >> readily available in hadoop/contrib folder. >> >> What I am looking at this time, when I create a project through hadoop it >> shouldn't cry for the missing hbase classes. The way hadoop plugin adds all >> the required jars when I create map reduce project, similarly I should have >> hbase files available. >> >> So I am looking support for the code level. The link you provided for the >> Maven, is able to help till the compiling all the source code. But then I >> have to add appropriate jar so that whenever I create project for >> hadoop(0.20.205.0) and base(0.90.4) I have all the required jars available. >> >> For the database creation there is tool from Toad but I have not tried >> yet. >> >> -Jignesh >> >> On Wed, Oct 19, 2011 at 9:43 AM, Doug Meil <[email protected] >> > wrote: >> >>> >>> In addition to what Jonathan just said, see >>> >>> http://hbase.apache.org/book.html#ides >>> >>> >>> >>> On 10/19/11 3:05 AM, "Jonathan Gray" <[email protected]> wrote: >>> >>> >Not sure what kind of integration you're talking about, but if just want >>> >to create a project with the HBase source then just grab an SVN checkout >>> >of an HBase repo and just do: >>> > >>> >mvn eclipse:eclipse >>> > >>> >This creates all the necessary project files. Then just add new project >>> >from existing source. >>> > >>> >That's the extent to which there exists any HBase integration with >>> >eclipse that I know of. >>> > >>> >> -----Original Message----- >>> >> From: Jignesh Patel [mailto:[email protected]] >>> >> Sent: Tuesday, October 18, 2011 11:02 AM >>> >> To: [email protected] >>> >> Subject: integrating hadoop and Hbase with eclipse >>> >> >>> >> I am able to integrate hadoop 0.20.205.0 with eclipse. But it doesn't >>> >>have >>> >> hbase specific jars. By googling I found some articles about only >>> >>setting base >>> >> but none of them talks about setting up hadoop and hbase with eclipse. >>> >> >>> >> -jignesh >>> >>> >> >
