Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B588A11568 for ; Tue, 20 May 2014 15:09:16 +0000 (UTC) Received: (qmail 610 invoked by uid 500); 20 May 2014 15:09:15 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 543 invoked by uid 500); 20 May 2014 15:09:15 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 535 invoked by uid 99); 20 May 2014 15:09:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 May 2014 15:09:15 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yuzhihong@gmail.com designates 209.85.213.47 as permitted sender) Received: from [209.85.213.47] (HELO mail-yh0-f47.google.com) (209.85.213.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 May 2014 15:09:10 +0000 Received: by mail-yh0-f47.google.com with SMTP id z6so470167yhz.34 for ; Tue, 20 May 2014 08:08:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=VLsL8zTdYcGPWmS7qgyDVA0Pa/vD4e7rx4ngASlRAWw=; b=p8IcrDE1x/REa6UAUYAZrfTNpM6NGDo6B4UD1GYuG4G2F/rGpb0jwKTWkXaSfWAb2T cMRnAh8MMyG6eFa1LYwEtwkS+P9Hmy9ZjUc6ib/jaTZyD7Ih7Y/YGpemDM/x1MCK5AiB u+NnGr9hJmOFxAR4F/tvNmaeUWaurqZjyQBaihpTdyY+wE9kxkCwEWz9DITwqWCgV+Jz me/D3ErG4sH6ka2ulbD9ai5XGISMHL6VcHPUoecf98yMziNohDRDFzHEQp8/X9YZGWeS jsM4uai2ZCEu0q3E+hIkvpm8JU1WJC4YUiBjI5INaT5BcxFYygkWekNUi6vGkwGwes4u OWBg== MIME-Version: 1.0 X-Received: by 10.236.130.37 with SMTP id j25mr63542298yhi.106.1400598530242; Tue, 20 May 2014 08:08:50 -0700 (PDT) Received: by 10.170.37.144 with HTTP; Tue, 20 May 2014 08:08:50 -0700 (PDT) In-Reply-To: <537AFCC7.1060704@oracle.com> References: <537AFCC7.1060704@oracle.com> Date: Tue, 20 May 2014 08:08:50 -0700 Message-ID: Subject: Re: HBase connectivity issue From: Ted Yu To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=20cf3011dff5de3b4c04f9d64102 X-Virus-Checked: Checked by ClamAV on apache.org --20cf3011dff5de3b4c04f9d64102 Content-Type: text/plain; charset=UTF-8 Is HBase running properly on that node ? hbase.zookeeper.quorum and hbase.zookeeper.property.clientPort parameters are absent in hbase-site.xml Cheers On Mon, May 19, 2014 at 11:57 PM, yogesh bedekar wrote: > Hi, > > I am using HBase 0.94.8 in my maven project. > I am trying to conect to an HBase database that is on the same node in > this project. > > I am getting the following following exception :- > > 14/05/14 02:45:17 INFO zookeeper.ZooKeeper: Initiating client > connection, connectString=blr2211457.idc.oracle.com:2182 > sessionTimeout=180000 watcher=hconnection > 14/05/14 02:45:17 INFO zookeeper.RecoverableZooKeeper: The identifier of > this process is 29532@blr2211457 > 14/05/14 02:45:17 WARN zookeeper.ClientCnxn: Session 0x0 for server > null, unexpected error, closing socket connection and attempting reconnect > java.lang.IllegalArgumentException: No Configuration was registered that > can handle the configuration named Client > at > com.bea.common.security.jdkutils.JAASConfiguration. > getAppConfigurationEntry(JAASConfiguration.java:130) > at > org.apache.zookeeper.client.ZooKeeperSaslClient.( > ZooKeeperSaslClient.java:97) > at > org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java: > 943) > at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:993) > 14/05/14 02:45:18 WARN zookeeper.RecoverableZooKeeper: Possibly > > I have not enabled security in the hbase-site.xml. > I am embedding an hbase-site.xml into my maven project. > > It has the following entries :- > > > > hbase.defaults.for.version > 0.94.8-SNAPSHOT > > > > hbase.defaults.for.version.skip > true > > > hbase.zookeeper.quorum > blr2211457.idc.oracle.com > The directory shared by RegionServers. > > > > hbase.zookeeper.property.clientPort > 2181 > The directory shared by RegionServers. > > > > hbase.master > blr2211457.idc.oracle.com:60000 > The directory shared by RegionServers. > > > > hbase.rootdir > hdfs://blr2211457.idc.oracle.com:8020/hbase > > > > I confirmed that this file is being read successfully and its properties > are being used. > > The hbase-site.xml in the database has the following entries - > > > > hbase.rootdir > file:///scratch/ybedekar/hbase0.94.8logs/hbase > > > hbase.zookeeper.property.dataDir > /scratch/ybedekar/hbase0.94.8logs/zookeeper > > > hbase.security.authorization > false > > > > Thanks in advance for any help in resolving this. > > Thanks, > Yogesh > --20cf3011dff5de3b4c04f9d64102--