|
AnandaVelMurugan Chandra ...
2012-07-03, 10:19
Mohammad Tariq
2012-07-03, 10:28
AnandaVelMurugan Chandra ...
2012-07-03, 10:36
Mohammad Tariq
2012-07-03, 10:44
AnandaVelMurugan Chandra ...
2012-07-03, 12:07
Michael Segel
2012-07-03, 12:11
Mohammad Tariq
2012-07-03, 12:40
AnandaVelMurugan Chandra ...
2012-07-03, 13:01
Mohammad Tariq
2012-07-03, 13:11
AnandaVelMurugan Chandra ...
2012-07-03, 14:11
Mohammad Tariq
2012-07-03, 14:28
AnandaVelMurugan Chandra ...
2012-07-03, 14:42
Mohammad Tariq
2012-07-03, 14:47
AnandaVelMurugan Chandra ...
2012-07-03, 14:57
Mohammad Tariq
2012-07-03, 15:06
|
-
Connection error while usinh HBase client API for pseudodistrbuted modeAnandaVelMurugan Chandra ... 2012-07-03, 10:19
Hi,
For development purpose, I have set up HBase in pseudodistributed mode. I have following line in hbase-env.sh file export HBASE_MANAGES_ZK=true HBase shell works fine. But client API is not working. My client code is as follows Configuration config = HBaseConfiguration.create(); config.set("hbase.zookeeper.quorum", "10.78.32.131"); config.setBoolean("hbase.cluster.distributed", false); HBaseAdmin admin = new HBaseAdmin(config); admin.isMasterRunning(); System.out.println(admin.getClusterStatus().getHBaseVersion()); I am getting java.net.ConnectException: Connection refused: no further information. Any idea, how it can be fixed. Please let me know. Thanks!! -- Regards, Anand +
AnandaVelMurugan Chandra ... 2012-07-03, 10:19
-
Re: Connection error while usinh HBase client API for pseudodistrbuted modeMohammad Tariq 2012-07-03, 10:28
Hello Ananda,
Add these two lines in your client and sww if it works for you : config.set("hbase.zookeeper.property.clientPort","2181"); config.set("hbase.master", "localhost:60000"); Regards, Mohammad Tariq On Tue, Jul 3, 2012 at 3:49 PM, AnandaVelMurugan Chandra Mohan <[EMAIL PROTECTED]> wrote: > Hi, > > For development purpose, I have set up HBase in pseudodistributed mode. > > I have following line in hbase-env.sh file > > export HBASE_MANAGES_ZK=true > > HBase shell works fine. But client API is not working. > > My client code is as follows > > Configuration config = HBaseConfiguration.create(); > config.set("hbase.zookeeper.quorum", "10.78.32.131"); > config.setBoolean("hbase.cluster.distributed", false); > HBaseAdmin admin = new HBaseAdmin(config); > admin.isMasterRunning(); > > System.out.println(admin.getClusterStatus().getHBaseVersion()); > > I am getting java.net.ConnectException: Connection refused: no further > information. > > Any idea, how it can be fixed. Please let me know. Thanks!! > -- > Regards, > Anand +
Mohammad Tariq 2012-07-03, 10:28
-
Re: Connection error while usinh HBase client API for pseudodistrbuted modeAnandaVelMurugan Chandra ... 2012-07-03, 10:36
Hi,
Thanks for the response. Sadly I am still getting same error. On Tue, Jul 3, 2012 at 3:58 PM, Mohammad Tariq <[EMAIL PROTECTED]> wrote: > Hello Ananda, > > Add these two lines in your client and sww if it works for you : > > config.set("hbase.zookeeper.property.clientPort","2181"); > config.set("hbase.master", "localhost:60000"); > > Regards, > Mohammad Tariq > > > On Tue, Jul 3, 2012 at 3:49 PM, AnandaVelMurugan Chandra Mohan > <[EMAIL PROTECTED]> wrote: > > Hi, > > > > For development purpose, I have set up HBase in pseudodistributed mode. > > > > I have following line in hbase-env.sh file > > > > export HBASE_MANAGES_ZK=true > > > > HBase shell works fine. But client API is not working. > > > > My client code is as follows > > > > Configuration config = HBaseConfiguration.create(); > > config.set("hbase.zookeeper.quorum", "10.78.32.131"); > > config.setBoolean("hbase.cluster.distributed", false); > > HBaseAdmin admin = new HBaseAdmin(config); > > admin.isMasterRunning(); > > > > System.out.println(admin.getClusterStatus().getHBaseVersion()); > > > > I am getting java.net.ConnectException: Connection refused: no further > > information. > > > > Any idea, how it can be fixed. Please let me know. Thanks!! > > -- > > Regards, > > Anand > -- Regards, Anand +
AnandaVelMurugan Chandra ... 2012-07-03, 10:36
-
Re: Connection error while usinh HBase client API for pseudodistrbuted modeMohammad Tariq 2012-07-03, 10:44
Can you paste the contents of your /etc/hosts and hbase-site.xml files??
Regards, Mohammad Tariq On Tue, Jul 3, 2012 at 4:06 PM, AnandaVelMurugan Chandra Mohan <[EMAIL PROTECTED]> wrote: > Hi, > > Thanks for the response. Sadly I am still getting same error. > > > On Tue, Jul 3, 2012 at 3:58 PM, Mohammad Tariq <[EMAIL PROTECTED]> wrote: > >> Hello Ananda, >> >> Add these two lines in your client and sww if it works for you : >> >> config.set("hbase.zookeeper.property.clientPort","2181"); >> config.set("hbase.master", "localhost:60000"); >> >> Regards, >> Mohammad Tariq >> >> >> On Tue, Jul 3, 2012 at 3:49 PM, AnandaVelMurugan Chandra Mohan >> <[EMAIL PROTECTED]> wrote: >> > Hi, >> > >> > For development purpose, I have set up HBase in pseudodistributed mode. >> > >> > I have following line in hbase-env.sh file >> > >> > export HBASE_MANAGES_ZK=true >> > >> > HBase shell works fine. But client API is not working. >> > >> > My client code is as follows >> > >> > Configuration config = HBaseConfiguration.create(); >> > config.set("hbase.zookeeper.quorum", "10.78.32.131"); >> > config.setBoolean("hbase.cluster.distributed", false); >> > HBaseAdmin admin = new HBaseAdmin(config); >> > admin.isMasterRunning(); >> > >> > System.out.println(admin.getClusterStatus().getHBaseVersion()); >> > >> > I am getting java.net.ConnectException: Connection refused: no further >> > information. >> > >> > Any idea, how it can be fixed. Please let me know. Thanks!! >> > -- >> > Regards, >> > Anand >> > > > > -- > Regards, > Anand +
Mohammad Tariq 2012-07-03, 10:44
-
Re: Connection error while usinh HBase client API for pseudodistrbuted modeAnandaVelMurugan Chandra ... 2012-07-03, 12:07
Hi,
These are text from the files /etc/hosts 127.0.0.1 localhost # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters hbase-site.xml <configuration> <property> <name>hbase.rootdir</name> <value>hdfs://localhost/user/eucalyptus/hbase</value> <description>The directory shared by RegionServers. </description> </property> </configuration> On Tue, Jul 3, 2012 at 4:14 PM, Mohammad Tariq <[EMAIL PROTECTED]> wrote: > Can you paste the contents of your /etc/hosts and hbase-site.xml files?? > > Regards, > Mohammad Tariq > > > On Tue, Jul 3, 2012 at 4:06 PM, AnandaVelMurugan Chandra Mohan > <[EMAIL PROTECTED]> wrote: > > Hi, > > > > Thanks for the response. Sadly I am still getting same error. > > > > > > On Tue, Jul 3, 2012 at 3:58 PM, Mohammad Tariq <[EMAIL PROTECTED]> > wrote: > > > >> Hello Ananda, > >> > >> Add these two lines in your client and sww if it works for > you : > >> > >> config.set("hbase.zookeeper.property.clientPort","2181"); > >> config.set("hbase.master", "localhost:60000"); > >> > >> Regards, > >> Mohammad Tariq > >> > >> > >> On Tue, Jul 3, 2012 at 3:49 PM, AnandaVelMurugan Chandra Mohan > >> <[EMAIL PROTECTED]> wrote: > >> > Hi, > >> > > >> > For development purpose, I have set up HBase in pseudodistributed > mode. > >> > > >> > I have following line in hbase-env.sh file > >> > > >> > export HBASE_MANAGES_ZK=true > >> > > >> > HBase shell works fine. But client API is not working. > >> > > >> > My client code is as follows > >> > > >> > Configuration config = HBaseConfiguration.create(); > >> > config.set("hbase.zookeeper.quorum", "10.78.32.131"); > >> > config.setBoolean("hbase.cluster.distributed", false); > >> > HBaseAdmin admin = new HBaseAdmin(config); > >> > admin.isMasterRunning(); > >> > > >> > System.out.println(admin.getClusterStatus().getHBaseVersion()); > >> > > >> > I am getting java.net.ConnectException: Connection refused: no further > >> > information. > >> > > >> > Any idea, how it can be fixed. Please let me know. Thanks!! > >> > -- > >> > Regards, > >> > Anand > >> > > > > > > > > -- > > Regards, > > Anand > -- Regards, Anand +
AnandaVelMurugan Chandra ... 2012-07-03, 12:07
-
Re: Connection error while usinh HBase client API for pseudodistrbuted modeMichael Segel 2012-07-03, 12:11
What's the status of Hadoop and IPV6 vs IPV4?
On Jul 3, 2012, at 7:07 AM, AnandaVelMurugan Chandra Mohan wrote: > Hi, > > These are text from the files > > /etc/hosts > > 127.0.0.1 localhost > > > # The following lines are desirable for IPv6 capable hosts > ::1 localhost ip6-localhost ip6-loopback > fe00::0 ip6-localnet > ff00::0 ip6-mcastprefix > ff02::1 ip6-allnodes > ff02::2 ip6-allrouters > > hbase-site.xml > > <configuration> > <property> > <name>hbase.rootdir</name> > <value>hdfs://localhost/user/eucalyptus/hbase</value> > <description>The directory shared by RegionServers. > </description> > </property> > </configuration> > > > On Tue, Jul 3, 2012 at 4:14 PM, Mohammad Tariq <[EMAIL PROTECTED]> wrote: > >> Can you paste the contents of your /etc/hosts and hbase-site.xml files?? >> >> Regards, >> Mohammad Tariq >> >> >> On Tue, Jul 3, 2012 at 4:06 PM, AnandaVelMurugan Chandra Mohan >> <[EMAIL PROTECTED]> wrote: >>> Hi, >>> >>> Thanks for the response. Sadly I am still getting same error. >>> >>> >>> On Tue, Jul 3, 2012 at 3:58 PM, Mohammad Tariq <[EMAIL PROTECTED]> >> wrote: >>> >>>> Hello Ananda, >>>> >>>> Add these two lines in your client and sww if it works for >> you : >>>> >>>> config.set("hbase.zookeeper.property.clientPort","2181"); >>>> config.set("hbase.master", "localhost:60000"); >>>> >>>> Regards, >>>> Mohammad Tariq >>>> >>>> >>>> On Tue, Jul 3, 2012 at 3:49 PM, AnandaVelMurugan Chandra Mohan >>>> <[EMAIL PROTECTED]> wrote: >>>>> Hi, >>>>> >>>>> For development purpose, I have set up HBase in pseudodistributed >> mode. >>>>> >>>>> I have following line in hbase-env.sh file >>>>> >>>>> export HBASE_MANAGES_ZK=true >>>>> >>>>> HBase shell works fine. But client API is not working. >>>>> >>>>> My client code is as follows >>>>> >>>>> Configuration config = HBaseConfiguration.create(); >>>>> config.set("hbase.zookeeper.quorum", "10.78.32.131"); >>>>> config.setBoolean("hbase.cluster.distributed", false); >>>>> HBaseAdmin admin = new HBaseAdmin(config); >>>>> admin.isMasterRunning(); >>>>> >>>>> System.out.println(admin.getClusterStatus().getHBaseVersion()); >>>>> >>>>> I am getting java.net.ConnectException: Connection refused: no further >>>>> information. >>>>> >>>>> Any idea, how it can be fixed. Please let me know. Thanks!! >>>>> -- >>>>> Regards, >>>>> Anand >>>> >>> >>> >>> >>> -- >>> Regards, >>> Anand >> > > > > -- > Regards, > Anand +
Michael Segel 2012-07-03, 12:11
-
Re: Connection error while usinh HBase client API for pseudodistrbuted modeMohammad Tariq 2012-07-03, 12:40
Are you sure about the Hbase shell???Are you able to create tables ,
or list the tables through shell?? Regards, Mohammad Tariq On Tue, Jul 3, 2012 at 5:41 PM, Michael Segel <[EMAIL PROTECTED]> wrote: > What's the status of Hadoop and IPV6 vs IPV4? > > On Jul 3, 2012, at 7:07 AM, AnandaVelMurugan Chandra Mohan wrote: > >> Hi, >> >> These are text from the files >> >> /etc/hosts >> >> 127.0.0.1 localhost >> >> >> # The following lines are desirable for IPv6 capable hosts >> ::1 localhost ip6-localhost ip6-loopback >> fe00::0 ip6-localnet >> ff00::0 ip6-mcastprefix >> ff02::1 ip6-allnodes >> ff02::2 ip6-allrouters >> >> hbase-site.xml >> >> <configuration> >> <property> >> <name>hbase.rootdir</name> >> <value>hdfs://localhost/user/eucalyptus/hbase</value> >> <description>The directory shared by RegionServers. >> </description> >> </property> >> </configuration> >> >> >> On Tue, Jul 3, 2012 at 4:14 PM, Mohammad Tariq <[EMAIL PROTECTED]> wrote: >> >>> Can you paste the contents of your /etc/hosts and hbase-site.xml files?? >>> >>> Regards, >>> Mohammad Tariq >>> >>> >>> On Tue, Jul 3, 2012 at 4:06 PM, AnandaVelMurugan Chandra Mohan >>> <[EMAIL PROTECTED]> wrote: >>>> Hi, >>>> >>>> Thanks for the response. Sadly I am still getting same error. >>>> >>>> >>>> On Tue, Jul 3, 2012 at 3:58 PM, Mohammad Tariq <[EMAIL PROTECTED]> >>> wrote: >>>> >>>>> Hello Ananda, >>>>> >>>>> Add these two lines in your client and sww if it works for >>> you : >>>>> >>>>> config.set("hbase.zookeeper.property.clientPort","2181"); >>>>> config.set("hbase.master", "localhost:60000"); >>>>> >>>>> Regards, >>>>> Mohammad Tariq >>>>> >>>>> >>>>> On Tue, Jul 3, 2012 at 3:49 PM, AnandaVelMurugan Chandra Mohan >>>>> <[EMAIL PROTECTED]> wrote: >>>>>> Hi, >>>>>> >>>>>> For development purpose, I have set up HBase in pseudodistributed >>> mode. >>>>>> >>>>>> I have following line in hbase-env.sh file >>>>>> >>>>>> export HBASE_MANAGES_ZK=true >>>>>> >>>>>> HBase shell works fine. But client API is not working. >>>>>> >>>>>> My client code is as follows >>>>>> >>>>>> Configuration config = HBaseConfiguration.create(); >>>>>> config.set("hbase.zookeeper.quorum", "10.78.32.131"); >>>>>> config.setBoolean("hbase.cluster.distributed", false); >>>>>> HBaseAdmin admin = new HBaseAdmin(config); >>>>>> admin.isMasterRunning(); >>>>>> >>>>>> System.out.println(admin.getClusterStatus().getHBaseVersion()); >>>>>> >>>>>> I am getting java.net.ConnectException: Connection refused: no further >>>>>> information. >>>>>> >>>>>> Any idea, how it can be fixed. Please let me know. Thanks!! >>>>>> -- >>>>>> Regards, >>>>>> Anand >>>>> >>>> >>>> >>>> >>>> -- >>>> Regards, >>>> Anand >>> >> >> >> >> -- >> Regards, >> Anand > +
Mohammad Tariq 2012-07-03, 12:40
-
Re: Connection error while usinh HBase client API for pseudodistrbuted modeAnandaVelMurugan Chandra ... 2012-07-03, 13:01
Sorry. I tried list and it returned 0 as no table exists. Then I posted
this question. Now when I try create table now, shell is hanging and I get following exception org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed setting up proxy interface org.apache.hadoop.hbase.ipc.HRegionInterface to localhost/ 127.0.0.1:39591 So I feel issue is with HBase and not with client API. Let me fix this issue and try client API. Meanwhile, do you have any idea on this issue? On Tue, Jul 3, 2012 at 6:10 PM, Mohammad Tariq <[EMAIL PROTECTED]> wrote: > Are you sure about the Hbase shell???Are you able to create tables , > or list the tables through shell?? > > Regards, > Mohammad Tariq > > > On Tue, Jul 3, 2012 at 5:41 PM, Michael Segel <[EMAIL PROTECTED]> > wrote: > > What's the status of Hadoop and IPV6 vs IPV4? > > > > On Jul 3, 2012, at 7:07 AM, AnandaVelMurugan Chandra Mohan wrote: > > > >> Hi, > >> > >> These are text from the files > >> > >> /etc/hosts > >> > >> 127.0.0.1 localhost > >> > >> > >> # The following lines are desirable for IPv6 capable hosts > >> ::1 localhost ip6-localhost ip6-loopback > >> fe00::0 ip6-localnet > >> ff00::0 ip6-mcastprefix > >> ff02::1 ip6-allnodes > >> ff02::2 ip6-allrouters > >> > >> hbase-site.xml > >> > >> <configuration> > >> <property> > >> <name>hbase.rootdir</name> > >> <value>hdfs://localhost/user/eucalyptus/hbase</value> > >> <description>The directory shared by RegionServers. > >> </description> > >> </property> > >> </configuration> > >> > >> > >> On Tue, Jul 3, 2012 at 4:14 PM, Mohammad Tariq <[EMAIL PROTECTED]> > wrote: > >> > >>> Can you paste the contents of your /etc/hosts and hbase-site.xml > files?? > >>> > >>> Regards, > >>> Mohammad Tariq > >>> > >>> > >>> On Tue, Jul 3, 2012 at 4:06 PM, AnandaVelMurugan Chandra Mohan > >>> <[EMAIL PROTECTED]> wrote: > >>>> Hi, > >>>> > >>>> Thanks for the response. Sadly I am still getting same error. > >>>> > >>>> > >>>> On Tue, Jul 3, 2012 at 3:58 PM, Mohammad Tariq <[EMAIL PROTECTED]> > >>> wrote: > >>>> > >>>>> Hello Ananda, > >>>>> > >>>>> Add these two lines in your client and sww if it works for > >>> you : > >>>>> > >>>>> config.set("hbase.zookeeper.property.clientPort","2181"); > >>>>> config.set("hbase.master", "localhost:60000"); > >>>>> > >>>>> Regards, > >>>>> Mohammad Tariq > >>>>> > >>>>> > >>>>> On Tue, Jul 3, 2012 at 3:49 PM, AnandaVelMurugan Chandra Mohan > >>>>> <[EMAIL PROTECTED]> wrote: > >>>>>> Hi, > >>>>>> > >>>>>> For development purpose, I have set up HBase in pseudodistributed > >>> mode. > >>>>>> > >>>>>> I have following line in hbase-env.sh file > >>>>>> > >>>>>> export HBASE_MANAGES_ZK=true > >>>>>> > >>>>>> HBase shell works fine. But client API is not working. > >>>>>> > >>>>>> My client code is as follows > >>>>>> > >>>>>> Configuration config = HBaseConfiguration.create(); > >>>>>> config.set("hbase.zookeeper.quorum", "10.78.32.131"); > >>>>>> config.setBoolean("hbase.cluster.distributed", > false); > >>>>>> HBaseAdmin admin = new HBaseAdmin(config); > >>>>>> admin.isMasterRunning(); > >>>>>> > >>>>>> System.out.println(admin.getClusterStatus().getHBaseVersion()); > >>>>>> > >>>>>> I am getting java.net.ConnectException: Connection refused: no > further > >>>>>> information. > >>>>>> > >>>>>> Any idea, how it can be fixed. Please let me know. Thanks!! > >>>>>> -- > >>>>>> Regards, > >>>>>> Anand > >>>>> > >>>> > >>>> > >>>> > >>>> -- > >>>> Regards, > >>>> Anand > >>> > >> > >> > >> > >> -- > >> Regards, > >> Anand > > > -- Regards, Anand +
AnandaVelMurugan Chandra ... 2012-07-03, 13:01
-
Re: Connection error while usinh HBase client API for pseudodistrbuted modeMohammad Tariq 2012-07-03, 13:11
Not a prob..I was expecting this after looking at the config
file..First of all your "hbase.rootdir" property must contain the "complete" value of the "fs.default.name" property in your hadoop's "core-site.xml" file.(This includes "port no" also)..After that just add the following properties in your hbase-site.xml file and let me know if it is works for you. <property> <name>hbase.cluster.distributed</name> <value>true</value> </property> <property> <name>hbase.zookeeper.quorum</name> <value>localhost</value> </property> <property> <name>dfs.replication</name> <value>1</value> </property> <property> <name>hbase.zookeeper.property.clientPort</name> <value>2181</value> <description>Property from ZooKeeper's config zoo.cfg. The port at which the clients will connect. </description> </property> <property> For detailed help you can visit this link - http://cloudfront.blogspot.in/2012/06/how-to-configure-habse-in-pseudo.html, if you want. Regards, Mohammad Tariq On Tue, Jul 3, 2012 at 6:31 PM, AnandaVelMurugan Chandra Mohan <[EMAIL PROTECTED]> wrote: > Sorry. I tried list and it returned 0 as no table exists. Then I posted > this question. > > Now when I try create table now, shell is hanging and I get following > exception > > org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed setting up > proxy interface org.apache.hadoop.hbase.ipc.HRegionInterface to localhost/ > 127.0.0.1:39591 > > So I feel issue is with HBase and not with client API. Let me fix this > issue and try client API. > > Meanwhile, do you have any idea on this issue? > > On Tue, Jul 3, 2012 at 6:10 PM, Mohammad Tariq <[EMAIL PROTECTED]> wrote: > >> Are you sure about the Hbase shell???Are you able to create tables , >> or list the tables through shell?? >> >> Regards, >> Mohammad Tariq >> >> >> On Tue, Jul 3, 2012 at 5:41 PM, Michael Segel <[EMAIL PROTECTED]> >> wrote: >> > What's the status of Hadoop and IPV6 vs IPV4? >> > >> > On Jul 3, 2012, at 7:07 AM, AnandaVelMurugan Chandra Mohan wrote: >> > >> >> Hi, >> >> >> >> These are text from the files >> >> >> >> /etc/hosts >> >> >> >> 127.0.0.1 localhost >> >> >> >> >> >> # The following lines are desirable for IPv6 capable hosts >> >> ::1 localhost ip6-localhost ip6-loopback >> >> fe00::0 ip6-localnet >> >> ff00::0 ip6-mcastprefix >> >> ff02::1 ip6-allnodes >> >> ff02::2 ip6-allrouters >> >> >> >> hbase-site.xml >> >> >> >> <configuration> >> >> <property> >> >> <name>hbase.rootdir</name> >> >> <value>hdfs://localhost/user/eucalyptus/hbase</value> >> >> <description>The directory shared by RegionServers. >> >> </description> >> >> </property> >> >> </configuration> >> >> >> >> >> >> On Tue, Jul 3, 2012 at 4:14 PM, Mohammad Tariq <[EMAIL PROTECTED]> >> wrote: >> >> >> >>> Can you paste the contents of your /etc/hosts and hbase-site.xml >> files?? >> >>> >> >>> Regards, >> >>> Mohammad Tariq >> >>> >> >>> >> >>> On Tue, Jul 3, 2012 at 4:06 PM, AnandaVelMurugan Chandra Mohan >> >>> <[EMAIL PROTECTED]> wrote: >> >>>> Hi, >> >>>> >> >>>> Thanks for the response. Sadly I am still getting same error. >> >>>> >> >>>> >> >>>> On Tue, Jul 3, 2012 at 3:58 PM, Mohammad Tariq <[EMAIL PROTECTED]> >> >>> wrote: >> >>>> >> >>>>> Hello Ananda, >> >>>>> >> >>>>> Add these two lines in your client and sww if it works for >> >>> you : >> >>>>> >> >>>>> config.set("hbase.zookeeper.property.clientPort","2181"); >> >>>>> config.set("hbase.master", "localhost:60000"); >> >>>>> >> >>>>> Regards, >> >>>>> Mohammad Tariq >> >>>>> >> >>>>> >> >>>>> On Tue, Jul 3, 2012 at 3:49 PM, AnandaVelMurugan Chandra Mohan >> >>>>> <[EMAIL PROTECTED]> wrote: >> >>>>>> Hi, >> >>>>>> >> >>>>>> For development purpose, I have set up HBase in pseudodistributed >> >>> mode. >> >>>>>> >> >>>>>> I have following line in hbase-env.sh file >> >>>>>> >> >>>>>> export HBASE_MANAGES_ZK=true >> >>>>>> >> >>>>>> HBase shell works fine. But client API is not working. +
Mohammad Tariq 2012-07-03, 13:11
-
Re: Connection error while usinh HBase client API for pseudodistrbuted modeAnandaVelMurugan Chandra ... 2012-07-03, 14:11
Thanks for the link.
I followed the link and fixed my hdfs url too. But when I start hbase, hbase master and zookeeper processes are not starting I tried starting Hbase master manually and I got this error. ERROR master.HMasterCommandLine: Failed to start master java.io.IOException: CRC check failed Do you have any idea? On Tue, Jul 3, 2012 at 6:41 PM, Mohammad Tariq <[EMAIL PROTECTED]> wrote: > Not a prob..I was expecting this after looking at the config > file..First of all your "hbase.rootdir" property must contain the > "complete" value of the "fs.default.name" property in your hadoop's > "core-site.xml" file.(This includes "port no" also)..After that just > add the following properties in your hbase-site.xml file and let me > know if it is works for you. > > <property> > <name>hbase.cluster.distributed</name> > <value>true</value> > </property> > > <property> > <name>hbase.zookeeper.quorum</name> > <value>localhost</value> > </property> > <property> > <name>dfs.replication</name> > <value>1</value> > </property> > <property> > <name>hbase.zookeeper.property.clientPort</name> > <value>2181</value> > <description>Property from ZooKeeper's config zoo.cfg. > The port at which the clients will connect. > </description> > </property> > <property> > > For detailed help you can visit this link - > http://cloudfront.blogspot.in/2012/06/how-to-configure-habse-in-pseudo.html > , > if you want. > > Regards, > Mohammad Tariq > > > On Tue, Jul 3, 2012 at 6:31 PM, AnandaVelMurugan Chandra Mohan > <[EMAIL PROTECTED]> wrote: > > Sorry. I tried list and it returned 0 as no table exists. Then I posted > > this question. > > > > Now when I try create table now, shell is hanging and I get following > > exception > > > > org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed setting > up > > proxy interface org.apache.hadoop.hbase.ipc.HRegionInterface to > localhost/ > > 127.0.0.1:39591 > > > > So I feel issue is with HBase and not with client API. Let me fix this > > issue and try client API. > > > > Meanwhile, do you have any idea on this issue? > > > > On Tue, Jul 3, 2012 at 6:10 PM, Mohammad Tariq <[EMAIL PROTECTED]> > wrote: > > > >> Are you sure about the Hbase shell???Are you able to create tables , > >> or list the tables through shell?? > >> > >> Regards, > >> Mohammad Tariq > >> > >> > >> On Tue, Jul 3, 2012 at 5:41 PM, Michael Segel < > [EMAIL PROTECTED]> > >> wrote: > >> > What's the status of Hadoop and IPV6 vs IPV4? > >> > > >> > On Jul 3, 2012, at 7:07 AM, AnandaVelMurugan Chandra Mohan wrote: > >> > > >> >> Hi, > >> >> > >> >> These are text from the files > >> >> > >> >> /etc/hosts > >> >> > >> >> 127.0.0.1 localhost > >> >> > >> >> > >> >> # The following lines are desirable for IPv6 capable hosts > >> >> ::1 localhost ip6-localhost ip6-loopback > >> >> fe00::0 ip6-localnet > >> >> ff00::0 ip6-mcastprefix > >> >> ff02::1 ip6-allnodes > >> >> ff02::2 ip6-allrouters > >> >> > >> >> hbase-site.xml > >> >> > >> >> <configuration> > >> >> <property> > >> >> <name>hbase.rootdir</name> > >> >> <value>hdfs://localhost/user/eucalyptus/hbase</value> > >> >> <description>The directory shared by RegionServers. > >> >> </description> > >> >> </property> > >> >> </configuration> > >> >> > >> >> > >> >> On Tue, Jul 3, 2012 at 4:14 PM, Mohammad Tariq <[EMAIL PROTECTED]> > >> wrote: > >> >> > >> >>> Can you paste the contents of your /etc/hosts and hbase-site.xml > >> files?? > >> >>> > >> >>> Regards, > >> >>> Mohammad Tariq > >> >>> > >> >>> > >> >>> On Tue, Jul 3, 2012 at 4:06 PM, AnandaVelMurugan Chandra Mohan > >> >>> <[EMAIL PROTECTED]> wrote: > >> >>>> Hi, > >> >>>> > >> >>>> Thanks for the response. Sadly I am still getting same error. > >> >>>> > >> >>>> > >> >>>> On Tue, Jul 3, 2012 at 3:58 PM, Mohammad Tariq <[EMAIL PROTECTED] > > > >> >>> wrote: > >> >>>> > >> >>>>> Hello Ananda, > >> >>>>> Regards, Anand +
AnandaVelMurugan Chandra ... 2012-07-03, 14:11
-
Re: Connection error while usinh HBase client API for pseudodistrbuted modeMohammad Tariq 2012-07-03, 14:28
What do you mean by "I tried starting Hbase master manually and I got
this error."??..By manually do you mean through the shell??How were you trying to do it earlier??And if possible could you please post the modified core-site.xml and hbase-site.xml files. Regards, Mohammad Tariq On Tue, Jul 3, 2012 at 7:41 PM, AnandaVelMurugan Chandra Mohan <[EMAIL PROTECTED]> wrote: > Thanks for the link. > > I followed the link and fixed my hdfs url too. > > But when I start hbase, hbase master and zookeeper processes are not > starting > > I tried starting Hbase master manually and I got this error. > > ERROR master.HMasterCommandLine: Failed to start master > java.io.IOException: CRC check failed > > Do you have any idea? > On Tue, Jul 3, 2012 at 6:41 PM, Mohammad Tariq <[EMAIL PROTECTED]> wrote: > >> Not a prob..I was expecting this after looking at the config >> file..First of all your "hbase.rootdir" property must contain the >> "complete" value of the "fs.default.name" property in your hadoop's >> "core-site.xml" file.(This includes "port no" also)..After that just >> add the following properties in your hbase-site.xml file and let me >> know if it is works for you. >> >> <property> >> <name>hbase.cluster.distributed</name> >> <value>true</value> >> </property> >> >> <property> >> <name>hbase.zookeeper.quorum</name> >> <value>localhost</value> >> </property> >> <property> >> <name>dfs.replication</name> >> <value>1</value> >> </property> >> <property> >> <name>hbase.zookeeper.property.clientPort</name> >> <value>2181</value> >> <description>Property from ZooKeeper's config zoo.cfg. >> The port at which the clients will connect. >> </description> >> </property> >> <property> >> >> For detailed help you can visit this link - >> http://cloudfront.blogspot.in/2012/06/how-to-configure-habse-in-pseudo.html >> , >> if you want. >> >> Regards, >> Mohammad Tariq >> >> >> On Tue, Jul 3, 2012 at 6:31 PM, AnandaVelMurugan Chandra Mohan >> <[EMAIL PROTECTED]> wrote: >> > Sorry. I tried list and it returned 0 as no table exists. Then I posted >> > this question. >> > >> > Now when I try create table now, shell is hanging and I get following >> > exception >> > >> > org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed setting >> up >> > proxy interface org.apache.hadoop.hbase.ipc.HRegionInterface to >> localhost/ >> > 127.0.0.1:39591 >> > >> > So I feel issue is with HBase and not with client API. Let me fix this >> > issue and try client API. >> > >> > Meanwhile, do you have any idea on this issue? >> > >> > On Tue, Jul 3, 2012 at 6:10 PM, Mohammad Tariq <[EMAIL PROTECTED]> >> wrote: >> > >> >> Are you sure about the Hbase shell???Are you able to create tables , >> >> or list the tables through shell?? >> >> >> >> Regards, >> >> Mohammad Tariq >> >> >> >> >> >> On Tue, Jul 3, 2012 at 5:41 PM, Michael Segel < >> [EMAIL PROTECTED]> >> >> wrote: >> >> > What's the status of Hadoop and IPV6 vs IPV4? >> >> > >> >> > On Jul 3, 2012, at 7:07 AM, AnandaVelMurugan Chandra Mohan wrote: >> >> > >> >> >> Hi, >> >> >> >> >> >> These are text from the files >> >> >> >> >> >> /etc/hosts >> >> >> >> >> >> 127.0.0.1 localhost >> >> >> >> >> >> >> >> >> # The following lines are desirable for IPv6 capable hosts >> >> >> ::1 localhost ip6-localhost ip6-loopback >> >> >> fe00::0 ip6-localnet >> >> >> ff00::0 ip6-mcastprefix >> >> >> ff02::1 ip6-allnodes >> >> >> ff02::2 ip6-allrouters >> >> >> >> >> >> hbase-site.xml >> >> >> >> >> >> <configuration> >> >> >> <property> >> >> >> <name>hbase.rootdir</name> >> >> >> <value>hdfs://localhost/user/eucalyptus/hbase</value> >> >> >> <description>The directory shared by RegionServers. >> >> >> </description> >> >> >> </property> >> >> >> </configuration> >> >> >> >> >> >> >> >> >> On Tue, Jul 3, 2012 at 4:14 PM, Mohammad Tariq <[EMAIL PROTECTED]> >> >> wrote: >> >> >> >> >> >>> Can you paste the contents of your /etc/hosts and hbase-site.xml +
Mohammad Tariq 2012-07-03, 14:28
-
Re: Connection error while usinh HBase client API for pseudodistrbuted modeAnandaVelMurugan Chandra ... 2012-07-03, 14:42
For starting Hbase master manually
I did "cd" to <HBASE_HOME>\bin Then did ./hbase master start Contents of my hbase-site.xml <configuration> <property> <name>hbase.rootdir</name> <value>hdfs://localhost:8020/user/eucalyptus/hbase</value> <description>The directory shared by RegionServers. </description> </property> <property> <name>hbase.zookeeper.quorum</name> <value>localhost</value> </property> <property> <name>dfs.replication</name> <value>1</value> </property> <property> <name>hbase.zookeeper.property.clientPort</name> <value>2181</value> </property> <property> <name>hbase.zookeeper.property.dataDir</name> <value>/home/eucalyptus/hbase/zookeeper</value> </property> </configuration> core-site.xml <configuration> <property> <name>fs.default.name</name> <value>hdfs://localhost/</value> </property> </configuration> I could do HDFS operations like get, put in Hadoop. I could also create and list tables in Hbase shell. On Tue, Jul 3, 2012 at 7:58 PM, Mohammad Tariq <[EMAIL PROTECTED]> wrote: > What do you mean by "I tried starting Hbase master manually and I got > this error."??..By manually do you mean through the shell??How were > you trying to do it earlier??And if possible could you please post the > modified core-site.xml and hbase-site.xml files. > > Regards, > Mohammad Tariq > > > On Tue, Jul 3, 2012 at 7:41 PM, AnandaVelMurugan Chandra Mohan > <[EMAIL PROTECTED]> wrote: > > Thanks for the link. > > > > I followed the link and fixed my hdfs url too. > > > > But when I start hbase, hbase master and zookeeper processes are not > > starting > > > > I tried starting Hbase master manually and I got this error. > > > > ERROR master.HMasterCommandLine: Failed to start master > > java.io.IOException: CRC check failed > > > > Do you have any idea? > > On Tue, Jul 3, 2012 at 6:41 PM, Mohammad Tariq <[EMAIL PROTECTED]> > wrote: > > > >> Not a prob..I was expecting this after looking at the config > >> file..First of all your "hbase.rootdir" property must contain the > >> "complete" value of the "fs.default.name" property in your hadoop's > >> "core-site.xml" file.(This includes "port no" also)..After that just > >> add the following properties in your hbase-site.xml file and let me > >> know if it is works for you. > >> > >> <property> > >> <name>hbase.cluster.distributed</name> > >> <value>true</value> > >> </property> > >> > >> <property> > >> <name>hbase.zookeeper.quorum</name> > >> <value>localhost</value> > >> </property> > >> <property> > >> <name>dfs.replication</name> > >> <value>1</value> > >> </property> > >> <property> > >> <name>hbase.zookeeper.property.clientPort</name> > >> <value>2181</value> > >> <description>Property from ZooKeeper's config zoo.cfg. > >> The port at which the clients will connect. > >> </description> > >> </property> > >> <property> > >> > >> For detailed help you can visit this link - > >> > http://cloudfront.blogspot.in/2012/06/how-to-configure-habse-in-pseudo.html > >> , > >> if you want. > >> > >> Regards, > >> Mohammad Tariq > >> > >> > >> On Tue, Jul 3, 2012 at 6:31 PM, AnandaVelMurugan Chandra Mohan > >> <[EMAIL PROTECTED]> wrote: > >> > Sorry. I tried list and it returned 0 as no table exists. Then I > posted > >> > this question. > >> > > >> > Now when I try create table now, shell is hanging and I get following > >> > exception > >> > > >> > org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed > setting > >> up > >> > proxy interface org.apache.hadoop.hbase.ipc.HRegionInterface to > >> localhost/ > >> > 127.0.0.1:39591 > >> > > >> > So I feel issue is with HBase and not with client API. Let me fix this > >> > issue and try client API. > >> > > >> > Meanwhile, do you have any idea on this issue? > >> > > >> > On Tue, Jul 3, 2012 at 6:10 PM, Mohammad Tariq <[EMAIL PROTECTED]> Regards, Anand +
AnandaVelMurugan Chandra ... 2012-07-03, 14:42
-
Re: Connection error while usinh HBase client API for pseudodistrbuted modeMohammad Tariq 2012-07-03, 14:47
Change the value of fs.default.name to "hdfs://localhost:8020" and
restart everything again..It should be a combination of host:port. Regards, Mohammad Tariq On Tue, Jul 3, 2012 at 8:12 PM, AnandaVelMurugan Chandra Mohan <[EMAIL PROTECTED]> wrote: > For starting Hbase master manually > > I did "cd" to <HBASE_HOME>\bin > Then did ./hbase master start > > Contents of my hbase-site.xml > > <configuration> > <property> > <name>hbase.rootdir</name> > <value>hdfs://localhost:8020/user/eucalyptus/hbase</value> > <description>The directory shared by RegionServers. > </description> > </property> > <property> > <name>hbase.zookeeper.quorum</name> > <value>localhost</value> > </property> > <property> > <name>dfs.replication</name> > <value>1</value> > </property> > <property> > <name>hbase.zookeeper.property.clientPort</name> > <value>2181</value> > </property> > <property> > <name>hbase.zookeeper.property.dataDir</name> > <value>/home/eucalyptus/hbase/zookeeper</value> > </property> > </configuration> > > > core-site.xml > > <configuration> > <property> > <name>fs.default.name</name> > <value>hdfs://localhost/</value> > > </property> > </configuration> > > I could do HDFS operations like get, put in Hadoop. I could also create and > list tables in Hbase shell. > > > On Tue, Jul 3, 2012 at 7:58 PM, Mohammad Tariq <[EMAIL PROTECTED]> wrote: > >> What do you mean by "I tried starting Hbase master manually and I got >> this error."??..By manually do you mean through the shell??How were >> you trying to do it earlier??And if possible could you please post the >> modified core-site.xml and hbase-site.xml files. >> >> Regards, >> Mohammad Tariq >> >> >> On Tue, Jul 3, 2012 at 7:41 PM, AnandaVelMurugan Chandra Mohan >> <[EMAIL PROTECTED]> wrote: >> > Thanks for the link. >> > >> > I followed the link and fixed my hdfs url too. >> > >> > But when I start hbase, hbase master and zookeeper processes are not >> > starting >> > >> > I tried starting Hbase master manually and I got this error. >> > >> > ERROR master.HMasterCommandLine: Failed to start master >> > java.io.IOException: CRC check failed >> > >> > Do you have any idea? >> > On Tue, Jul 3, 2012 at 6:41 PM, Mohammad Tariq <[EMAIL PROTECTED]> >> wrote: >> > >> >> Not a prob..I was expecting this after looking at the config >> >> file..First of all your "hbase.rootdir" property must contain the >> >> "complete" value of the "fs.default.name" property in your hadoop's >> >> "core-site.xml" file.(This includes "port no" also)..After that just >> >> add the following properties in your hbase-site.xml file and let me >> >> know if it is works for you. >> >> >> >> <property> >> >> <name>hbase.cluster.distributed</name> >> >> <value>true</value> >> >> </property> >> >> >> >> <property> >> >> <name>hbase.zookeeper.quorum</name> >> >> <value>localhost</value> >> >> </property> >> >> <property> >> >> <name>dfs.replication</name> >> >> <value>1</value> >> >> </property> >> >> <property> >> >> <name>hbase.zookeeper.property.clientPort</name> >> >> <value>2181</value> >> >> <description>Property from ZooKeeper's config zoo.cfg. >> >> The port at which the clients will connect. >> >> </description> >> >> </property> >> >> <property> >> >> >> >> For detailed help you can visit this link - >> >> >> http://cloudfront.blogspot.in/2012/06/how-to-configure-habse-in-pseudo.html >> >> , >> >> if you want. >> >> >> >> Regards, >> >> Mohammad Tariq >> >> >> >> >> >> On Tue, Jul 3, 2012 at 6:31 PM, AnandaVelMurugan Chandra Mohan >> >> <[EMAIL PROTECTED]> wrote: >> >> > Sorry. I tried list and it returned 0 as no table exists. Then I >> posted >> >> > this question. >> >> > >> >> > Now when I try create table now, shell is hanging and I get following +
Mohammad Tariq 2012-07-03, 14:47
-
Re: Connection error while usinh HBase client API for pseudodistrbuted modeAnandaVelMurugan Chandra ... 2012-07-03, 14:57
That did not help. Still I dont see hbase master and zookeeper processes. I
am thinking of starting everything from scratch. Any suggestions? On Tue, Jul 3, 2012 at 8:17 PM, Mohammad Tariq <[EMAIL PROTECTED]> wrote: > Change the value of fs.default.name to "hdfs://localhost:8020" and > restart everything again..It should be a combination of host:port. > > Regards, > Mohammad Tariq > > > On Tue, Jul 3, 2012 at 8:12 PM, AnandaVelMurugan Chandra Mohan > <[EMAIL PROTECTED]> wrote: > > For starting Hbase master manually > > > > I did "cd" to <HBASE_HOME>\bin > > Then did ./hbase master start > > > > Contents of my hbase-site.xml > > > > <configuration> > > <property> > > <name>hbase.rootdir</name> > > <value>hdfs://localhost:8020/user/eucalyptus/hbase</value> > > <description>The directory shared by RegionServers. > > </description> > > </property> > > <property> > > <name>hbase.zookeeper.quorum</name> > > <value>localhost</value> > > </property> > > <property> > > <name>dfs.replication</name> > > <value>1</value> > > </property> > > <property> > > <name>hbase.zookeeper.property.clientPort</name> > > <value>2181</value> > > </property> > > <property> > > <name>hbase.zookeeper.property.dataDir</name> > > <value>/home/eucalyptus/hbase/zookeeper</value> > > </property> > > </configuration> > > > > > > core-site.xml > > > > <configuration> > > <property> > > <name>fs.default.name</name> > > <value>hdfs://localhost/</value> > > > > </property> > > </configuration> > > > > I could do HDFS operations like get, put in Hadoop. I could also create > and > > list tables in Hbase shell. > > > > > > On Tue, Jul 3, 2012 at 7:58 PM, Mohammad Tariq <[EMAIL PROTECTED]> > wrote: > > > >> What do you mean by "I tried starting Hbase master manually and I got > >> this error."??..By manually do you mean through the shell??How were > >> you trying to do it earlier??And if possible could you please post the > >> modified core-site.xml and hbase-site.xml files. > >> > >> Regards, > >> Mohammad Tariq > >> > >> > >> On Tue, Jul 3, 2012 at 7:41 PM, AnandaVelMurugan Chandra Mohan > >> <[EMAIL PROTECTED]> wrote: > >> > Thanks for the link. > >> > > >> > I followed the link and fixed my hdfs url too. > >> > > >> > But when I start hbase, hbase master and zookeeper processes are not > >> > starting > >> > > >> > I tried starting Hbase master manually and I got this error. > >> > > >> > ERROR master.HMasterCommandLine: Failed to start master > >> > java.io.IOException: CRC check failed > >> > > >> > Do you have any idea? > >> > On Tue, Jul 3, 2012 at 6:41 PM, Mohammad Tariq <[EMAIL PROTECTED]> > >> wrote: > >> > > >> >> Not a prob..I was expecting this after looking at the config > >> >> file..First of all your "hbase.rootdir" property must contain the > >> >> "complete" value of the "fs.default.name" property in your hadoop's > >> >> "core-site.xml" file.(This includes "port no" also)..After that just > >> >> add the following properties in your hbase-site.xml file and let me > >> >> know if it is works for you. > >> >> > >> >> <property> > >> >> <name>hbase.cluster.distributed</name> > >> >> <value>true</value> > >> >> </property> > >> >> > >> >> <property> > >> >> <name>hbase.zookeeper.quorum</name> > >> >> <value>localhost</value> > >> >> </property> > >> >> <property> > >> >> <name>dfs.replication</name> > >> >> <value>1</value> > >> >> </property> > >> >> <property> > >> >> <name>hbase.zookeeper.property.clientPort</name> > >> >> <value>2181</value> > >> >> <description>Property from ZooKeeper's config zoo.cfg. > >> >> The port at which the clients will connect. > >> >> </description> > >> >> </property> > >> >> <property> > >> >> > >> >> For detailed help you can visit this link - > >> >> > >> > http://cloudfront.blogspot.in/2012/06/how-to-configure-habse-in-pseudo.html Regards, Anand +
AnandaVelMurugan Chandra ... 2012-07-03, 14:57
-
Re: Connection error while usinh HBase client API for pseudodistrbuted modeMohammad Tariq 2012-07-03, 15:06
It would be better to start fresh..Add these props in your core-site.xml file -
<property> <name>fs.default.name</name> <value>hdfs://localhost:9000</value> </property> <property> <name>hadoop.tmp.dir</name> <value>/home/mohammad/hdfs/temp</value> </property> <property> In hdfs-site.xml - <property> <name>dfs.name.dir</name> <value>/home/mohammad/hdfs/name</value> </property> <property> <name>dfs.data.dir</name> <value>/home/mohammad/hdfs/data</value> </property> <property> <name>dfs.datanode.max.xcievers</name> <value>4096</value> </property> <property> <name>dfs.replication</name> <value>1</value> </property> in hbase-site.xml - <name>hbase.rootdir</name> <value>hdfs://localhost:9000/hbase</value> </property> <property> <name>hbase.cluster.distributed</name> <value>true</value> </property> <property> <name>hbase.zookeeper.quorum</name> <value>localhost</value> </property> <property> <name>dfs.replication</name> <value>1</value> </property> <property> <name>hbase.zookeeper.property.clientPort</name> <value>2181</value> <description>Property from ZooKeeper's config zoo.cfg. The port at which the clients will connect. </description> </property> <property> <name>hbase.zookeeper.property.dataDir</name> <value>/home/mohammad/hbase/zookeeper</value> <description>Property from ZooKeeper's config zoo.cfg. The directory where the snapshot is stored. </description> </property> Also change this line in hbase-env.sh - export HBASE_REGIONSERVERS=/home/mohammad/hbase-0.90.4/conf/regionservers Regards, Mohammad Tariq On Tue, Jul 3, 2012 at 8:27 PM, AnandaVelMurugan Chandra Mohan <[EMAIL PROTECTED]> wrote: > That did not help. Still I dont see hbase master and zookeeper processes. I > am thinking of starting everything from scratch. Any suggestions? > > On Tue, Jul 3, 2012 at 8:17 PM, Mohammad Tariq <[EMAIL PROTECTED]> wrote: > >> Change the value of fs.default.name to "hdfs://localhost:8020" and >> restart everything again..It should be a combination of host:port. >> >> Regards, >> Mohammad Tariq >> >> >> On Tue, Jul 3, 2012 at 8:12 PM, AnandaVelMurugan Chandra Mohan >> <[EMAIL PROTECTED]> wrote: >> > For starting Hbase master manually >> > >> > I did "cd" to <HBASE_HOME>\bin >> > Then did ./hbase master start >> > >> > Contents of my hbase-site.xml >> > >> > <configuration> >> > <property> >> > <name>hbase.rootdir</name> >> > <value>hdfs://localhost:8020/user/eucalyptus/hbase</value> >> > <description>The directory shared by RegionServers. >> > </description> >> > </property> >> > <property> >> > <name>hbase.zookeeper.quorum</name> >> > <value>localhost</value> >> > </property> >> > <property> >> > <name>dfs.replication</name> >> > <value>1</value> >> > </property> >> > <property> >> > <name>hbase.zookeeper.property.clientPort</name> >> > <value>2181</value> >> > </property> >> > <property> >> > <name>hbase.zookeeper.property.dataDir</name> >> > <value>/home/eucalyptus/hbase/zookeeper</value> >> > </property> >> > </configuration> >> > >> > >> > core-site.xml >> > >> > <configuration> >> > <property> >> > <name>fs.default.name</name> >> > <value>hdfs://localhost/</value> >> > >> > </property> >> > </configuration> >> > >> > I could do HDFS operations like get, put in Hadoop. I could also create >> and >> > list tables in Hbase shell. >> > >> > >> > On Tue, Jul 3, 2012 at 7:58 PM, Mohammad Tariq <[EMAIL PROTECTED]> >> wrote: >> > >> >> What do you mean by "I tried starting Hbase master manually and I got >> >> this error."??..By manually do you mean through the shell??How were >> >> you trying to do it earlier??And if possible could you please post the +
Mohammad Tariq 2012-07-03, 15:06
|