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 >> HMaster is running, but cant create table : client sais its initializing, and -debug sais its zookeeper related.


Copy link to this message
-
Re: HMaster is running, but cant create table : client sais its initializing, and -debug sais its zookeeper related.
>From what I can tell this:
13/09/24 18:22:16 INFO zookeeper.ClientCnxn: Opening socket connection to
server mrg6.lab.bos.redhat.com/10.16.43.12:2181. Will not attempt to
authenticate using SASL (Unable to locate a login configuration)

was added in https://issues.apache.org/jira/browse/ZOOKEEPER-1510 to make
it clearer that SASL won't be used. So maybe you  can ignore the "DEBUG
client.ZooKeeperSaslClient: Could not retrieve
login configuration: java.lang.SecurityException: Unable to locate a login
configuration"

besides it looks like  you are able to create connections:
13/09/24 18:22:16 INFO zookeeper.ClientCnxn: Session establishment complete
on server mrg6.lab.bos.redhat.com/10.16.43.12:2181, sessionid 0x14151eaaf2e0156, negotiated timeout = 180000

Are there any exceptions in the RegionServer logs about not being able to
connect to the master?

- Michael
On Wed, Sep 25, 2013 at 7:27 PM, Stack <[EMAIL PROTECTED]> wrote:

> Your master is not starting.  It is stuck trying to set up session w/ zk.
>  Oddly your zk is trying to get a login.  You messed w/ client side configs
> or is your zk ensemble secure such that it prompts negotiation?
>
> How'd you conjure your cluster?  You bigtoping it Jay?
>
> St.Ack
>
>
> On Tue, Sep 24, 2013 at 3:26 PM, Jay Vyas <[EMAIL PROTECTED]> wrote:
>
> > hi hbase !
> >
> > Im getting "mixed messages" in the errors when creating a table in a
> simple
> > hbase two node cluster.
> >
> > 1) My HMaster is clearly running:
> >
> > 21519 Manager
> > 14748 HMaster
> > 25110 Jps
> > 9887 QuorumPeerMain
> > 15473 HRegionServer
> > 14062 ServiceMain
> > 5702 Bootstrap
> >
> > 2) But when I try to create a table:
> >
> > create 't1','f1'
> >
> > I get a master initializing exception.
> >
> > 3) However, oddly, when i run this in -d mode, the logs seem to report
> > security, rather than " master initializing " errors.
> >
> > My question:  Is this a security error ? A zookeeper error?  Or an error
> on
> > the HMaster?  And why is it that, with debug mode, the logs generally are
> > referring to zookeeper security, whereas with the normal mode, the
> > exception stack trace points to HMaster initialization failure?
> >
> >
> > SLF4J: Class path contains multiple SLF4J bindings.
> > SLF4J: Found binding in
> >
> >
> [jar:file:/usr/lib/hbase/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> > SLF4J: Found binding in
> >
> >
> [jar:file:/usr/lib/zookeeper/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> > SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
> > explanation.
> > 13/09/24 18:22:16 INFO zookeeper.ZooKeeper: Client
> > environment:zookeeper.version=3.4.5-Intel-20143, built on 08/28/2013
> 14:43
> > GMT
> > 13/09/24 18:22:16 INFO zookeeper.ZooKeeper: Client environment:host.name
> > > mrg5.lab.bos.redhat.com
> > 13/09/24 18:22:16 INFO zookeeper.ZooKeeper: Client
> > environment:java.version=1.6.0_31
> > 13/09/24 18:22:16 INFO zookeeper.ZooKeeper: Client
> > environment:java.vendor=Sun Microsystems Inc.
> > 13/09/24 18:22:16 INFO zookeeper.ZooKeeper: Client
> > environment:java.home=/usr/java/jdk1.6.0_31/jre
> > 13/09/24 18:22:16 INFO zookeeper.ZooKeeper: Client
> >
> >
> environment:java.class.path=/usr/lib/hbase/bin/../conf:/usr/java/latest/lib/tools.jar:/usr/lib/hbase/bin/..:/usr/lib/hbase/bin/../hbase-0.94.7-Intel.jar:/usr/lib/hbase/bin/../hbase-0.94.7-Intel-tests.jar:/usr/lib/hbase/bin/../hbase.jar:/usr/lib/hbase/bin/../lib/activation-1.1.jar:/usr/lib/hbase/bin/../lib/aopalliance-1.0.jar:/usr/lib/hbase/bin/../lib/asm-3.1.jar:/usr/lib/hbase/bin/../lib/avro-1.7.4-Intel.jar:/usr/lib/hbase/bin/../lib/avro-ipc-1.7.4-Intel.jar:/usr/lib/hbase/bin/../lib/commons-beanutils-1.7.0.jar:/usr/lib/hbase/bin/../lib/commons-beanutils-core-1.8.0.jar:/usr/lib/hbase/bin/../lib/commons-cli-1.2.jar:/usr/lib/hbase/bin/../lib/commons-codec-1.4.jar:/usr/lib/hbase/bin/../lib/commons-collections-3.2.1.jar:/usr/lib/hbase/bin/../lib/commons-compress-1.4.1.jar:/usr/lib/hbase/bin/../lib/commons-configuration-1.6.jar:/usr/lib/hbase/bin/../lib/commons-daemon-1.0.13.jar:/usr/lib/hbase/bin/../lib/commons-digester-1.8.jar:/usr/lib/hbase/bin/../lib/commons-el-1.0.jar:/usr/lib/hbase/bin/../lib/commons-httpclient-3.1.jar:/usr/lib/hbase/bin/../lib/commons-io-2.1.jar:/usr/lib/hbase/bin/../lib/commons-lang-2.5.jar:/usr/lib/hbase/bin/../lib/commons-logging-1.1.1.jar:/usr/lib/hbase/bin/../lib/commons-logging-api-1.1.jar:/usr/lib/hbase/bin/../lib/commons-math-2.1.jar:/usr/lib/hbase/bin/../lib/commons-net-3.1.jar:/usr/lib/hbase/bin/../lib/core-3.1.1.jar:/usr/lib/hbase/bin/../lib/glusterfs-hadoop.jar:/usr/lib/hbase/bin/../lib/gmbal-api-only-3.0.0-b023.jar:/usr/lib/hbase/bin/../lib/grizzly-framework-2.1.1.jar:/usr/lib/hbase/bin/../lib/grizzly-framework-2.1.1-tests.jar:/usr/lib/hbase/bin/../lib/grizzly-http-2.1.1.jar:/usr/lib/hbase/bin/../lib/grizzly-http-server-2.1.1.jar:/usr/lib/hbase/bin/../lib/grizzly-http-servlet-2.1.1.jar:/usr/lib/hbase/bin/../lib/grizzly-rcm-2.1.1.jar:/usr/lib/hbase/bin/../lib/guava-11.0.2.jar:/usr/lib/hbase/bin/../lib/guice-3.0.jar:/usr/lib/hbase/bin/../lib/guice-servlet-3.0.jar:/usr/lib/hbase/bin/../lib/hadoop-annotations.jar:/usr/lib/hbase/bin/../lib/hadoop-common.jar:/usr/lib/hbase/bin/../lib/hadoop-crypto.jar:/usr/lib/hbase/bin/../lib/high-scale-lib-1.1.1.jar:/usr/lib/hbase/bin/../lib/httpclient-4.1.3.jar:/usr/lib/hbase/bin/../lib/httpcore-4.1.3.jar:/usr/lib/hbase/bin/../lib/im-key.jar:/usr/lib/hbase/bin/../lib/jackson-core-asl-1.8.8.jar:/usr/lib/hbase/bin/../lib/jackson-jaxrs-1.8.8.jar:/usr/lib/hbase/bin/../lib/jackson-mapper-asl-1.8.8.jar:/usr/lib/hbase/bin/../lib/jackson-xc-1.8.8.jar:/usr/lib/hbase/bin/../lib/jamon-runtime-2.3.1.jar:/usr/lib/hbase/bin/../lib/jasper-compiler-5.5.23.jar:/usr/lib/hbase/bin/../lib/jasper-runtime-5.5.23.jar:/usr/lib/hbase/bin/../lib/javax.inject-1.jar:/usr/lib/hbase/bin/../lib/javax.servlet-3.0.jar:/usr/lib/hbase/bin/../lib/jaxb-api-2.1.jar:/usr/lib/hbase/bin/../lib/jaxb-imp
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