hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shashwat shriparv <dwivedishash...@gmail.com>
Subject Re: Getting started
Date Tue, 12 Jun 2012 13:04:04 GMT
Did you configure ssh?? if yes check if you can ssh <you machine ip and
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=3.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=phenom
> 2012-06-12 08:02:53,335 INFO
> org.apache.zookeeper.server.ZooKeeperServer: Server
> environment:java.version=1.6.0_26
> 2012-06-12 08:02:53,335 INFO
> org.apache.zookeeper.server.ZooKeeperServer: Server
> environment:java.vendor=Sun Microsystems Inc.
> 2012-06-12 08:02:53,336 INFO
> org.apache.zookeeper.server.ZooKeeperServer: Server
> environment:java.home=/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=/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/HBase/hbase-0.94.0/bin/../hbase-0.94.0.jar:/root/HBase/hbase-0.94.0/bin/../hbase-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.jar:/root/HBase/hbase-0.94.0/bin/../lib/commons-beanutils-1.7.0.jar:/root/HBase/hbase-0.94.0/bin/../lib/commons-beanutils-core-1.8.0.jar:/root/HBase/hbase-0.94.0/bin/../lib/commons-cli-1.2.jar:/root/HBase/hbase-0.94.0/bin/../lib/commons-codec-1.4.jar:/root/HBase/hbase-0.94.0/bin/../lib/commons-collections-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/HBase/hbase-0.94.0/bin/../lib/commons-el-1.0.jar:/root/HBase/hbase-0.94.0/bin/../lib/commons-httpclient-3.1.jar:/root/HBase/hbase-0.94.0/bin/../lib/commons-io-2.1.jar:/root/HBase/hbase-0.94.0/bin/../lib/commons-lang-2.5.jar:/root/HBase/hbase-0.94.0/bin/../lib/commons-logging-1.1.1.jar:/root/HBase/hbase-0.94.0/bin/../lib/commons-math-2.1.jar:/root/HBase/hbase-0.94.0/bin/../lib/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.jar:/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-mapper-asl-1.5.5.jar:/root/HBase/hbase-0.94.0/bin/../lib/jackson-xc-1.5.5.jar:/root/HBase/hbase-0.94.0/bin/../lib/jamon-runtime-2.3.1.jar:/root/HBase/hbase-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/jaxb-api-2.1.jar:/root/HBase/hbase-0.94.0/bin/../lib/jaxb-impl-2.1.12.jar:/root/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/jersey-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/bin/../lib/jetty-util-6.1.26.jar:/root/HBase/hbase-0.94.0/bin/../lib/jruby-complete-1.6.5.jar:/root/HBase/hbase-0.94.0/bin/../lib/jsp-2.1-6.1.14.jar:/root/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/log4j-1.2.16.jar:/root/HBase/hbase-0.94.0/bin/../lib/netty-3.2.4.Final.jar:/root/HBase/hbase-0.94.0/bin/../lib/protobuf-java-2.4.0a.jar:/root/HBase/hbase-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-log4j12-1.5.8.jar:/root/HBase/hbase-0.94.0/bin/../lib/snappy-java-1.0.3.2.jar:/root/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=/root/HBase/hbase-0.94.0/bin/../lib/native/Linux-amd64-64
> 2012-06-12 08:02:53,336 INFO
> org.apache.zookeeper.server.ZooKeeperServer: Server
> environment:java.io.tmpdir=/tmp
> 2012-06-12 08:02:53,336 INFO
> org.apache.zookeeper.server.ZooKeeperServer: Server
> environment:java.compiler=<NA>
> 2012-06-12 08:02:53,336 INFO
> org.apache.zookeeper.server.ZooKeeperServer: Server
> environment:os.name=Linux
> 2012-06-12 08:02:53,336 INFO
> org.apache.zookeeper.server.ZooKeeperServer: Server
> environment:os.arch=amd64
> 2012-06-12 08:02:53,336 INFO
> org.apache.zookeeper.server.ZooKeeperServer: Server
> environment:os.version=3.3.1
> 2012-06-12 08:02:53,336 INFO
> org.apache.zookeeper.server.ZooKeeperServer: Server
> environment:user.name=root
> 2012-06-12 08:02:53,336 INFO
> org.apache.zookeeper.server.ZooKeeperServer: Server
> environment:user.home=/root
> 2012-06-12 08:02:53,336 INFO
> org.apache.zookeeper.server.ZooKeeperServer: Server
> environment:user.dir=/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
>



-- 


∞
Shashwat Shriparv

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message