Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> PleaseHoldException when Master is clearly running as JPS


Copy link to this message
-
Re: PleaseHoldException when Master is clearly running as JPS
Hi Jay,

  I think Gmail is cutting that off for you as it doesn't show duplicate
data.  Here you go:

#This is my /etc/hosts file ---
127.0.0.1   localhost  localhost.localdomain localhost4
localhost4.localdomain4
#::1         localhost localhost.localdomain localhost6
localhost6.localdomain6
192.168.122.200 hbase-master
192.168.122.201 hbase-regionserver1
192.168.122.202 hbase-regionserver2
192.168.122.203 hbase-regionserver3

It is what you should have for your host file.  I removed the pointer to
hbase-master from the 127 address, as that is not localhost.  Here is mine:

[root@cdh4-oozie-1 ~]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4
localhost4.localdomain4
10.20.217.122 cdh4-oozie-1.ent.cloudera.com cdh4-oozie-1
10.20.216.222 cdh4-oozie-2.ent.cloudera.com cdh4-oozie-2
10.20.216.237 cdh4-oozie-3.ent.cloudera.com cdh4-oozie-3

On Tue, May 21, 2013 at 3:51 PM, Jay Vyas <[EMAIL PROTECTED]> wrote:

> Hi kevin : So you don't have any region servers defined in your /etc/hosts
> ?
>
>
> On Tue, May 21, 2013 at 4:46 PM, Mohammad Tariq <[EMAIL PROTECTED]>
> wrote:
>
> > Sorry, my bad. By that I meant "127.0.0.1    hostname"..To me it seems
> like
> > HBase is not able to connect to localhost using 127.0.0.1
> >
> > Warm Regards,
> > Tariq
> > cloudfront.blogspot.com
> >
> >
> > On Wed, May 22, 2013 at 2:12 AM, Jay Vyas <[EMAIL PROTECTED]> wrote:
> >
> > > Thanks, but adding 127.0.0.1 localhost to the top seems redundant...
> > > right?  I did so but still no luck :(.
> > >
> > > 1) OS? This is fedora 16.....
> > >
> > > 2) any thoughts on why the "PleaseHoldException" is being triggered ?
> > >
> > >
> > >
> > >
> > > On Tue, May 21, 2013 at 4:32 PM, Mohammad Tariq <[EMAIL PROTECTED]>
> > > wrote:
> > >
> > > > OS?Add "127.0.0.1   localhost" and see if it makes any difference.
> > > >
> > > > Warm Regards,
> > > > Tariq
> > > > cloudfront.blogspot.com
> > > >
> > > >
> > > > On Wed, May 22, 2013 at 1:57 AM, Jay Vyas <[EMAIL PROTECTED]>
> > wrote:
> > > >
> > > > > #This is my /etc/hosts file ---
> > > > > 127.0.0.1   localhost localhost.localdomain localhost4
> > > > > localhost4.localdomain4
> > > > > #::1         localhost localhost.localdomain localhost6
> > > > > localhost6.localdomain6
> > > > > 127.0.0.1 hbase-master
> > > > > 192.168.122.200 hbase-master
> > > > > 192.168.122.201 hbase-regionserver1
> > > > > 192.168.122.202 hbase-regionserver2
> > > > > 192.168.122.203 hbase-regionserver3
> > > > >
> > > > >
> > > > >
> > > > > On Tue, May 21, 2013 at 4:25 PM, Mohammad Tariq <
> [EMAIL PROTECTED]>
> > > > > wrote:
> > > > >
> > > > > > Hello Jay,
> > > > > >
> > > > > >       Please change the line containing "127.0.1.1" in your
> > > /etc/hosts
> > > > to
> > > > > > "127.0.0.1" and see if it works.
> > > > > >
> > > > > > Warm Regards,
> > > > > > Tariq
> > > > > > cloudfront.blogspot.com
> > > > > >
> > > > > >
> > > > > > On Wed, May 22, 2013 at 1:47 AM, Jay Vyas <[EMAIL PROTECTED]>
> > > > wrote:
> > > > > >
> > > > > > > Hi folks:
> > > > > > >
> > > > > > > Hope someone can shed some light on this -
> > > > > > >
> > > > > > > I cannot run "hbase shell" create commands because of the
> > > > > > > PleaseHoldException on a fresh install of hbase.  Im not
> finding
> > > much
> > > > > in
> > > > > > > the error logs, and all nodes appear to be up and running,
> > > including
> > > > > > hbase
> > > > > > > master.
> > > > > > >
> > > > > > > Version : hbase-0.94.7
> > > > > > >
> > > > > > > Error: I am getting the "Please hold exception"... on my hbase
> > > shell.
> > > > > > When
> > > > > > > running "create table 't1','f1'"... But...
> > > > > > >
> > > > > > > But wait :) theres more !  ... clearly, the hbase master is
> > > running :
> > > > > > >
> > > > > > > [root@hbase-master ~]# jps
> > > > > > > 11896 HQuorumPeer
> > > > > > > 12914 Jps
> > > > > > > 9894 Main
> > > > > > > 5879 Main
> > > > > > > ******************
> > > > > > > 12279 HMaster
> > > > > > > ******************

Kevin O'Dell
Systems Engineer, Cloudera
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB