hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Monish r <monishs...@gmail.com>
Subject Re: Hbase Clustering
Date Thu, 20 Sep 2012 11:44:13 GMT
Hi,
>From the *jps* status i can see that  u have started region server in both
the servers

*NameNode:*
11578 HMaster
11476 HQuorumPeer
10921 TaskTracker
10246 NameNode
12430 Main
10746 JobTracker
12538 Jps
11798 *HRegionServer*
10618 SecondaryNameNode
10433 DataNode

*DataNode:*
2202 NC
10772 Jps
10495 TaskTracker
2112 -- process information unavailable
10697 *HRegionServer*
10331 DataNode

>From the log i can see that hbase master has only one region server in its
list and it is not access able.

2012-09-18 23:59:13,841 DEBUG
org.apache.hadoop.hbase.master.AssignmentManager: No previous
transition plan was found (or we are ignoring an existing plan) for
-ROOT-,,0.70236052 so generated a random one; hri=-ROOT-,,0.70236052,
src=, dest=localhost,60020,1347968702214; 1 *(online=1, exclude=0)
available servers *

2012-09-18 23:59:13,841 INFO org.apache.hadoop.ipc.HBaseRPC: Server at
*localhost/127.0.0.1:60020 could not be reached after 1 tries, giving
up.*


The problem may be with u r cluster set up , check the region server logs
and see if they are alive , u cannot rely on jps
and tell for sure the process is up , since it can go down after u r  look
up.

Check u r region server logs , if u still have issues , post the region
server logs in paste bin and reply.

Regards,
R.Monish


*
*



On Thu, Sep 20, 2012 at 10:03 AM, Venkateswara Rao Dokku <
dvrao.584@gmail.com> wrote:

>
>
> On Tue, Sep 18, 2012 at 10:43 PM, Jean-Daniel Cryans <jdcryans@apache.org>wrote:
>
>> What's in the master's log?
>>
>> J-D
>> Please find the attached master logs.
>>
>> On Tue, Sep 18, 2012 at 3:41 AM, Venkateswara Rao Dokku
>> <dvrao.584@gmail.com> wrote:
>> > Hi,
>> >       I am new to Hbase & I wanted to Cluster Hbase on 2 nodes. I put
>> one
>> > of my nodes as hadoop-namenodeas well as hbase-master & the other node
>> as
>> > hadoop-datanode1 as well as hbase-region-server1. I started hadoop
>> cluster
>> > as well as Hbase on the name-node side. They started fine. But when I
>> try
>> > to create tabes in Hbase shell I got the following error.
>> >
>> > hbase(main):001:0> create 't1','f1'
>> >
>> > ERROR: org.apache.hadoop.hbase.MasterNotRunningException: Retried 7
>> times
>> >
>> > Here is some help for this command:
>> > Create table; pass table name, a dictionary of specifications per
>> > column family, and optionally a dictionary of table configuration.
>> > Dictionaries are described below in the GENERAL NOTES section.
>> > Examples:
>> >
>> >   hbase> create 't1', {NAME => 'f1', VERSIONS => 5}
>> >   hbase> create 't1', {NAME => 'f1'}, {NAME => 'f2'}, {NAME => 'f3'}
>> >   hbase> # The above in shorthand would be the following:
>> >   hbase> create 't1', 'f1', 'f2', 'f3'
>> >   hbase> create 't1', {NAME => 'f1', VERSIONS => 1, TTL => 2592000,
>> > BLOCKCACHE => true}
>> >   hbase> create 't1', 'f1', {SPLITS => ['10', '20', '30', '40']}
>> >   hbase> create 't1', 'f1', {SPLITS_FILE => 'splits.txt'}
>> >
>> > But I could see HMaster running with Jps. The below given are the
>> processes
>> > running on the name-node & datanode.
>> > *NameNode:*
>> > *
>> > *
>> > 11578 HMaster
>> > 11476 HQuorumPeer
>> > 10921 TaskTracker
>> > 10246 NameNode
>> > 12430 Main
>> > 10746 JobTracker
>> > 12538 Jps
>> > 11798 HRegionServer
>> > 10618 SecondaryNameNode
>> > 10433 DataNode
>> >
>> > *DataNode:*
>> > *
>> > *
>> > 2202 NC
>> > 10772 Jps
>> > 10495 TaskTracker
>> > 2112 -- process information unavailable
>> > 10697 HRegionServer
>> > 10331 DataNode
>> >
>> > Could You please let me know whats wrong with my approach of creating
>> > tables. Thanks for replying
>> >
>> > P.S: forgot to mention I am using hadoop-0.20.2 & hbase-0.92.1
>> versions. So
>> > to avoid version mismatches I copied the hadoop Jar file in hadoop
>> > installation directory into habse/lib/ in all the cluster nodes.
>> >
>> >
>> > --
>> > Thanks & Regards,
>> >
>> > Venkateswara Rao Dokku
>>
>
>
>
> --
> Thanks & Regards,
> Venkateswara Rao Dokku,
> Software Engineer,One Convergence Devices Pvt Ltd.,
> Jubille Hills,Hyderabad.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message