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 547079563 for ; Tue, 12 Jun 2012 13:18:23 +0000 (UTC) Received: (qmail 94937 invoked by uid 500); 12 Jun 2012 13:18:21 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 94893 invoked by uid 500); 12 Jun 2012 13:18:21 -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 94883 invoked by uid 99); 12 Jun 2012 13:18:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jun 2012 13:18:21 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.160.169] (HELO mail-gh0-f169.google.com) (209.85.160.169) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jun 2012 13:18:15 +0000 Received: by ghrr18 with SMTP id r18so4342396ghr.14 for ; Tue, 12 Jun 2012 06:17:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding:x-gm-message-state; bh=A4BYjjpto/pW7hQo1EobjioqN1etzolK/+LLU7JsVec=; b=Y3UDtPTF3/b4qMK/ne+gLRQCGeJqhlqDZuB0Z/QZGfAMXEhA/hBQl0ZvulaESWqVhD Q8UbTGBkgbONj/dmTK7S9BjAFPcqH75o/YG1g40qb9Fa2pTRwJXmVRaZ8zdIE451qINh 0XusKz/qVAa1B8Ee/7Ym2NrgbTn6VzpHmV3g+AJRI2EAOfQib532g26DtgUrOA6pGdnf Y//VOpRsOwIW4o6PTYPhr9S9GL+fdXqhUO/VDkj9BbUQYPcoIArpM49+jd+T/M8aKRMO lnzgue55JM8R2do4rbyL6wlEsSoLWQNSSOW8PAJQImrzDYpvQIbCl8Db6wgeE+Sb4/4H mhoA== MIME-Version: 1.0 Received: by 10.50.135.37 with SMTP id pp5mr4296119igb.33.1339507073656; Tue, 12 Jun 2012 06:17:53 -0700 (PDT) Received: by 10.64.6.131 with HTTP; Tue, 12 Jun 2012 06:17:53 -0700 (PDT) In-Reply-To: References: Date: Tue, 12 Jun 2012 09:17:53 -0400 Message-ID: Subject: Re: Getting started From: Jean-Marc Spaggiari To: user@hbase.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQlB64dNaLK51FOtA+ZHcV50oX3aAeaehaja1yPP5JWtnHl1W0rcQIFVycGaNH45GbfDFRMv Hi Shashwat, I just figured that my issue already got addressed on this list: http://www.mail-archive.com/user@hbase.apache.org/msg12722.html It seems to be related to IPV6 configuration. So I disabled it. Regarding SSH, it's working passwordless as requested with both localhost and the host name. phenom:~# ssh localhost Linux phenom 3.3.1 #1 SMP Wed Apr 11 17:28:31 EDT 2012 x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Tue Jun 12 09:15:29 2012 from localhost phenom:~# phenom:~# ssh phenom Linux phenom 3.3.1 #1 SMP Wed Apr 11 17:28:31 EDT 2012 x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Tue Jun 12 09:15:36 2012 from localhost And it's not working fine ;) phenom:~/HBase/hbase-0.94.0# ./bin/hbase shell HBase Shell; enter 'help' for list of supported commands. Type "exit" to leave the HBase Shell Version 0.94.0, r1332822, Tue May 1 21:43:54 UTC 2012 hbase(main):001:0> create 'test', 'cf' 0 row(s) in 1.9750 seconds So I think the issue was the IPV6 configuration on Debian... Thanks. I will continue to read all the pages of the documentation. JM 2012/6/12, shashwat shriparv : > Did you configure ssh?? if yes check if you can ssh domainname> > > what is your computer name you can get it using hostname at terminal. it > should give you the name you are specifying the hosts file. > > On Tue, Jun 12, 2012 at 5:57 PM, Jean-Marc Spaggiari < > jean-marc@spaggiari.org> wrote: > >> Hi, >> >> I'm new on HBase and I'm trying to follow the "Quick Start" steps, but >> I'm facing some issues. >> >> I read a bit more of the documentation, and tried to update my hosts >> file but it's still not working. >> >> It seems the server is started, but it's not able to reach himself. >> >> Here is my hostfile: >> >> phenom:~/HBase/hbase-0.94.0# cat /etc/hosts >> 127.0.0.1 localhost >> 192.168.23.1 cube >> 192.168.23.2 phenom >> >> and here are the first lines of my logs: >> >> phenom:~/HBase/hbase-0.94.0# cat logs/hbase-root-master-phenom.log >> mardi 12 juin 2012, 08:02:52 (UTC-0400) Starting master on phenom >> core file size (blocks, -c) 0 >> data seg size (kbytes, -d) unlimited >> scheduling priority (-e) 0 >> file size (blocks, -f) unlimited >> pending signals (-i) 62508 >> max locked memory (kbytes, -l) 64 >> max memory size (kbytes, -m) unlimited >> open files (-n) 1024 >> pipe size (512 bytes, -p) 8 >> POSIX message queues (bytes, -q) 819200 >> real-time priority (-r) 0 >> stack size (kbytes, -s) 8192 >> cpu time (seconds, -t) unlimited >> max user processes (-u) 62508 >> virtual memory (kbytes, -v) unlimited >> file locks (-x) unlimited >> 2012-06-12 08:02:53,112 INFO org.apache.hadoop.hbase.util.VersionInfo: >> HBase 0.94.0 >> 2012-06-12 08:02:53,112 INFO org.apache.hadoop.hbase.util.VersionInfo: >> Subversion https://svn.apache.org/repos/asf/hbase/branches/0.94 -r >> 1332822 >> 2012-06-12 08:02:53,112 INFO org.apache.hadoop.hbase.util.VersionInfo: >> Compiled by jenkins on Tue May 1 21:43:54 UTC 2012 >> 2012-06-12 08:02:53,335 INFO >> org.apache.zookeeper.server.ZooKeeperServer: Server >> environment:zookeeper.version=3D3.4.3-1240972, built on 02/06/2012 10:48 >> GMT >> 2012-06-12 08:02:53,335 INFO >> org.apache.zookeeper.server.ZooKeeperServer: Server >> environment:host.name=3Dphenom >> 2012-06-12 08:02:53,335 INFO >> org.apache.zookeeper.server.ZooKeeperServer: Server >> environment:java.version=3D1.6.0_26 >> 2012-06-12 08:02:53,335 INFO >> org.apache.zookeeper.server.ZooKeeperServer: Server >> environment:java.vendor=3DSun Microsystems Inc. >> 2012-06-12 08:02:53,336 INFO >> org.apache.zookeeper.server.ZooKeeperServer: Server >> environment:java.home=3D/usr/lib/jvm/java-6-sun-1.6.0.26/jre >> 2012-06-12 08:02:53,336 INFO >> org.apache.zookeeper.server.ZooKeeperServer: Server >> >> environment:java.class.path=3D/root/HBase/hbase-0.94.0/bin/../conf:/usr/= lib/jvm/java-6-sun/lib/tools.jar:/root/HBase/hbase-0.94.0/bin/..:/root/HBas= e/hbase-0.94.0/bin/../hbase-0.94.0.jar:/root/HBase/hbase-0.94.0/bin/../hbas= e-0.94.0-tests.jar:/root/HBase/hbase-0.94.0/bin/../lib/activation-1.1.jar:/= root/HBase/hbase-0.94.0/bin/../lib/asm-3.1.jar:/root/HBase/hbase-0.94.0/bin= /../lib/avro-1.5.3.jar:/root/HBase/hbase-0.94.0/bin/../lib/avro-ipc-1.5.3.j= ar:/root/HBase/hbase-0.94.0/bin/../lib/commons-beanutils-1.7.0.jar:/root/HB= ase/hbase-0.94.0/bin/../lib/commons-beanutils-core-1.8.0.jar:/root/HBase/hb= ase-0.94.0/bin/../lib/commons-cli-1.2.jar:/root/HBase/hbase-0.94.0/bin/../l= ib/commons-codec-1.4.jar:/root/HBase/hbase-0.94.0/bin/../lib/commons-collec= tions-3.2.1.jar:/root/HBase/hbase-0.94.0/bin/../lib/commons-configuration-1= .6.jar:/root/HBase/hbase-0.94.0/bin/../lib/commons-digester-1.8.jar:/root/H= Base/hbase-0.94.0/bin/../lib/commons-el-1.0.jar:/root/HBase/hbase-0.94.0/bi= n/../lib/commons-httpclient-3.1.jar:/root/HBase/hbase-0.94.0/bin/../lib/com= mons-io-2.1.jar:/root/HBase/hbase-0.94.0/bin/../lib/commons-lang-2.5.jar:/r= oot/HBase/hbase-0.94.0/bin/../lib/commons-logging-1.1.1.jar:/root/HBase/hba= se-0.94.0/bin/../lib/commons-math-2.1.jar:/root/HBase/hbase-0.94.0/bin/../l= ib/commons-net-1.4.1.jar:/root/HBase/hbase-0.94.0/bin/../lib/core-3.1.1.jar= :/root/HBase/hbase-0.94.0/bin/../lib/guava-r09.jar:/root/HBase/hbase-0.94.0= /bin/../lib/hadoop-core-1.0.2.jar:/root/HBase/hbase-0.94.0/bin/../lib/high-= scale-lib-1.1.1.jar:/root/HBase/hbase-0.94.0/bin/../lib/httpclient-4.1.2.ja= r:/root/HBase/hbase-0.94.0/bin/../lib/httpcore-4.1.3.jar:/root/HBase/hbase-= 0.94.0/bin/../lib/jackson-core-asl-1.5.5.jar:/root/HBase/hbase-0.94.0/bin/.= ./lib/jackson-jaxrs-1.5.5.jar:/root/HBase/hbase-0.94.0/bin/../lib/jackson-m= apper-asl-1.5.5.jar:/root/HBase/hbase-0.94.0/bin/../lib/jackson-xc-1.5.5.ja= r:/root/HBase/hbase-0.94.0/bin/../lib/jamon-runtime-2.3.1.jar:/root/HBase/h= base-0.94.0/bin/../lib/jasper-compiler-5.5.23.jar:/root/HBase/hbase-0.94.0/= bin/../lib/jasper-runtime-5.5.23.jar:/root/HBase/hbase-0.94.0/bin/../lib/ja= xb-api-2.1.jar:/root/HBase/hbase-0.94.0/bin/../lib/jaxb-impl-2.1.12.jar:/ro= ot/HBase/hbase-0.94.0/bin/../lib/jersey-core-1.4.jar:/root/HBase/hbase-0.94= .0/bin/../lib/jersey-json-1.4.jar:/root/HBase/hbase-0.94.0/bin/../lib/jerse= y-server-1.4.jar:/root/HBase/hbase-0.94.0/bin/../lib/jettison-1.1.jar:/root= /HBase/hbase-0.94.0/bin/../lib/jetty-6.1.26.jar:/root/HBase/hbase-0.94.0/bi= n/../lib/jetty-util-6.1.26.jar:/root/HBase/hbase-0.94.0/bin/../lib/jruby-co= mplete-1.6.5.jar:/root/HBase/hbase-0.94.0/bin/../lib/jsp-2.1-6.1.14.jar:/ro= ot/HBase/hbase-0.94.0/bin/../lib/jsp-api-2.1-6.1.14.jar:/root/HBase/hbase-0= .94.0/bin/../lib/libthrift-0.8.0.jar:/root/HBase/hbase-0.94.0/bin/../lib/lo= g4j-1.2.16.jar:/root/HBase/hbase-0.94.0/bin/../lib/netty-3.2.4.Final.jar:/r= oot/HBase/hbase-0.94.0/bin/../lib/protobuf-java-2.4.0a.jar:/root/HBase/hbas= e-0.94.0/bin/../lib/servlet-api-2.5-6.1.14.jar:/root/HBase/hbase-0.94.0/bin= /../lib/slf4j-api-1.5.8.jar:/root/HBase/hbase-0.94.0/bin/../lib/slf4j-log4j= 12-1.5.8.jar:/root/HBase/hbase-0.94.0/bin/../lib/snappy-java-1.0.3.2.jar:/r= oot/HBase/hbase-0.94.0/bin/../lib/stax-api-1.0.1.jar:/root/HBase/hbase-0.94= .0/bin/../lib/velocity-1.7.jar:/root/HBase/hbase-0.94.0/bin/../lib/xmlenc-0= .52.jar:/root/HBase/hbase-0.94.0/bin/../lib/zookeeper-3.4.3.jar: >> 2012-06-12 08:02:53,336 INFO >> org.apache.zookeeper.server.ZooKeeperServer: Server >> >> environment:java.library.path=3D/root/HBase/hbase-0.94.0/bin/../lib/nati= ve/Linux-amd64-64 >> 2012-06-12 08:02:53,336 INFO >> org.apache.zookeeper.server.ZooKeeperServer: Server >> environment:java.io.tmpdir=3D/tmp >> 2012-06-12 08:02:53,336 INFO >> org.apache.zookeeper.server.ZooKeeperServer: Server >> environment:java.compiler=3D >> 2012-06-12 08:02:53,336 INFO >> org.apache.zookeeper.server.ZooKeeperServer: Server >> environment:os.name=3DLinux >> 2012-06-12 08:02:53,336 INFO >> org.apache.zookeeper.server.ZooKeeperServer: Server >> environment:os.arch=3Damd64 >> 2012-06-12 08:02:53,336 INFO >> org.apache.zookeeper.server.ZooKeeperServer: Server >> environment:os.version=3D3.3.1 >> 2012-06-12 08:02:53,336 INFO >> org.apache.zookeeper.server.ZooKeeperServer: Server >> environment:user.name=3Droot >> 2012-06-12 08:02:53,336 INFO >> org.apache.zookeeper.server.ZooKeeperServer: Server >> environment:user.home=3D/root >> 2012-06-12 08:02:53,336 INFO >> org.apache.zookeeper.server.ZooKeeperServer: Server >> environment:user.dir=3D/root/HBase/hbase-0.94.0 >> 2012-06-12 08:02:53,367 INFO >> org.apache.zookeeper.server.ZooKeeperServer: Created server with >> tickTime 2000 minSessionTimeout 4000 maxSessionTimeout 40000 datadir >> /tmp/hbase-root/zookeeper/zookeeper_0/version-2 snapdir >> /tmp/hbase-root/zookeeper/zookeeper_0/version-2 >> 2012-06-12 08:02:53,415 INFO >> org.apache.zookeeper.server.NIOServerCnxnFactory: binding to port >> 0.0.0.0/0.0.0.0:2181 >> 2012-06-12 08:02:53,422 INFO >> org.apache.zookeeper.server.persistence.FileTxnSnapLog: Snapshotting: >> 0x0 to /tmp/hbase-root/zookeeper/zookeeper_0/version-2/snapshot.0 >> 2012-06-12 08:02:53,534 INFO >> org.apache.hadoop.hbase.zookeeper.MiniZooKeeperCluster: server >> localhost:2181 not up java.net.SocketException: Network is unreachable >> 2012-06-12 08:02:53,784 INFO >> org.apache.hadoop.hbase.zookeeper.MiniZooKeeperCluster: server >> localhost:2181 not up java.net.SocketException: Network is unreachable >> >> Then I'm getting the last line repeated many times. >> >> I think I'm closed because everything is running. But there is still >> some communication issues. >> >> Does anyone has any recommandation to fix that? >> >> Thanks, >> >> JM >> > > > > -- > > > =E2=88=9E > Shashwat Shriparv >