I can access the Hadoop hdfs from ./bin/Hadoop. When I use the command ./bin/hadoop fs -lsr / I got the following result:
$ bin/hadoop fs -lsr -rw-r--r-- 1 HadoopAdmin supergroup 0 2009-02-06 13:11 /user/HadoopAd min/hello.txt -rw-r--r-- 3 HadoopAdmin supergroup 0 2009-02-06 12:00 /user/HadoopAd min/test.txt It always works fine, but when I want hbase use hdfs and change the configuration (as mentioned earlier) then my master not starts. Pls tell what can be the problem? -Aseem Puri -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of stack Sent: Monday, March 16, 2009 5:19 PM To: [email protected] Subject: Re: Problem with starting HBase Master It seems like there is a problem with your local networking? Its having trouble finding hdfs on 127.0.0.1. Can you access the hadoop hdfs using ./bin/hadoop? What happens if you do ./bin/hadoop fs -lsr /? St.Ack On Mon, Mar 16, 2009 at 3:10 AM, Puri, Aseem <[email protected]>wrote: > Hi > > > > I am using Hadoop-0.18.0 and hbase-0.18.0. My Hadoop -site > configuration in Pseudo-Distributed Mode is: > > > > > > <configuration> > > > > <property> > > <name>fs.default.name</name> > > <value>hdfs://127.0.0.1:9000</value> > > </property> > > > > <property> > > <name>mapred.job.tracker</name> > > <value>hdfs://127.0.0.1:9001</value> > > </property> > > > > <property> > > <name>dfs.name.dir</name> > > <value>/home/HadoopAdmin/hdfs/name</value> > > </property> > > > > <property> > > <name>dfs.data.dir</name> > > <value>/home/HadoopAdmin/hdfs/data</value> > > </property> > > > > <property> > > <name>dfs.replication</name> > > <value>3</value> > > </property> > > > > </configuration> > > > > > > Hadoop server is working fine but when I set my Hbase-site configuration > in Pseudo-Distributed Operation as: > > > <configuration> > <property> > <name>hbase.rootdir</name> > <value>hdfs:// 127.0.0.1:9000/hbase</value> > <description>The directory shared by region servers. > </description> > </property> > </configuration> > > > > HBase master don't works. But if I leave the configuration empty then > mater starts but it use local file system. > > > > Please tell how should I configure my HBase so its master starts working > and HBase also works on HDFS. > > > > Thanks & Regards > > Aseem Puri > > Project Trainee > > Honeywell Technology Solutions Lab > > Bangalore > > > > > >
