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 =
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:6);
Regards,
Mohammad Tariq
On Tue, Jul 3, 2012 at 3:49 PM, AnandaVelMurugan Chandra Mohan
Hi,
Thanks for the response. Sadly I am still getting same error.
On Tue, Jul 3, 2012 at 3:58 PM, Mohammad Tariq donta...@gmail.com wrote:
Hello Ananda,
Add these two lines in your client and sww if it works for you :
config.set(hbase.zookeeper.property.clientPort,2181);
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
ananthu2...@gmail.com wrote:
Hi,
Thanks for the response. Sadly I am still getting same error.
On Tue, Jul 3, 2012 at 3:58
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
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
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 michael_se...@hotmail.com wrote:
What's the status of Hadoop and IPV6 vs IPV4?
On Jul 3, 2012, at 7:07 AM,
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
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
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
namehbase.rootdir/name
valuehdfs://localhost:8020/user/eucalyptus/hbase/value
descriptionThe directory shared by RegionServers.
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
ananthu2...@gmail.com wrote:
For starting Hbase master manually
I did
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 donta...@gmail.com wrote:
Change the value of fs.default.name to hdfs://localhost:8020 and
restart
12 matches
Mail list logo