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 03B5310842 for ; Sat, 1 Feb 2014 10:14:30 +0000 (UTC) Received: (qmail 10224 invoked by uid 500); 1 Feb 2014 10:14:27 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 9633 invoked by uid 500); 1 Feb 2014 10:14:13 -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 9623 invoked by uid 99); 1 Feb 2014 10:14:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Feb 2014 10:14:11 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [209.85.160.48] (HELO mail-pb0-f48.google.com) (209.85.160.48) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Feb 2014 10:13:55 +0000 Received: by mail-pb0-f48.google.com with SMTP id rr13so5340022pbb.7 for ; Sat, 01 Feb 2014 02:13:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=LDpfLFvVgW3RQRkwRKjyGldtY1q9Ldh0qdGZNNzsiHk=; b=V0S4brNjw3kJU/FOad/pqD8kuFTeORFulnvDUidls48BfJ/KfzI7GaxnUV5LicG2FR 1S+otLsWpt/CxYbKzRrJ7uOSmF3Yj2jDtX99Eci2cDoZBS6cLKzBfvFVXNvHBmG6ftxc 8NaGEVFbwXLd/8bJN+/ffHxzUsn4a52LMzeJfaJSPpbQcXVdFpEO4daj8lgB4lDAmZfN WprgIkypA/PEPPZo2Wu6pgbx1HL1l8/nwvA2Ytu8A6emF7ClRY/aiteh8VpNPJv7Rr/u mnQXCADi+CUOQAu2ibza9FL9TbiaP6UUm15i/NtSu2UsbMw1P2PUrWSUduGDOt+9gO37 JgUw== X-Gm-Message-State: ALoCoQmokhlp95HmtaLxsNjcvtH6q7W9tfg+uF1QpJuA2qic4WXIDZU7DZCarTf6EUleDKGNyc7L MIME-Version: 1.0 X-Received: by 10.68.138.165 with SMTP id qr5mr26150048pbb.123.1391249612883; Sat, 01 Feb 2014 02:13:32 -0800 (PST) Received: by 10.70.23.193 with HTTP; Sat, 1 Feb 2014 02:13:32 -0800 (PST) Received: by 10.70.23.193 with HTTP; Sat, 1 Feb 2014 02:13:32 -0800 (PST) In-Reply-To: References: <58498390-3173-4F3E-8960-A6965D62718D@gmail.com> Date: Sat, 1 Feb 2014 05:13:32 -0500 Message-ID: Subject: Re: help needed towards connecting Hbase From: Jean-Marc Spaggiari To: user Content-Type: multipart/alternative; boundary=047d7b15ae41f8620d04f1558a27 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b15ae41f8620d04f1558a27 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable First, Moving the discussion into user instead of dev. So. Can you clear file:////home/hadoop/hbase_temp and your temp folder and retry? For HServerAddress I need to have a 2nd look first... JM Le 2014-02-01 05:00, "jeevi tesh" a =C3=A9crit : > Only this two file I have changed > *hbase-site.xml* > > > > > > hbase.zookeeper.quorum > localhost > The directory > > > hbase.zookeeper.property.dataDir > /home/hadoop/zookeeper_temp > The directory > > > hbase.rootdir > file:////home/hadoop/hbase_temp > The directory > > > > ******************************************* > *hdfs-site.xml* > ********************************************* > > > > > > > > > hadoop.tmp.dir > /home/hadoop/hadoop_temp > A base for other temporary directories. > > > > fs.default.name > hdfs://localhost:9000 > The name of the default file system. A URI whose > scheme and authority determine the FileSystem implementation. The > uri's scheme determines the config property (fs.SCHEME.impl) naming > the FileSystem implementation class. The uri's authority is used to > determine the host, port, etc. for a filesystem. > > > > mapred.job.tracker > localhost:9001 > The host and port that the MapReduce job tracker runs > at. If "local", then jobs are run in-process as a single map > and reduce task. > > > > > mapred.tasktracker.tasks.maximum > 8 > The maximum number of tasks that will be run simultaneously = by > a > a task tracker > > > > > dfs.replication > 1 > Default block replication. > The actual number of replications can be specified when the file is > created. > The default is used if replication is not specified in create time. > > > > > > > > > On Sat, Feb 1, 2014 at 3:21 PM, jeevi tesh wrote= : > > > Zookeeper i have not installed as it is a single node cluster. > > i'll check all my config file and update you > > Version as follows > > hadoop2.2.0 > > hbase-0.96.1.1-hadoop2 > > can you explain about what do you mean by I'm not able to find > > HServerAddress in > > > > > > > > On Sat, Feb 1, 2014 at 3:10 PM, Jean-Marc Spaggiari < > > jean-marc@spaggiari.org> wrote: > > > >> Seem you have some bad information in config file or ZK. Can you confi= rm > >> again which HBase version you use? I'm not able to find HServerAddress > in > >> 0.96.x... > >> > >> > >> JM > >> > >> > >> 2014-02-01 jeevi tesh : > >> > >> > hi, > >> > I changed the etc/hosts file now it looks like > >> > 127.0.0.1 localhost.localdomain.com localhost > >> > 192.168.1.42 database.companyname.com database > >> > > >> > I'm able to connect " > http://192.168.1.42:60010/master-status?filter=3Dall > >> " > >> > and also to hbase shell and after issue of command "status" i get > >> > 1 server, 3 dead, 3.000 average load. > >> > > >> > There are no error but* no tables are getting created.* > >> > *Any suggestion or comments will be of great help.* > >> > > >> > *Hadoop and Hbase are in oracle linux os on completely different Vm.= * > >> > *I'm connecting from my win7 machine through my java code.* > >> > > >> > > >> > *One interesting thing is if uncomment > >> > line*"HBaseAdmin.checkHBaseAvailable(config); > >> > " > >> > I get error > >> > 14/02/01 14:33:27 INFO zookeeper.ClientCnxn: Socket connection > >> established > >> > to 192.168.1.42/192.168.1.42:2181, initiating session > >> > 14/02/01 14:33:27 INFO zookeeper.ClientCnxn: Session establishment > >> complete > >> > on server 192.168.1.42/192.168.1.42:2181, sessionid =3D > >> 0x143eca016d60010, > >> > negotiated timeout =3D 40000 > >> > java.lang.NumberFormatException: For input string: "43535???]M??PBUF > >> > $ > >> > database.unilogcorp.com ?? ????( > >> > > >> > at > >> > > >> > > >> > java.lang.NumberFormatException.forInputString(NumberFormatException.java= :48) > >> > at java.lang.Integer.parseInt(Integer.java:458) > >> > at java.lang.Integer.parseInt(Integer.java:499) > >> > at > org.apache.hadoop.hbase.HServerAddress.(HServerAddress.java:63) > >> > at > >> > > >> > > >> > org.apache.hadoop.hbase.MasterAddressTracker.getMasterAddress(MasterAddre= ssTracker.java:63) > >> > at > >> > > >> > > >> > org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementati= on.getMaster(HConnectionManager.java:353) > >> > at > org.apache.hadoop.hbase.client.HBaseAdmin.(HBaseAdmin.java:89) > >> > at > >> > > >> > > >> > org.apache.hadoop.hbase.client.HBaseAdmin.checkHBaseAvailable(HBaseAdmin.= java:1216) > >> > at pack1.testDB.main(testDB.java:30) > >> > > >> > below is my new script > >> > package pack1; > >> > > >> > import java.io.IOException; > >> > > >> > import org.apache.hadoop.conf.Configuration; > >> > import org.apache.hadoop.fs.Path; > >> > import org.apache.hadoop.hbase.HBaseConfiguration; > >> > import org.apache.hadoop.hbase.client.HBaseAdmin; > >> > import org.apache.hadoop.hbase.client.HTable; > >> > import org.apache.hadoop.hbase.client.Put; > >> > import org.apache.hadoop.hbase.util.Bytes; > >> > > >> > public class testDB { > >> > > >> > /** > >> > * @param args > >> > */ > >> > public static void main(String[] args) { > >> > try { > >> > System.out.println("1 Before HBASE COnfiguration"); > >> > Configuration config =3D HBaseConfiguration.create(); > >> > config.clear(); > >> > System.out.println("2 Before HBASE COnfiguration"); > >> > //config.addResource(new Path("conf/hbase-site.xml")); > >> > System.setProperty("java.net.preferIPv4Stack" , "true"); > >> > config.set("hbase.master", "192.168.1.42:60010"); > >> > config.set("hbase.zookeeper.quorum", "192.168.1.42"); > >> > config.set("hbase.zookeeper.property.clientPort","2181"); > >> > //HBaseAdmin.checkHBaseAvailable(config); > >> > System.out.println("HBase is running!"); > >> > HTable table; > >> > > >> > table =3D new HTable(config, "test4"); > >> > > >> > > >> > System.out.println("Table mytable obtained "); > >> > > >> > Put put =3D new Put(Bytes.toBytes("row1")); > >> > > >> > > >> > > >> > put.add(Bytes.toBytes("colfam1"),Bytes.toBytes("qual1"),Bytes.toBytes("va= l1")); > >> > > >> > > >> > > >> > put.add(Bytes.toBytes("colfam1"),Bytes.toBytes("qual2"),Bytes.toBytes("va= l2")); > >> > table.put(put); > >> > // table.close(); > >> > > >> > } catch (Exception e) { > >> > e.printStackTrace(); > >> > } > >> > > >> > } > >> > > >> > } > >> > Output is as follows > >> > 1 Before HBASE COnfiguration > >> > 2 Before HBASE COnfiguration > >> > HBase is running! > >> > 14/02/01 14:22:59 INFO zookeeper.ZooKeeper: Client > >> > environment:zookeeper.version=3D3.3.2-1031432, built on 11/05/2010 0= 5:32 > >> GMT > >> > 14/02/01 14:22:59 INFO zookeeper.ZooKeeper: Client environment: > >> host.name > >> > =3DDELL-75.unilog > >> > 14/02/01 14:22:59 INFO zookeeper.ZooKeeper: Client > >> > environment:java.version=3D1.6.0_16 > >> > 14/02/01 14:22:59 INFO zookeeper.ZooKeeper: Client > >> > environment:java.vendor=3DSun Microsystems Inc. > >> > 14/02/01 14:22:59 INFO zookeeper.ZooKeeper: Client > >> > environment:java.home=3DC:\Program Files\Java\jdk1.6.0_16\jre > >> > 14/02/01 14:22:59 INFO zookeeper.ZooKeeper: Client > >> > > >> > > >> > environment:java.class.path=3DE:\jeevi\XRFWorkSpace200\testdbcon\bin;E:\j= eevi\XRF100\WebContent\WEB-INF\lib\apache-logging-log4j.jar;E:\jeevi\XRF100= \WebContent\WEB-INF\lib\asm-3.1.jar;E:\jeevi\XRF100\WebContent\WEB-INF\lib\= commons-logging-1.1.3.jar;E:\jeevi\XRF100\WebContent\WEB-INF\lib\hadoop-cor= e-0.19.0.jar;E:\jeevi\XRF100\WebContent\WEB-INF\lib\hbase-0.90.2.jar;E:\jee= vi\XRF100\WebContent\WEB-INF\lib\zookeeper-3.3.2.jar > >> > 14/02/01 14:22:59 INFO zookeeper.ZooKeeper: Client > >> > environment:java.library.path=3DC:\Program > >> > > >> > > >> > Files\Java\jdk1.6.0_16\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;= C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windo= ws\System32\WindowsPowerShell\v1.0\;C:\Program > >> > Files\Common Files\Acronis\SnapAPI\;C:\Program > >> > Files\Java\jdk1.6.0_16\bin;C:\apache-maven-3.1.1\bin > >> > 14/02/01 14:22:59 INFO zookeeper.ZooKeeper: Client > >> > environment:java.io.tmpdir=3DC:\Users\jems\AppData\Local\Temp\ > >> > 14/02/01 14:22:59 INFO zookeeper.ZooKeeper: Client > >> > environment:java.compiler=3D > >> > 14/02/01 14:22:59 INFO zookeeper.ZooKeeper: Client environment: > os.name > >> > =3DWindows > >> > 7 > >> > 14/02/01 14:22:59 INFO zookeeper.ZooKeeper: Client > >> environment:os.arch=3Dx86 > >> > 14/02/01 14:22:59 INFO zookeeper.ZooKeeper: Client > >> > environment:os.version=3D6.1 > >> > 14/02/01 14:22:59 INFO zookeeper.ZooKeeper: Client environment: > >> user.name > >> > =3Djems > >> > 14/02/01 14:22:59 INFO zookeeper.ZooKeeper: Client > >> > environment:user.home=3DC:\Users\jems > >> > 14/02/01 14:22:59 INFO zookeeper.ZooKeeper: Client > >> > environment:user.dir=3DE:\jeevi\XRFWorkSpace200\testdbcon > >> > 14/02/01 14:22:59 INFO zookeeper.ZooKeeper: Initiating client > >> connection, > >> > connectString=3D192.168.1.42:2181 sessionTimeout=3D180000 > >> watcher=3Dhconnection > >> > 14/02/01 14:22:59 INFO zookeeper.ClientCnxn: Opening socket connecti= on > >> to > >> > server /192.168.1.42:2181 > >> > 14/02/01 14:23:00 INFO zookeeper.ClientCnxn: Socket connection > >> established > >> > to 192.168.1.42/192.168.1.42:2181, initiating session > >> > 14/02/01 14:23:00 INFO zookeeper.ClientCnxn: Session establishment > >> complete > >> > on server 192.168.1.42/192.168.1.42:2181, sessionid =3D > >> 0x143eca016d60009, > >> > negotiated timeout =3D 40000 > >> > > >> > > >> > > >> > > >> > On Sat, Feb 1, 2014 at 7:21 AM, Jean-Marc Spaggiari < > >> > jean-marc@spaggiari.org > >> > > wrote: > >> > > >> > > Hi Jeevi, > >> > > > >> > > I'm moving this discussion in user instead of dev. > >> > > > >> > > You hosts file should not looks like what you have: > >> > > > >> > > 127.0.0.1 localhost.localdomain.com localhos= t > >> > > 127.0.0.1 database.companyname.com database > >> > > > >> > > You should but your IP address at the 2nd line instead of 127.0.0.= 1 > >> > > > >> > > Can you please with this modification? > >> > > > >> > > Thanks, > >> > > > >> > > JM > >> > > > >> > > > >> > > 2014-01-31 jeevi tesh : > >> > > > >> > > > In "http://192.168.1.42:60010/master-status?filter=3Dall" > >> > > > Under Tasks->Show all mointored tasks I find below task are > >> waiting... > >> > > > *So all my requests are waiting but for which reason.. any > >> comments*. > >> > > > > >> > > > Fri Jan 31 21:03:37 IST > >> > > > 2014Replication.RpcServer.handler=3D2,port=3D46854WAITING > >> > > > (since 35mins, 48sec ago)Waiting for a call (since 35mins, 48sec > >> > ago)Fri > >> > > > Jan 31 21:03:37 IST > >> > 2014Replication.RpcServer.handler=3D1,port=3D46854WAITING > >> > > > (since 35mins, 48sec ago)Waiting for a call (since 35mins, 48sec > >> ago) > >> > > > > >> > > > > >> > > > On Fri, Jan 31, 2014 at 9:33 PM, jeevi tesh < > jeevitesh.ms@gmail.com > >> > > >> > > > wrote: > >> > > > > >> > > > > still not able to solve this issue please help thanks > >> > > > > > >> > > > > > >> > > > > On Fri, Jan 31, 2014 at 8:17 PM, jeevi tesh < > >> jeevitesh.ms@gmail.com > >> > > > >wrote: > >> > > > > > >> > > > >> One interesting thing, is even if i shutdown the linux system > or > >> > stop > >> > > > >> hbase same error I get. so it proves it is not even able to > >> > > establishes > >> > > > >> connection to hadoop server so it is the problem in my client > >> code > >> > > > >> > >> > > > >> > >> > > > >> On Fri, Jan 31, 2014 at 8:12 PM, jeevi tesh < > >> jeevitesh.ms@gmail.com > >> > > > >wrote: > >> > > > >> > >> > > > >>> Thanks for taking effort to help me > >> > > > >>> In "http://192.168.1.42:60010/master-status" > >> > > > >>> I found > >> > > > >>> " Zookeeper Quorum localhost:2181 Addresses of all registere= d > ZK > >> > > > >>> servers. For more, see zk dump." > >> > > > >>> accordingly I updated my code with proper port number > >> > > > >>> still error persists... > >> > > > >>> please check my code and error also > >> > > > >>> It will be of great help if you can help me. > >> > > > >>> I'm trying to run the below code from windows machine and > hadoop > >> > and > >> > > > >>> hbase are installed in oracle linux single node cluster > >> > > > >>> Now i removed Zookeeper > >> > > > >>> import java.io.IOException; > >> > > > >>> > >> > > > >>> import org.apache.hadoop.conf.Configuration; > >> > > > >>> import org.apache.hadoop.hbase.HBaseConfiguration; > >> > > > >>> import org.apache.hadoop.hbase.client.HTable; > >> > > > >>> import org.apache.hadoop.hbase.client.Put; > >> > > > >>> import org.apache.hadoop.hbase.util.Bytes; > >> > > > >>> > >> > > > >>> public class testDB { > >> > > > >>> > >> > > > >>> /** > >> > > > >>> * @param args > >> > > > >>> */ > >> > > > >>> public static void main(String[] args) { > >> > > > >>> try { > >> > > > >>> System.out.println("1 Before HBASE COnfiguration"); > >> > > > >>> Configuration config =3D HBaseConfiguration.create(); > >> > > > >>> //config.clear(); > >> > > > >>> System.out.println("2 Before HBASE COnfiguration"); > >> > > > >>> config.set("hbase.master", "192.168.1.42:60010"); > >> > > > >>> config.set("hbase.zookeeper.quorum.", "192.168.1.42:2181"); > >> > > > >>> System.out.println("HBase is running!"); > >> > > > >>> HTable table; > >> > > > >>> table =3D new HTable(config, "mytable"); > >> > > > >>> System.out.println("Table mytable obtained "); > >> > > > >>> > >> > > > >>> Put put =3D new Put(Bytes.toBytes("row1")); > >> > > > >>> > >> > > > >>> > >> > > > > >> > > > >> > > >> > put.add(Bytes.toBytes("colfam1"),Bytes.toBytes("qual1"),Bytes.toBytes("va= l1")); > >> > > > >>> > >> > > > >>> > >> > > > > >> > > > >> > > >> > put.add(Bytes.toBytes("colfam1"),Bytes.toBytes("qual2"),Bytes.toBytes("va= l2")); > >> > > > >>> table.put(put); > >> > > > >>> } catch (IOException e) { > >> > > > >>> e.printStackTrace(); > >> > > > >>> } > >> > > > >>> > >> > > > >>> } > >> > > > >>> > >> > > > >>> } > >> > > > >>> 1 Before HBASE COnfiguration > >> > > > >>> 2 Before HBASE COnfiguration > >> > > > >>> HBase is running! > >> > > > >>> 14/01/31 20:04:47 INFO zookeeper.ZooKeeper: Client > >> > > > >>> environment:zookeeper.version=3D3.3.2-1031432, built on > 11/05/2010 > >> > > 05:32 > >> > > > GMT > >> > > > >>> 14/01/31 20:04:47 INFO zookeeper.ZooKeeper: Client > environment: > >> > > > host.name > >> > > > >>> =3DDELL-75.unilog > >> > > > >>> 14/01/31 20:04:47 INFO zookeeper.ZooKeeper: Client > >> > > > >>> environment:java.version=3D1.6.0_16 > >> > > > >>> 14/01/31 20:04:47 INFO zookeeper.ZooKeeper: Client > >> > > > >>> environment:java.vendor=3DSun Microsystems Inc. > >> > > > >>> 14/01/31 20:04:47 INFO zookeeper.ZooKeeper: Client > >> > > > >>> environment:java.home=3DC:\Program Files\Java\jdk1.6.0_16\jr= e > >> > > > >>> 14/01/31 20:04:47 INFO zookeeper.ZooKeeper: Client > >> > > > >>> > >> > > > > >> > > > >> > > >> > environment:java.class.path=3DE:\jeevi\XRFWorkSpace200\testdbcon\bin;E:\j= eevi\XRF100\WebContent\WEB-INF\lib\apache-logging-log4j.jar;E:\jeevi\XRF100= \WebContent\WEB-INF\lib\asm-3.1.jar;E:\jeevi\XRF100\WebContent\WEB-INF\lib\= commons-logging-1.1.3.jar;E:\jeevi\XRF100\WebContent\WEB-INF\lib\hadoop-cor= e-0.19.0.jar;E:\jeevi\XRF100\WebContent\WEB-INF\lib\hbase-0.90.2.jar;E:\jee= vi\XRF100\WebContent\WEB-INF\lib\zookeeper-3.3.2.jar > >> > > > >>> 14/01/31 20:04:47 INFO zookeeper.ZooKeeper: Client > >> > > > >>> environment:java.library.path=3DC:\Program > >> > > > >>> > >> > > > > >> > > > >> > > >> > Files\Java\jdk1.6.0_16\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;= C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windo= ws\System32\WindowsPowerShell\v1.0\;C:\Program > >> > > > >>> Files\Common Files\Acronis\SnapAPI\;C:\Program > >> > > > >>> Files\Java\jdk1.6.0_16\bin;C:\apache-maven-3.1.1\bin > >> > > > >>> 14/01/31 20:04:47 INFO zookeeper.ZooKeeper: Client > >> > > > >>> environment:java.io.tmpdir=3DC:\Users\jems\AppData\Local\Tem= p\ > >> > > > >>> 14/01/31 20:04:47 INFO zookeeper.ZooKeeper: Client > >> > > > >>> environment:java.compiler=3D > >> > > > >>> 14/01/31 20:04:47 INFO zookeeper.ZooKeeper: Client > environment: > >> > > > os.name=3DWindows > >> > > > >>> 7 > >> > > > >>> 14/01/31 20:04:47 INFO zookeeper.ZooKeeper: Client > >> > > > >>> environment:os.arch=3Dx86 > >> > > > >>> 14/01/31 20:04:47 INFO zookeeper.ZooKeeper: Client > >> > > > >>> environment:os.version=3D6.1 > >> > > > >>> 14/01/31 20:04:47 INFO zookeeper.ZooKeeper: Client > environment: > >> > > > user.name > >> > > > >>> =3Djems > >> > > > >>> 14/01/31 20:04:47 INFO zookeeper.ZooKeeper: Client > >> > > > >>> environment:user.home=3DC:\Users\jems > >> > > > >>> 14/01/31 20:04:47 INFO zookeeper.ZooKeeper: Client > >> > > > >>> environment:user.dir=3DE:\jeevi\XRFWorkSpace200\testdbcon > >> > > > >>> 14/01/31 20:04:47 INFO zookeeper.ZooKeeper: Initiating clien= t > >> > > > >>> connection, connectString=3Dlocalhost:2181 sessionTimeout=3D= 180000 > >> > > > >>> watcher=3Dhconnection > >> > > > >>> 14/01/31 20:04:47 INFO zookeeper.ClientCnxn: Opening socket > >> > > connection > >> > > > >>> to server localhost/127.0.0.1:2181 > >> > > > >>> 14/01/31 20:04:48 WARN zookeeper.ClientCnxn: Session 0x0 for > >> server > >> > > > >>> null, unexpected error, closing socket connection and > attempting > >> > > > reconnect > >> > > > >>> java.net.ConnectException: Connection refused: no further > >> > > information > >> > > > >>> at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) > >> > > > >>> at > >> > > > > >> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:574) > >> > > > >>> at > >> > > > > org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119) > >> > > > >>> 14/01/31 20:04:48 INFO zookeeper.ClientCnxn: Opening socket > >> > > connection > >> > > > >>> to server localhost/0:0:0:0:0:0:0:1:2181 > >> > > > >>> 14/01/31 20:04:48 WARN zookeeper.ClientCnxn: Session 0x0 for > >> server > >> > > > >>> null, unexpected error, closing socket connection and > attempting > >> > > > reconnect > >> > > > >>> java.net.SocketException: Address family not supported by > >> protocol > >> > > > >>> family: connect > >> > > > >>> at sun.nio.ch.Net.connect(Native Method) > >> > > > >>> at > >> sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507) > >> > > > >>> at > >> > > > >>> > >> > > > > >> > > > >> > > >> > org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:1= 050) > >> > > > >>> at > >> > > org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:107= 7) > >> > > > >>> 14/01/31 20:04:50 INFO zookeeper.ClientCnxn: Opening socket > >> > > connection > >> > > > >>> to server localhost/127.0.0.1:2181 > >> > > > >>> 14/01/31 20:04:51 WARN zookeeper.ClientCnxn: Session 0x0 for > >> server > >> > > > >>> null, unexpected error, closing socket connection and > attempting > >> > > > reconnect > >> > > > >>> java.net.ConnectException: Connection refused: no further > >> > > information > >> > > > >>> at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) > >> > > > >>> at > >> > > > > >> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:574) > >> > > > >>> at > >> > > > > org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119) > >> > > > >>> 14/01/31 20:04:51 INFO zookeeper.ClientCnxn: Opening socket > >> > > connection > >> > > > >>> to server localhost/0:0:0:0:0:0:0:1:2181 > >> > > > >>> 14/01/31 20:04:51 WARN zookeeper.ClientCnxn: Session 0x0 for > >> server > >> > > > >>> null, unexpected error, closing socket connection and > attempting > >> > > > reconnect > >> > > > >>> java.net.SocketException: Address family not supported by > >> protocol > >> > > > >>> family: connect > >> > > > >>> at sun.nio.ch.Net.connect(Native Method) > >> > > > >>> at > >> sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507) > >> > > > >>> at > >> > > > >>> > >> > > > > >> > > > >> > > >> > org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:1= 050) > >> > > > >>> at > >> > > org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:107= 7) > >> > > > >>> 14/01/31 20:04:53 INFO zookeeper.ClientCnxn: Opening socket > >> > > connection > >> > > > >>> to server localhost/127.0.0.1:2181 > >> > > > >>> 14/01/31 20:04:54 WARN zookeeper.ClientCnxn: Session 0x0 for > >> server > >> > > > >>> null, unexpected error, closing socket connection and > attempting > >> > > > reconnect > >> > > > >>> java.net.ConnectException: Connection refused: no further > >> > > information > >> > > > >>> at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) > >> > > > >>> at > >> > > > > >> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:574) > >> > > > >>> at > >> > > > > org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119) > >> > > > >>> 14/01/31 20:04:54 INFO zookeeper.ClientCnxn: Opening socket > >> > > connection > >> > > > >>> to server localhost/0:0:0:0:0:0:0:1:2181 > >> > > > >>> 14/01/31 20:04:54 WARN zookeeper.ClientCnxn: Session 0x0 for > >> server > >> > > > >>> null, unexpected error, closing socket connection and > attempting > >> > > > reconnect > >> > > > >>> java.net.SocketException: Address family not supported by > >> protocol > >> > > > >>> family: connect > >> > > > >>> at sun.nio.ch.Net.connect(Native Method) > >> > > > >>> at > >> sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507) > >> > > > >>> at > >> > > > >>> > >> > > > > >> > > > >> > > >> > org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:1= 050) > >> > > > >>> at > >> > > org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:107= 7) > >> > > > >>> 14/01/31 20:04:56 INFO zookeeper.ClientCnxn: Opening socket > >> > > connection > >> > > > >>> to server localhost/127.0.0.1:2181 > >> > > > >>> 14/01/31 20:04:57 WARN zookeeper.ClientCnxn: Session 0x0 for > >> server > >> > > > >>> null, unexpected error, closing socket connection and > attempting > >> > > > reconnect > >> > > > >>> java.net.ConnectException: Connection refused: no further > >> > > information > >> > > > >>> at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) > >> > > > >>> at > >> > > > > >> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:574) > >> > > > >>> at > >> > > > > org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119) > >> > > > >>> org.apache.hadoop.hbase.ZooKeeperConnectionException: > >> > > > >>> org.apache.hadoop.hbase.ZooKeeperConnectionException: > >> > > > >>> org.apache.zookeeper.KeeperException$ConnectionLossException= : > >> > > > >>> KeeperErrorCode =3D ConnectionLoss for /hbase > >> > > > >>> at > >> > > > >>> > >> > > > > >> > > > >> > > >> > org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementati= on.getZooKeeperWatcher(HConnectionManager.java:1000) > >> > > > >>> at > >> > > > >>> > >> > > > > >> > > > >> > > >> > org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementati= on.setupZookeeperTrackers(HConnectionManager.java:303) > >> > > > >>> at > >> > > > >>> > >> > > > > >> > > > >> > > >> > org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementati= on.(HConnectionManager.java:294) > >> > > > >>> at > >> > > > >>> > >> > > > > >> > > > >> > > >> > org.apache.hadoop.hbase.client.HConnectionManager.getConnection(HConnecti= onManager.java:156) > >> > > > >>> at > >> org.apache.hadoop.hbase.client.HTable.(HTable.java:167) > >> > > > >>> at > org.apache.hadoop.hbase.client.HTable.(HTable.java:145) > >> > > > >>> at pack1.testDB.main(testDB.java:27) > >> > > > >>> Caused by: > org.apache.hadoop.hbase.ZooKeeperConnectionException: > >> > > > >>> org.apache.zookeeper.KeeperException$ConnectionLossException= : > >> > > > >>> KeeperErrorCode =3D ConnectionLoss for /hbase > >> > > > >>> at > >> > > > >>> > >> > > > > >> > > > >> > > >> > org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.(ZooKeeperWatche= r.java:147) > >> > > > >>> at > >> > > > >>> > >> > > > > >> > > > >> > > >> > org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementati= on.getZooKeeperWatcher(HConnectionManager.java:998) > >> > > > >>> ... 6 more > >> > > > >>> Caused by: > >> > > > org.apache.zookeeper.KeeperException$ConnectionLossException: > >> > > > >>> KeeperErrorCode =3D ConnectionLoss for /hbase > >> > > > >>> at > >> > > org.apache.zookeeper.KeeperException.create(KeeperException.java:9= 0) > >> > > > >>> at > >> > > > > org.apache.zookeeper.KeeperException.create(KeeperException.java:42) > >> > > > >>> at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:637) > >> > > > >>> at > >> > > > >>> > >> > > > > >> > > > >> > > >> > org.apache.hadoop.hbase.zookeeper.ZKUtil.createAndFailSilent(ZKUtil.java:= 902) > >> > > > >>> at > >> > > > >>> > >> > > > > >> > > > >> > > >> > org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.(ZooKeeperWatche= r.java:133) > >> > > > >>> ... 7 more > >> > > > >>> > >> > > > >>> > >> > > > >>> > >> > > > >>> > >> > > > >>> > >> > > > >>> On Fri, Jan 31, 2014 at 7:47 PM, Sukumar Maddineni < > >> > > > >>> smaddineni@salesforce.com> wrote: > >> > > > >>> > >> > > > >>>> If you didn't then hbase by default starts zookeeper > >> internally. > >> > > > Please > >> > > > >>>> check the *Zookeeper Quorum* value in *attributes* section = at > >> > > webpage > >> > > > " > >> > > > >>>> http://192.168.1.42:60010/master-status" . Use that value i= n > >> your > >> > > > code. > >> > > > >>>> > >> > > > >>>> PFA > >> > > > >>>> > >> > > > >>>> > >> > > > >>>> Thanks > >> > > > >>>> Sukumar > >> > > > >>>> > >> > > > >>>> > >> > > > >>>> On Fri, Jan 31, 2014 at 5:54 PM, jeevi tesh < > >> > jeevitesh.ms@gmail.com > >> > > > >wrote: > >> > > > >>>> > >> > > > >>>>> I have not even installed zookeeper is it mandatory.. No > >> > > installation > >> > > > >>>>> documents talk about installing the same.. > >> > > > >>>>> Any how i'll install and try.. > >> > > > >>>>> Thanks for your efforts to help me out... > >> > > > >>>>> > >> > > > >>>>> > >> > > > >>>>> On Fri, Jan 31, 2014 at 5:14 PM, ramkrishna vasudevan < > >> > > > >>>>> ramkrishna.s.vasudevan@gmail.com> wrote: > >> > > > >>>>> > >> > > > >>>>> > Is your zookeeper started? I have not tried this in > windows > >> > till > >> > > > >>>>> now. > >> > > > >>>>> > > >> > > > >>>>> > > >> > > > >>>>> > On Fri, Jan 31, 2014 at 5:04 PM, jeevi tesh < > >> > > > jeevitesh.ms@gmail.com> > >> > > > >>>>> > wrote: > >> > > > >>>>> > > >> > > > >>>>> > > as you said I have added in my client code > >> > > > >>>>> > > like > >> > > > >>>>> > > config.set("hbase.master", "192.168.1.42:60010"); > >> > > > >>>>> > > config.set("hbase.zookeeper.quorum.", "localhost"); > >> > > > >>>>> > > Please correct me if I'm wrong.. Still same error > persists > >> > > > >>>>> > > Now even I changed my installation to > >> hbase-0.96.1.1-hadoop2 > >> > > > >>>>> > > Thanks > >> > > > >>>>> > > > >> > > > >>>>> > > > >> > > > >>>>> > > > >> > > > >>>>> > > On Fri, Jan 31, 2014 at 4:53 PM, ramkrishna vasudevan = < > >> > > > >>>>> > > ramkrishna.s.vasudevan@gmail.com> wrote: > >> > > > >>>>> > > > >> > > > >>>>> > > > The hbase-site.xml is available on your client also? > >> And > >> > if > >> > > > not > >> > > > >>>>> you > >> > > > >>>>> > need > >> > > > >>>>> > > > to add this configuration in your client code > >> explicitly. > >> > > > >>>>> > > > > >> > > > >>>>> > > > > >> > > > >>>>> > > > On Fri, Jan 31, 2014 at 4:21 PM, jeevi tesh < > >> > > > >>>>> jeevitesh.ms@gmail.com> > >> > > > >>>>> > > > wrote: > >> > > > >>>>> > > > > >> > > > >>>>> > > > > Not able to understand what you referring can plea= se > >> > > explain > >> > > > >>>>> bit > >> > > > >>>>> > > more... > >> > > > >>>>> > > > > Are asking me to add windows client machine ip > >> address to > >> > > > >>>>> quorum > >> > > > >>>>> > > > > > >> > > > >>>>> > > > > > >> > > > >>>>> > > > > On Fri, Jan 31, 2014 at 3:50 PM, ramkrishna > vasudevan > >> < > >> > > > >>>>> > > > > ramkrishna.s.vasudevan@gmail.com> wrote: > >> > > > >>>>> > > > > > >> > > > >>>>> > > > > > Your client side also you should have this. Are > you > >> > > using > >> > > > >>>>> the same > >> > > > >>>>> > > > > > machine/location for client also? > >> > > > >>>>> > > > > > > >> > > > >>>>> > > > > > > >> > > > >>>>> > > > > > On Fri, Jan 31, 2014 at 3:38 PM, jeevi tesh < > >> > > > >>>>> > jeevitesh.ms@gmail.com> > >> > > > >>>>> > > > > > wrote: > >> > > > >>>>> > > > > > > >> > > > >>>>> > > > > > > Hi, > >> > > > >>>>> > > > > > > Thanks for taking initiative to help me.. > >> > > > >>>>> > > > > > > Note : my set up is single node cluster, so > >> > > > >>>>> > > > > > > I added a entry in hbase-site.xml > >> > > > >>>>> > > > > > > like > >> > > > >>>>> > > > > > > > >> > > > >>>>> > > > > > > hbase.zookeeper.quorum > >> > > > >>>>> > > > > > > localhost > >> > > > >>>>> > > > > > > > >> > > > >>>>> > > > > > > But still almost same error persists > >> > > > >>>>> > > > > > > and my /etc/hosts > >> > > > >>>>> > > > > > > looks like > >> > > > >>>>> > > > > > > 127.0.0.1 > localhost.localdomain.com > >> > > > >>>>> > > localhost > >> > > > >>>>> > > > > > > 127.0.0.1 database.companyname.co= m > >> > > > >>>>> database > >> > > > >>>>> > > > > > > If you have noted any issue in using > >> > > hbase-0.96.0-hadoop2 > >> > > > >>>>> please > >> > > > >>>>> > > let > >> > > > >>>>> > > > me > >> > > > >>>>> > > > > > > know it will be very useful > >> > > > >>>>> > > > > > > thanks > >> > > > >>>>> > > > > > > > >> > > > >>>>> > > > > > > > >> > > > >>>>> > > > > > > > >> > > > >>>>> > > > > > > On Fri, Jan 31, 2014 at 2:36 PM, Ted Yu < > >> > > > >>>>> yuzhihong@gmail.com> > >> > > > >>>>> > > wrote: > >> > > > >>>>> > > > > > > > >> > > > >>>>> > > > > > > > In the config, you should set zookeeper quor= um > >> > > > >>>>> > > > > > > > > >> > > > >>>>> > > > > > > > BTW please use 0.96.1.1-hadoop2 release. > >> > > > >>>>> > > > > > > > > >> > > > >>>>> > > > > > > > Cheers > >> > > > >>>>> > > > > > > > > >> > > > >>>>> > > > > > > > On Jan 30, 2014, at 11:51 PM, jeevi tesh < > >> > > > >>>>> > jeevitesh.ms@gmail.com > >> > > > >>>>> > > > > >> > > > >>>>> > > > > > wrote: > >> > > > >>>>> > > > > > > > > >> > > > >>>>> > > > > > > > > Hi all, > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > I'm writing simple java program to connect > to > >> > > HBase. > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > Versions of software used > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > Hbase 0.96.0-hadoop2 > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > Hadoop:hadoop-2.2.0. > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > I'm trying to connect from my windows 7 (3= 2 > >> > > > >>>>> bit)machine to > >> > > > >>>>> > > oracle > >> > > > >>>>> > > > > > linux > >> > > > >>>>> > > > > > > > > machine (Details :VM, 64 bit).Note I have > not > >> > > > installed > >> > > > >>>>> > > > ZooKeeper. > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > Any suggestion or comments will be of grea= t > >> help > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > Thanks > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > Here is the script... > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > *package* pack1; > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > *import* java.io.IOException; > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > *import* > org.apache.hadoop.conf.Configuration; > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > *import* > >> > > org.apache.hadoop.hbase.HBaseConfiguration; > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > *import* > >> org.apache.hadoop.hbase.client.HTable; > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > *import* org.apache.hadoop.hbase.client.Pu= t; > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > *import* org.apache.hadoop.hbase.util.Byte= s; > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > *public* *class* testDB { > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > /** > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > * *@param* args > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > */ > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > *public* *static* *void* main(String[= ] > >> > args) { > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > *try* { > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > System.*out*.println("1 Before > >> HBASE > >> > > > >>>>> > > COnfiguration"); > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > Configuration config =3D > >> > > > >>>>> > > HBaseConfiguration.*create*(); > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > config.clear(); > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > System.*out*.println("2 Before > >> HBASE > >> > > > >>>>> > > COnfiguration"); > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > config.set("hbase.master", " > >> > > > >>>>> 192.168.1.42:60010"); > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > System.*out*.println("HBase is > >> > > running!"); > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > HTable table; > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > table =3D *new* > >> > HTable(config, > >> > > > >>>>> > "mytable"); > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > System.*out*.println("Table > mytable > >> > > > >>>>> obtained "); > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > Put put =3D *new* > >> > > > >>>>> Put(Bytes.*toBytes*("row1")); > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > >> > put.add(Bytes.*toBytes*("colfam1"),Bytes.*toBytes*("qual1" > >> > > > >>>>> > > > > > > > > ),Bytes.*toBytes*("val1")); > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > >> > put.add(Bytes.*toBytes*("colfam1"),Bytes.*toBytes*("qual2" > >> > > > >>>>> > > > > > > > > ),Bytes.*toBytes*("val2")); > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > table.put(put); > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > } *catch* (IOException e) { > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > e.printStackTrace()= ; > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > } > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > } > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > } > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > Error message > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 1 Before HBASE COnfiguration > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 2 Before HBASE COnfiguration > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > HBase is running! > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 14/01/31 13:14:55 INFO zookeeper.ZooKeeper= : > >> > Client > >> > > > >>>>> > > > > > > > > environment:zookeeper.version=3D3.3.2-1031= 432, > >> > built > >> > > on > >> > > > >>>>> > > 11/05/2010 > >> > > > >>>>> > > > > > 05:32 > >> > > > >>>>> > > > > > > > GMT > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 14/01/31 13:14:55 INFO zookeeper.ZooKeeper= : > >> > Client > >> > > > >>>>> > environment: > >> > > > >>>>> > > > > > > host.name > >> > > > >>>>> > > > > > > > > =3DDELL-75.unilog > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 14/01/31 13:14:55 INFO zookeeper.ZooKeeper= : > >> > Client > >> > > > >>>>> > > > > > > > > environment:java.version=3D1.6.0_16 > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 14/01/31 13:14:55 INFO zookeeper.ZooKeeper= : > >> > Client > >> > > > >>>>> > > > > > > > > environment:java.vendor=3DSun Microsystems > Inc. > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 14/01/31 13:14:55 INFO zookeeper.ZooKeeper= : > >> > Client > >> > > > >>>>> > > > > > > > > environment:java.home=3DC:\Program > >> > > > >>>>> Files\Java\jdk1.6.0_16\jre > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 14/01/31 13:14:55 INFO zookeeper.ZooKeeper= : > >> > Client > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > >> > > > >>>>> > > > > > > > >> > > > >>>>> > > > > > > >> > > > >>>>> > > > > > >> > > > >>>>> > > > > >> > > > >>>>> > > > >> > > > >>>>> > > >> > > > >>>>> > >> > > > > >> > > > >> > > >> > environment:java.class.path=3DE:\jeevi\XRFWorkSpace200\testdbcon\bin;E:\j= eevi\XRF100\WebContent\WEB-INF\lib\apache-logging-log4j.jar;E:\jeevi\XRF100= \WebContent\WEB-INF\lib\asm-3.1.jar;E:\jeevi\XRF100\WebContent\WEB-INF\lib\= commons-logging-1.1.3.jar;E:\jeevi\XRF100\WebContent\WEB-INF\lib\hadoop-cor= e-0.19.0.jar;E:\jeevi\XRF100\WebContent\WEB-INF\lib\hbase-0.90.2.jar;E:\jee= vi\XRF100\WebContent\WEB-INF\lib\zookeeper-3.3.2.jar > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 14/01/31 13:14:55 INFO zookeeper.ZooKeeper= : > >> > Client > >> > > > >>>>> > > > > > > > > environment:java.library.path=3DC:\Program > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > >> > > > >>>>> > > > > > > > >> > > > >>>>> > > > > > > >> > > > >>>>> > > > > > >> > > > >>>>> > > > > >> > > > >>>>> > > > >> > > > >>>>> > > >> > > > >>>>> > >> > > > > >> > > > >> > > >> > Files\Java\jdk1.6.0_16\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;= C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windo= ws\System32\WindowsPowerShell\v1.0\;C:\Program > >> > > > >>>>> > > > > > > > > Files\Common > Files\Acronis\SnapAPI\;C:\Program > >> > > > >>>>> > > > > > > > > > >> > > Files\Java\jdk1.6.0_16\bin;C:\apache-maven-3.1.1\bin > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 14/01/31 13:14:55 INFO zookeeper.ZooKeeper= : > >> > Client > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> environment:java.io.tmpdir=3DC:\Users\jems\AppData\Local\T= emp\ > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 14/01/31 13:14:55 INFO zookeeper.ZooKeeper= : > >> > Client > >> > > > >>>>> > > > > > > > > environment:java.compiler=3D > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 14/01/31 13:14:55 INFO zookeeper.ZooKeeper= : > >> > Client > >> > > > >>>>> > environment: > >> > > > >>>>> > > > > > os.name > >> > > > >>>>> > > > > > > > =3DWindows > >> > > > >>>>> > > > > > > > > 7 > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 14/01/31 13:14:55 INFO zookeeper.ZooKeeper= : > >> > Client > >> > > > >>>>> > > > > > > > environment:os.arch=3Dx86 > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 14/01/31 13:14:55 INFO zookeeper.ZooKeeper= : > >> > Client > >> > > > >>>>> > > > > > > > > environment:os.version=3D6.1 > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 14/01/31 13:14:55 INFO zookeeper.ZooKeeper= : > >> > Client > >> > > > >>>>> > environment: > >> > > > >>>>> > > > > > > user.name > >> > > > >>>>> > > > > > > > > =3Djems > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 14/01/31 13:14:55 INFO zookeeper.ZooKeeper= : > >> > Client > >> > > > >>>>> > > > > > > > > environment:user.home=3DC:\Users\jems > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 14/01/31 13:14:55 INFO zookeeper.ZooKeeper= : > >> > Client > >> > > > >>>>> > > > > > > > > > >> > > > environment:user.dir=3DE:\jeevi\XRFWorkSpace200\testdbcon > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 14/01/31 13:14:55 INFO zookeeper.ZooKeeper= : > >> > > > Initiating > >> > > > >>>>> client > >> > > > >>>>> > > > > > > connection, > >> > > > >>>>> > > > > > > > > connectString=3Dlocalhost:2181 > >> > sessionTimeout=3D180000 > >> > > > >>>>> > > > > > watcher=3Dhconnection > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 14/01/31 13:14:55 INFO zookeeper.ClientCnx= n: > >> > > Opening > >> > > > >>>>> socket > >> > > > >>>>> > > > > > connection > >> > > > >>>>> > > > > > > to > >> > > > >>>>> > > > > > > > > server localhost/127.0.0.1:2181 > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 14/01/31 13:14:56 WARN zookeeper.ClientCnx= n: > >> > > Session > >> > > > >>>>> 0x0 for > >> > > > >>>>> > > > server > >> > > > >>>>> > > > > > > null, > >> > > > >>>>> > > > > > > > > unexpected error, closing socket connectio= n > >> and > >> > > > >>>>> attempting > >> > > > >>>>> > > > > reconnect > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > *java.net.ConnectException*: Connection > >> refused: > >> > no > >> > > > >>>>> further > >> > > > >>>>> > > > > > information > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > > >>>>> sun.nio.ch.SocketChannelImpl.checkConnect(*Native > >> > > > >>>>> > > > Method*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > sun.nio.ch.SocketChannelImpl.finishConnect( > >> > > > >>>>> > > > > > > > > *SocketChannelImpl.java:574*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > > org.apache.zookeeper.ClientCnxn$SendThread.run( > >> > > > >>>>> > > > > > > > > *ClientCnxn.java:1119*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 14/01/31 13:14:56 INFO zookeeper.ClientCnx= n: > >> > > Opening > >> > > > >>>>> socket > >> > > > >>>>> > > > > > connection > >> > > > >>>>> > > > > > > to > >> > > > >>>>> > > > > > > > > server localhost/0:0:0:0:0:0:0:1:2181 > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 14/01/31 13:14:56 WARN zookeeper.ClientCnx= n: > >> > > Session > >> > > > >>>>> 0x0 for > >> > > > >>>>> > > > server > >> > > > >>>>> > > > > > > null, > >> > > > >>>>> > > > > > > > > unexpected error, closing socket connectio= n > >> and > >> > > > >>>>> attempting > >> > > > >>>>> > > > > reconnect > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > *java.net.SocketException*: Address family > not > >> > > > >>>>> supported by > >> > > > >>>>> > > > > protocol > >> > > > >>>>> > > > > > > > > family: connect > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at sun.nio.ch.Net.connect(*Native > >> Method*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > > >>>>> > > > > > > > > >> > > > >>>>> > > > >> > > > sun.nio.ch.SocketChannelImpl.connect(*SocketChannelImpl.java:507= *) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > > >>>>> > > org.apache.zookeeper.ClientCnxn$SendThread.startConnec= t( > >> > > > >>>>> > > > > > > > > *ClientCnxn.java:1050*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > > org.apache.zookeeper.ClientCnxn$SendThread.run( > >> > > > >>>>> > > > > > > > > *ClientCnxn.java:1077*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 14/01/31 13:14:58 INFO zookeeper.ClientCnx= n: > >> > > Opening > >> > > > >>>>> socket > >> > > > >>>>> > > > > > connection > >> > > > >>>>> > > > > > > to > >> > > > >>>>> > > > > > > > > server localhost/127.0.0.1:2181 > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 14/01/31 13:14:59 WARN zookeeper.ClientCnx= n: > >> > > Session > >> > > > >>>>> 0x0 for > >> > > > >>>>> > > > server > >> > > > >>>>> > > > > > > null, > >> > > > >>>>> > > > > > > > > unexpected error, closing socket connectio= n > >> and > >> > > > >>>>> attempting > >> > > > >>>>> > > > > reconnect > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > *java.net.ConnectException*: Connection > >> refused: > >> > no > >> > > > >>>>> further > >> > > > >>>>> > > > > > information > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > > >>>>> sun.nio.ch.SocketChannelImpl.checkConnect(*Native > >> > > > >>>>> > > > Method*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > sun.nio.ch.SocketChannelImpl.finishConnect( > >> > > > >>>>> > > > > > > > > *SocketChannelImpl.java:574*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > > org.apache.zookeeper.ClientCnxn$SendThread.run( > >> > > > >>>>> > > > > > > > > *ClientCnxn.java:1119*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 14/01/31 13:14:59 INFO zookeeper.ClientCnx= n: > >> > > Opening > >> > > > >>>>> socket > >> > > > >>>>> > > > > > connection > >> > > > >>>>> > > > > > > to > >> > > > >>>>> > > > > > > > > server localhost/0:0:0:0:0:0:0:1:2181 > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 14/01/31 13:14:59 WARN zookeeper.ClientCnx= n: > >> > > Session > >> > > > >>>>> 0x0 for > >> > > > >>>>> > > > server > >> > > > >>>>> > > > > > > null, > >> > > > >>>>> > > > > > > > > unexpected error, closing socket connectio= n > >> and > >> > > > >>>>> attempting > >> > > > >>>>> > > > > reconnect > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > *java.net.SocketException*: Address family > not > >> > > > >>>>> supported by > >> > > > >>>>> > > > > protocol > >> > > > >>>>> > > > > > > > > family: connect > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at sun.nio.ch.Net.connect(*Native > >> Method*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > > >>>>> > > > > > > > > >> > > > >>>>> > > > >> > > > sun.nio.ch.SocketChannelImpl.connect(*SocketChannelImpl.java:507= *) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > > >>>>> > > org.apache.zookeeper.ClientCnxn$SendThread.startConnec= t( > >> > > > >>>>> > > > > > > > > *ClientCnxn.java:1050*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > > org.apache.zookeeper.ClientCnxn$SendThread.run( > >> > > > >>>>> > > > > > > > > *ClientCnxn.java:1077*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 14/01/31 13:15:00 INFO zookeeper.ClientCnx= n: > >> > > Opening > >> > > > >>>>> socket > >> > > > >>>>> > > > > > connection > >> > > > >>>>> > > > > > > to > >> > > > >>>>> > > > > > > > > server localhost/127.0.0.1:2181 > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 14/01/31 13:15:01 WARN zookeeper.ClientCnx= n: > >> > > Session > >> > > > >>>>> 0x0 for > >> > > > >>>>> > > > server > >> > > > >>>>> > > > > > > null, > >> > > > >>>>> > > > > > > > > unexpected error, closing socket connectio= n > >> and > >> > > > >>>>> attempting > >> > > > >>>>> > > > > reconnect > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > *java.net.ConnectException*: Connection > >> refused: > >> > no > >> > > > >>>>> further > >> > > > >>>>> > > > > > information > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > > >>>>> sun.nio.ch.SocketChannelImpl.checkConnect(*Native > >> > > > >>>>> > > > Method*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > sun.nio.ch.SocketChannelImpl.finishConnect( > >> > > > >>>>> > > > > > > > > *SocketChannelImpl.java:574*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > > org.apache.zookeeper.ClientCnxn$SendThread.run( > >> > > > >>>>> > > > > > > > > *ClientCnxn.java:1119*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 14/01/31 13:15:02 INFO zookeeper.ClientCnx= n: > >> > > Opening > >> > > > >>>>> socket > >> > > > >>>>> > > > > > connection > >> > > > >>>>> > > > > > > to > >> > > > >>>>> > > > > > > > > server localhost/0:0:0:0:0:0:0:1:2181 > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 14/01/31 13:15:02 WARN zookeeper.ClientCnx= n: > >> > > Session > >> > > > >>>>> 0x0 for > >> > > > >>>>> > > > server > >> > > > >>>>> > > > > > > null, > >> > > > >>>>> > > > > > > > > unexpected error, closing socket connectio= n > >> and > >> > > > >>>>> attempting > >> > > > >>>>> > > > > reconnect > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > *java.net.SocketException*: Address family > not > >> > > > >>>>> supported by > >> > > > >>>>> > > > > protocol > >> > > > >>>>> > > > > > > > > family: connect > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at sun.nio.ch.Net.connect(*Native > >> Method*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > > >>>>> > > > > > > > > >> > > > >>>>> > > > >> > > > sun.nio.ch.SocketChannelImpl.connect(*SocketChannelImpl.java:507= *) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > > >>>>> > > org.apache.zookeeper.ClientCnxn$SendThread.startConnec= t( > >> > > > >>>>> > > > > > > > > *ClientCnxn.java:1050*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > > org.apache.zookeeper.ClientCnxn$SendThread.run( > >> > > > >>>>> > > > > > > > > *ClientCnxn.java:1077*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 14/01/31 13:15:03 INFO zookeeper.ClientCnx= n: > >> > > Opening > >> > > > >>>>> socket > >> > > > >>>>> > > > > > connection > >> > > > >>>>> > > > > > > to > >> > > > >>>>> > > > > > > > > server localhost/127.0.0.1:2181 > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 14/01/31 13:15:04 WARN zookeeper.ClientCnx= n: > >> > > Session > >> > > > >>>>> 0x0 for > >> > > > >>>>> > > > server > >> > > > >>>>> > > > > > > null, > >> > > > >>>>> > > > > > > > > unexpected error, closing socket connectio= n > >> and > >> > > > >>>>> attempting > >> > > > >>>>> > > > > reconnect > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > *java.net.ConnectException*: Connection > >> refused: > >> > no > >> > > > >>>>> further > >> > > > >>>>> > > > > > information > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > > >>>>> sun.nio.ch.SocketChannelImpl.checkConnect(*Native > >> > > > >>>>> > > > Method*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > sun.nio.ch.SocketChannelImpl.finishConnect( > >> > > > >>>>> > > > > > > > > *SocketChannelImpl.java:574*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > > org.apache.zookeeper.ClientCnxn$SendThread.run( > >> > > > >>>>> > > > > > > > > *ClientCnxn.java:1119*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 14/01/31 13:15:05 INFO zookeeper.ClientCnx= n: > >> > > Opening > >> > > > >>>>> socket > >> > > > >>>>> > > > > > connection > >> > > > >>>>> > > > > > > to > >> > > > >>>>> > > > > > > > > server localhost/0:0:0:0:0:0:0:1:2181 > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > 14/01/31 13:15:05 WARN zookeeper.ClientCnx= n: > >> > > Session > >> > > > >>>>> 0x0 for > >> > > > >>>>> > > > server > >> > > > >>>>> > > > > > > null, > >> > > > >>>>> > > > > > > > > unexpected error, closing socket connectio= n > >> and > >> > > > >>>>> attempting > >> > > > >>>>> > > > > reconnect > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > *java.net.SocketException*: Address family > not > >> > > > >>>>> supported by > >> > > > >>>>> > > > > protocol > >> > > > >>>>> > > > > > > > > family: connect > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at sun.nio.ch.Net.connect(*Native > >> Method*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > > >>>>> > > > > > > > > >> > > > >>>>> > > > >> > > > sun.nio.ch.SocketChannelImpl.connect(*SocketChannelImpl.java:507= *) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > > >>>>> > > org.apache.zookeeper.ClientCnxn$SendThread.startConnec= t( > >> > > > >>>>> > > > > > > > > *ClientCnxn.java:1050*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > > org.apache.zookeeper.ClientCnxn$SendThread.run( > >> > > > >>>>> > > > > > > > > *ClientCnxn.java:1077*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > > >> > > > *org.apache.hadoop.hbase.ZooKeeperConnectionException*: > >> > > > >>>>> > > > > > > > > > >> > > > *org.apache.hadoop.hbase.ZooKeeperConnectionException*: > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > >> *org.apache.zookeeper.KeeperException$ConnectionLossException*: > >> > > > >>>>> > > > > > > > > KeeperErrorCode =3D ConnectionLoss for /hb= ase > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > >> > > > >>>>> > > > > > > > >> > > > >>>>> > > > > > > >> > > > >>>>> > > > > > >> > > > >>>>> > > > > >> > > > >>>>> > > > >> > > > >>>>> > > >> > > > >>>>> > >> > > > > >> > > > >> > > >> > org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementati= on.getZooKeeperWatcher( > >> > > > >>>>> > > > > > > > > *HConnectionManager.java:1000*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > >> > > > >>>>> > > > > > > > >> > > > >>>>> > > > > > > >> > > > >>>>> > > > > > >> > > > >>>>> > > > > >> > > > >>>>> > > > >> > > > >>>>> > > >> > > > >>>>> > >> > > > > >> > > > >> > > >> > org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementati= on.setupZookeeperTrackers( > >> > > > >>>>> > > > > > > > > *HConnectionManager.java:303*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > >> > > > >>>>> > > > > > > > >> > > > >>>>> > > > > > > >> > > > >>>>> > > > > > >> > > > >>>>> > > > > >> > > > >>>>> > > > >> > > > >>>>> > > >> > > > >>>>> > >> > > > > >> > > > >> > > >> > org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementati= on.( > >> > > > >>>>> > > > > > > > > *HConnectionManager.java:294*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > > >>>>> > > > > > > > >> > > > >>>>> > >> org.apache.hadoop.hbase.client.HConnectionManager.getConnection( > >> > > > >>>>> > > > > > > > > *HConnectionManager.java:156*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > > >>>>> > > > > > > >> > > > >>>>> > >> org.apache.hadoop.hbase.client.HTable.(*HTable.java:167*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > > >>>>> > > > > > > >> > > > >>>>> > >> org.apache.hadoop.hbase.client.HTable.(*HTable.java:145*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at pack1.testDB.main(*testDB.java:27*= ) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > Caused by: > >> > > > >>>>> > > > > *org.apache.hadoop.hbase.ZooKeeperConnectionException*: > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > >> *org.apache.zookeeper.KeeperException$ConnectionLossException*: > >> > > > >>>>> > > > > > > > > KeeperErrorCode =3D ConnectionLoss for /hb= ase > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > > >>>>> > > > > >> org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.( > >> > > > >>>>> > > > > > > > > *ZooKeeperWatcher.java:147*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > >> > > > >>>>> > > > > > > > >> > > > >>>>> > > > > > > >> > > > >>>>> > > > > > >> > > > >>>>> > > > > >> > > > >>>>> > > > >> > > > >>>>> > > >> > > > >>>>> > >> > > > > >> > > > >> > > >> > org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementati= on.getZooKeeperWatcher( > >> > > > >>>>> > > > > > > > > *HConnectionManager.java:998*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > ... 6 more > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > Caused by: > >> > > > >>>>> > > > > > > > > >> > > > >>>>> > >> *org.apache.zookeeper.KeeperException$ConnectionLossException*: > >> > > > >>>>> > > > > > > > > KeeperErrorCode =3D ConnectionLoss for /hb= ase > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > org.apache.zookeeper.KeeperException.create( > >> > > > >>>>> > > > > > > > > *KeeperException.java:90*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > org.apache.zookeeper.KeeperException.create( > >> > > > >>>>> > > > > > > > > *KeeperException.java:42*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > > >>>>> > > > > >> org.apache.zookeeper.ZooKeeper.create(*ZooKeeper.java:637*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > > >>>>> > > > > > >> > > org.apache.hadoop.hbase.zookeeper.ZKUtil.createAndFailSilent( > >> > > > >>>>> > > > > > > > > *ZKUtil.java:902*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > at > >> > > > >>>>> > > > > >> org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.( > >> > > > >>>>> > > > > > > > > *ZooKeeperWatcher.java:133*) > >> > > > >>>>> > > > > > > > > > >> > > > >>>>> > > > > > > > > ... 7 more > >> > > > >>>>> > > > > > > > > >> > > > >>>>> > > > > > > > >> > > > >>>>> > > > > > > >> > > > >>>>> > > > > > >> > > > >>>>> > > > > >> > > > >>>>> > > > >> > > > >>>>> > > >> > > > >>>>> > >> > > > >>>> > >> > > > >>>> > >> > > > >>> > >> > > > >> > >> > > > > > >> > > > > >> > > > >> > > >> > > > > > --047d7b15ae41f8620d04f1558a27--