dengyule 2012-08-16, 12:10
-Re: Connector error
Eric Yang 2012-08-17, 04:53
Make sure you have zookeeper host and port defined in hbase-site.xml. The
error looks like they are not defined.
<description>Property from ZooKeeper's config zoo.cfg.
The port at which the clients will connect.
<description>Comma separated list of servers in the ZooKeeper Quorum.
For example, "host1.mydomain.com,host2.mydomain.com,host3.mydomain.com".
By default this is set to localhost for local and pseudo-distributed modes
of operation. For a fully-distributed setup, this should be set to a full
list of ZooKeeper quorum servers. If HBASE_MANAGES_ZK is set in
this is the list of servers which we will start/stop ZooKeeper on.
On Thu, Aug 16, 2012 at 5:10 AM, dengyule <[EMAIL PROTECTED]> wrote:
> I understand what you mean。
> jar cf $CHUKWA_HOME/hbase-env.jar $HBASE_CONF_DIR
> I also set it. in the single node model. I can run the pig and view
> hicc's chart. in cluster model,my hbase and chukwa are running normally.
> but always error in pig running:
> org.apache.hadoop.hbase.ZooKeeperConnectionException: HBase is able to
> connect to ZooKeeper but the connection closes immediately. This could be a
> sign that the server has too many connections (30 is the
> I wonder whether you encountered such a situation. thanks.
> best regards
> ------------------ Original ------------------
> *From: * "Eric Yang"<[EMAIL PROTECTED]>;
> *Date: * Wed, Aug 15, 2012 10:35 PM
> *To: * "[EMAIL PROTECTED]"<[EMAIL PROTECTED]>;
> *Cc: * "chukwa-user"<[EMAIL PROTECTED]>; **
> *Subject: * Re: Connector error
> This is caused by the Hbase configuration is not in the class path of pig
> script. I work around this by jar up hbase config directory and pass as
> additional jar to pig.
> Sent from my iPhone
> On Aug 15, 2012, at 12:45 AM, "dengyule" <[EMAIL PROTECTED]> wrote:
> Thank you for your valuable reply。According to your tips, now my
> collecor can collect data,and my hbase and chukwa also all normal。but
> when i use the pig to run the ClusterSummary.pig . Always occur the
> following error message：
> org.apache.hadoop.hbase.ZooKeeperConnectionException: HBase is able to connect to ZooKeeper but the connection closes immediately. This could be a sign that the server has too many connections (30 is the default). Consider inspecting your ZK server logs for that error and then make sure you are reusing HBaseConfiguration as often as you can. See HTable's javadoc for more information.
> at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.<init>(ZooKeeperWatcher.java:155)
> at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getZooKeeperWatcher(HConnectionManager.java:1002)
> at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.setupZookeeperTrackers(HConnectionManager.java:304)
> at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.<init>(HConnectionManager.java:295)
> at org.apache.hadoop.hbase.client.HConnectionManager.getConnection(HConnectionManager.java:157)
> at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:169)
> at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:147)
> at org.apache.pig.backend.hadoop.hbase.HBaseStorage..setLocation(HBaseStorage.java:438)
> at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigInputFormat.mergeSplitSpecificConf(PigInputFormat.java:134)
dengyule 2012-08-15, 07:45
Eric Yang 2012-08-15, 14:35
mason deng 2012-08-13, 13:45
Eric Yang 2012-08-14, 05:51