hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Menges <dejan.men...@gmail.com>
Subject Re: Problem in host resolving
Date Mon, 28 Nov 2011 13:41:55 GMT
Hi Mohammad,

Looks to me like your hosts file is OK, but HDFS/Namenode is not running
but it's trying to connect to Namenode on port 9000?

Can you list your local java processes with 'jps' here and check your
Namenode/Datanode logs?

Tnx,
Dejan

On Mon, Nov 28, 2011 at 2:36 PM, Mohammad Tariq <dontariq@gmail.com> wrote:

> Could anyone who has used Hbase in pseudo-distributed mode shere
> his/her hosts file???I am getting following error -
> Mon Nov 28 19:03:20 IST 2011 Starting master on ubuntu
> ulimit -n 32768
> 2011-11-28 19:03:21,038 INFO
> org.apache.zookeeper.server.ZooKeeperServer: Server
> environment:zookeeper.version=3.3.2-1031432, built on 11/05/2010 05:32
> GMT
> 2011-11-28 19:03:21,038 INFO
> org.apache.zookeeper.server.ZooKeeperServer: Server
> environment:host.name=solr@ubuntu
> 2011-11-28 19:03:21,038 INFO
> org.apache.zookeeper.server.ZooKeeperServer: Server
> environment:java.version=1.6.0_26
> 2011-11-28 19:03:21,038 INFO
> org.apache.zookeeper.server.ZooKeeperServer: Server
> environment:java.vendor=Sun Microsystems Inc.
> 2011-11-28 19:03:21,038 INFO
> org.apache.zookeeper.server.ZooKeeperServer: Server
> environment:java.home=/usr/lib/jvm/java-6-sun-1.6.0.26/jre
> 2011-11-28 19:03:21,038 INFO
> org.apache.zookeeper.server.ZooKeeperServer: Server
>
> environment:java.class.path=/home/solr/hbase-0.90.4/bin/../conf:/usr/lib/jvm/java-6-sun/lib/tools.jar:/home/solr/hbase-0.90.4/bin/..:/home/solr/hbase-0.90.4/bin/../hbase-0.90.4.jar:/home/solr/hbase-0.90.4/bin/../hbase-0.90.4-tests.jar:/home/solr/hbase-0.90.4/bin/../lib/activation-1.1.jar:/home/solr/hbase-0.90.4/bin/../lib/asm-3.1.jar:/home/solr/hbase-0.90.4/bin/../lib/avro-1.3.3.jar:/home/solr/hbase-0.90.4/bin/../lib/commons-cli-1.2.jar:/home/solr/hbase-0.90.4/bin/../lib/commons-codec-1.4.jar:/home/solr/hbase-0.90.4/bin/../lib/commons-el-1.0.jar:/home/solr/hbase-0.90.4/bin/../lib/commons-httpclient-3.1.jar:/home/solr/hbase-0.90.4/bin/../lib/commons-lang-2.5.jar:/home/solr/hbase-0.90.4/bin/../lib/commons-logging-1.1.1.jar:/home/solr/hbase-0.90.4/bin/../lib/commons-net-1.4.1.jar:/home/solr/hbase-0.90.4/bin/../lib/core-3.1.1.jar:/home/solr/hbase-0.90.4/bin/../lib/guava-r06.jar:/home/solr/hbase-0.90.4/bin/../lib/hadoop-core-0.20-append-r1056497.jar:/home/solr/hbase-0.90.4/bin/../lib/jackson-core-asl-1.5.5.jar:/home/solr/hbase-0.90.4/bin/../lib/jackson-jaxrs-1.5.5.jar:/home/solr/hbase-0.90.4/bin/../lib/jackson-mapper-asl-1.4.2.jar:/home/solr/hbase-0.90.4/bin/../lib/jackson-xc-1.5.5.jar:/home/solr/hbase-0.90.4/bin/../lib/jasper-compiler-5.5.23.jar:/home/solr/hbase-0.90.4/bin/../lib/jasper-runtime-5.5.23.jar:/home/solr/hbase-0.90.4/bin/../lib/jaxb-api-2.1.jar:/home/solr/hbase-0.90.4/bin/../lib/jaxb-impl-2.1.12.jar:/home/solr/hbase-0.90.4/bin/../lib/jersey-core-1.4.jar:/home/solr/hbase-0.90.4/bin/../lib/jersey-json-1.4.jar:/home/solr/hbase-0.90.4/bin/../lib/jersey-server-1.4.jar:/home/solr/hbase-0.90.4/bin/../lib/jettison-1.1.jar:/home/solr/hbase-0.90.4/bin/../lib/jetty-6.1.26.jar:/home/solr/hbase-0.90.4/bin/../lib/jetty-util-6.1.26.jar:/home/solr/hbase-0.90.4/bin/../lib/jruby-complete-1.6.0.jar:/home/solr/hbase-0.90.4/bin/../lib/jsp-2.1-6.1.14.jar:/home/solr/hbase-0.90.4/bin/../lib/jsp-api-2.1-6.1.14.jar:/home/solr/hbase-0.90.4/bin/../lib/jsr311-api-1.1.1.jar:/home/solr/hbase-0.90.4/bin/../lib/log4j-1.2.16.jar:/home/solr/hbase-0.90.4/bin/../lib/protobuf-java-2.3.0.jar:/home/solr/hbase-0.90.4/bin/../lib/servlet-api-2.5-6.1.14.jar:/home/solr/hbase-0.90.4/bin/../lib/slf4j-api-1.5.8.jar:/home/solr/hbase-0.90.4/bin/../lib/slf4j-log4j12-1.5.8.jar:/home/solr/hbase-0.90.4/bin/../lib/stax-api-1.0.1.jar:/home/solr/hbase-0.90.4/bin/../lib/thrift-0.2.0.jar:/home/solr/hbase-0.90.4/bin/../lib/xmlenc-0.52.jar:/home/solr/hbase-0.90.4/bin/../lib/zookeeper-3.3.2.jar
> 2011-11-28 19:03:21,038 INFO
> org.apache.zookeeper.server.ZooKeeperServer: Server
>
> environment:java.library.path=/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/server:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
> 2011-11-28 19:03:21,038 INFO
> org.apache.zookeeper.server.ZooKeeperServer: Server
> environment:java.io.tmpdir=/tmp
> 2011-11-28 19:03:21,038 INFO
> org.apache.zookeeper.server.ZooKeeperServer: Server
> environment:java.compiler=<NA>
> 2011-11-28 19:03:21,038 INFO
> org.apache.zookeeper.server.ZooKeeperServer: Server
> environment:os.name=Linux
> 2011-11-28 19:03:21,038 INFO
> org.apache.zookeeper.server.ZooKeeperServer: Server
> environment:os.arch=amd64
> 2011-11-28 19:03:21,038 INFO
> org.apache.zookeeper.server.ZooKeeperServer: Server
> environment:os.version=3.2.0-1-generic
> 2011-11-28 19:03:21,038 INFO
> org.apache.zookeeper.server.ZooKeeperServer: Server
> environment:user.name=solr
> 2011-11-28 19:03:21,038 INFO
> org.apache.zookeeper.server.ZooKeeperServer: Server
> environment:user.home=/home/solr
> 2011-11-28 19:03:21,039 INFO
> org.apache.zookeeper.server.ZooKeeperServer: Server
> environment:user.dir=/home/solr/hbase-0.90.4
> 2011-11-28 19:03:21,049 INFO
> org.apache.zookeeper.server.ZooKeeperServer: Created server with
> tickTime 2000 minSessionTimeout 4000 maxSessionTimeout 40000 datadir
> /tmp/hbase-solr/zookeeper/zookeeper/version-2 snapdir
> /tmp/hbase-solr/zookeeper/zookeeper/version-2
> 2011-11-28 19:03:21,067 INFO
> org.apache.zookeeper.server.NIOServerCnxn: binding to port
> 0.0.0.0/0.0.0.0:2181
> 2011-11-28 19:03:21,071 INFO
> org.apache.zookeeper.server.persistence.FileTxnSnapLog: Snapshotting:
> 0
> 2011-11-28 19:03:21,121 INFO
> org.apache.zookeeper.server.NIOServerCnxn: Accepted socket connection
> from /192.168.2.106:58263
> 2011-11-28 19:03:21,123 INFO
> org.apache.zookeeper.server.NIOServerCnxn: Processing stat command
> from /192.168.2.106:58263
> 2011-11-28 19:03:21,124 INFO
> org.apache.zookeeper.server.NIOServerCnxn: Stat command output
> 2011-11-28 19:03:21,126 INFO
> org.apache.zookeeper.server.NIOServerCnxn: Closed socket connection
> for client /192.168.2.106:58263 (no session established for client)
> 2011-11-28 19:03:21,126 INFO
> org.apache.hadoop.hbase.zookeeper.MiniZooKeeperCluster: Started MiniZK
> Server on client port: 2181
> 2011-11-28 19:03:21,176 INFO
> org.apache.hadoop.hbase.ipc.HBaseRpcMetrics: Initializing RPC Metrics
> with hostName=HMasterCommandLine$LocalHMaster, port=40697
> 2011-11-28 19:03:21,197 INFO org.apache.hadoop.hbase.security.User:
> Skipping login, not running on secure Hadoop
> 2011-11-28 19:03:21,198 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> Server Responder: starting
> 2011-11-28 19:03:21,198 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> Server listener on 40697: starting
> 2011-11-28 19:03:21,206 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> Server handler 0 on 40697: starting
> 2011-11-28 19:03:21,206 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> Server handler 1 on 40697: starting
> 2011-11-28 19:03:21,206 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> Server handler 2 on 40697: starting
> 2011-11-28 19:03:21,206 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> Server handler 3 on 40697: starting
> 2011-11-28 19:03:21,206 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> Server handler 4 on 40697: starting
> 2011-11-28 19:03:21,206 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> Server handler 5 on 40697: starting
> 2011-11-28 19:03:21,207 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> Server handler 6 on 40697: starting
> 2011-11-28 19:03:21,207 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> Server handler 7 on 40697: starting
> 2011-11-28 19:03:21,207 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> Server handler 8 on 40697: starting
> 2011-11-28 19:03:21,207 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> Server handler 9 on 40697: starting
> 2011-11-28 19:03:21,216 INFO org.apache.zookeeper.ZooKeeper: Client
> environment:zookeeper.version=3.3.2-1031432, built on 11/05/2010 05:32
> GMT
> 2011-11-28 19:03:21,216 INFO org.apache.zookeeper.ZooKeeper: Client
> environment:host.name=solr@ubuntu
> 2011-11-28 19:03:21,216 INFO org.apache.zookeeper.ZooKeeper: Client
> environment:java.version=1.6.0_26
> 2011-11-28 19:03:21,216 INFO org.apache.zookeeper.ZooKeeper: Client
> environment:java.vendor=Sun Microsystems Inc.
> 2011-11-28 19:03:21,216 INFO org.apache.zookeeper.ZooKeeper: Client
> environment:java.home=/usr/lib/jvm/java-6-sun-1.6.0.26/jre
> 2011-11-28 19:03:21,216 INFO org.apache.zookeeper.ZooKeeper: Client
>
> environment:java.class.path=/home/solr/hbase-0.90.4/bin/../conf:/usr/lib/jvm/java-6-sun/lib/tools.jar:/home/solr/hbase-0.90.4/bin/..:/home/solr/hbase-0.90.4/bin/../hbase-0.90.4.jar:/home/solr/hbase-0.90.4/bin/../hbase-0.90.4-tests.jar:/home/solr/hbase-0.90.4/bin/../lib/activation-1.1.jar:/home/solr/hbase-0.90.4/bin/../lib/asm-3.1.jar:/home/solr/hbase-0.90.4/bin/../lib/avro-1.3.3.jar:/home/solr/hbase-0.90.4/bin/../lib/commons-cli-1.2.jar:/home/solr/hbase-0.90.4/bin/../lib/commons-codec-1.4.jar:/home/solr/hbase-0.90.4/bin/../lib/commons-el-1.0.jar:/home/solr/hbase-0.90.4/bin/../lib/commons-httpclient-3.1.jar:/home/solr/hbase-0.90.4/bin/../lib/commons-lang-2.5.jar:/home/solr/hbase-0.90.4/bin/../lib/commons-logging-1.1.1.jar:/home/solr/hbase-0.90.4/bin/../lib/commons-net-1.4.1.jar:/home/solr/hbase-0.90.4/bin/../lib/core-3.1.1.jar:/home/solr/hbase-0.90.4/bin/../lib/guava-r06.jar:/home/solr/hbase-0.90.4/bin/../lib/hadoop-core-0.20-append-r1056497.jar:/home/solr/hbase-0.90.4/bin/../lib/jackson-core-asl-1.5.5.jar:/home/solr/hbase-0.90.4/bin/../lib/jackson-jaxrs-1.5.5.jar:/home/solr/hbase-0.90.4/bin/../lib/jackson-mapper-asl-1.4.2.jar:/home/solr/hbase-0.90.4/bin/../lib/jackson-xc-1.5.5.jar:/home/solr/hbase-0.90.4/bin/../lib/jasper-compiler-5.5.23.jar:/home/solr/hbase-0.90.4/bin/../lib/jasper-runtime-5.5.23.jar:/home/solr/hbase-0.90.4/bin/../lib/jaxb-api-2.1.jar:/home/solr/hbase-0.90.4/bin/../lib/jaxb-impl-2.1.12.jar:/home/solr/hbase-0.90.4/bin/../lib/jersey-core-1.4.jar:/home/solr/hbase-0.90.4/bin/../lib/jersey-json-1.4.jar:/home/solr/hbase-0.90.4/bin/../lib/jersey-server-1.4.jar:/home/solr/hbase-0.90.4/bin/../lib/jettison-1.1.jar:/home/solr/hbase-0.90.4/bin/../lib/jetty-6.1.26.jar:/home/solr/hbase-0.90.4/bin/../lib/jetty-util-6.1.26.jar:/home/solr/hbase-0.90.4/bin/../lib/jruby-complete-1.6.0.jar:/home/solr/hbase-0.90.4/bin/../lib/jsp-2.1-6.1.14.jar:/home/solr/hbase-0.90.4/bin/../lib/jsp-api-2.1-6.1.14.jar:/home/solr/hbase-0.90.4/bin/../lib/jsr311-api-1.1.1.jar:/home/solr/hbase-0.90.4/bin/../lib/log4j-1.2.16.jar:/home/solr/hbase-0.90.4/bin/../lib/protobuf-java-2.3.0.jar:/home/solr/hbase-0.90.4/bin/../lib/servlet-api-2.5-6.1.14.jar:/home/solr/hbase-0.90.4/bin/../lib/slf4j-api-1.5.8.jar:/home/solr/hbase-0.90.4/bin/../lib/slf4j-log4j12-1.5.8.jar:/home/solr/hbase-0.90.4/bin/../lib/stax-api-1.0.1.jar:/home/solr/hbase-0.90.4/bin/../lib/thrift-0.2.0.jar:/home/solr/hbase-0.90.4/bin/../lib/xmlenc-0.52.jar:/home/solr/hbase-0.90.4/bin/../lib/zookeeper-3.3.2.jar
> 2011-11-28 19:03:21,216 INFO org.apache.zookeeper.ZooKeeper: Client
>
> environment:java.library.path=/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/server:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
> 2011-11-28 19:03:21,216 INFO org.apache.zookeeper.ZooKeeper: Client
> environment:java.io.tmpdir=/tmp
> 2011-11-28 19:03:21,216 INFO org.apache.zookeeper.ZooKeeper: Client
> environment:java.compiler=<NA>
> 2011-11-28 19:03:21,216 INFO org.apache.zookeeper.ZooKeeper: Client
> environment:os.name=Linux
> 2011-11-28 19:03:21,216 INFO org.apache.zookeeper.ZooKeeper: Client
> environment:os.arch=amd64
> 2011-11-28 19:03:21,216 INFO org.apache.zookeeper.ZooKeeper: Client
> environment:os.version=3.2.0-1-generic
> 2011-11-28 19:03:21,216 INFO org.apache.zookeeper.ZooKeeper: Client
> environment:user.name=solr
> 2011-11-28 19:03:21,216 INFO org.apache.zookeeper.ZooKeeper: Client
> environment:user.home=/home/solr
> 2011-11-28 19:03:21,216 INFO org.apache.zookeeper.ZooKeeper: Client
> environment:user.dir=/home/solr/hbase-0.90.4
> 2011-11-28 19:03:21,217 INFO org.apache.zookeeper.ZooKeeper:
> Initiating client connection, connectString=localhost:2181
> sessionTimeout=180000 watcher=master:40697
> 2011-11-28 19:03:21,224 INFO org.apache.zookeeper.ClientCnxn: Opening
> socket connection to server localhost/192.168.2.106:2181
> 2011-11-28 19:03:21,224 INFO
> org.apache.zookeeper.server.NIOServerCnxn: Accepted socket connection
> from /192.168.2.106:58264
> 2011-11-28 19:03:21,224 INFO org.apache.zookeeper.ClientCnxn: Socket
> connection established to localhost/192.168.2.106:2181, initiating
> session
> 2011-11-28 19:03:21,228 INFO
> org.apache.zookeeper.server.NIOServerCnxn: Client attempting to
> establish new session at /192.168.2.106:58264
> 2011-11-28 19:03:21,230 INFO
> org.apache.zookeeper.server.persistence.FileTxnLog: Creating new log
> file: log.1
> 2011-11-28 19:03:21,335 INFO
> org.apache.zookeeper.server.NIOServerCnxn: Established session
> 0x133ea613d340000 with negotiated timeout 40000 for client
> /192.168.2.106:58264
> 2011-11-28 19:03:21,335 INFO org.apache.zookeeper.ClientCnxn: Session
> establishment complete on server localhost/192.168.2.106:2181,
> sessionid = 0x133ea613d340000, negotiated timeout = 40000
> 2011-11-28 19:03:21,473 INFO org.apache.hadoop.metrics.jvm.JvmMetrics:
> Initializing JVM Metrics with processName=Master,
> sessionId=solr@ubuntu:40697
> 2011-11-28 19:03:21,483 INFO org.apache.hadoop.hbase.metrics:
> MetricsString added: revision
> 2011-11-28 19:03:21,483 INFO org.apache.hadoop.hbase.metrics:
> MetricsString added: hdfsUser
> 2011-11-28 19:03:21,483 INFO org.apache.hadoop.hbase.metrics:
> MetricsString added: hdfsDate
> 2011-11-28 19:03:21,483 INFO org.apache.hadoop.hbase.metrics:
> MetricsString added: hdfsUrl
> 2011-11-28 19:03:21,483 INFO org.apache.hadoop.hbase.metrics:
> MetricsString added: date
> 2011-11-28 19:03:21,483 INFO org.apache.hadoop.hbase.metrics:
> MetricsString added: hdfsRevision
> 2011-11-28 19:03:21,483 INFO org.apache.hadoop.hbase.metrics:
> MetricsString added: user
> 2011-11-28 19:03:21,483 INFO org.apache.hadoop.hbase.metrics:
> MetricsString added: hdfsVersion
> 2011-11-28 19:03:21,483 INFO org.apache.hadoop.hbase.metrics:
> MetricsString added: url
> 2011-11-28 19:03:21,483 INFO org.apache.hadoop.hbase.metrics:
> MetricsString added: version
> 2011-11-28 19:03:21,483 INFO org.apache.hadoop.hbase.metrics: new MBeanInfo
> 2011-11-28 19:03:21,484 INFO org.apache.hadoop.hbase.metrics: new MBeanInfo
> 2011-11-28 19:03:21,484 INFO
> org.apache.hadoop.hbase.master.metrics.MasterMetrics: Initialized
> 2011-11-28 19:03:21,504 INFO org.apache.zookeeper.ZooKeeper:
> Initiating client connection, connectString=localhost:2181
> sessionTimeout=180000 watcher=hconnection
> 2011-11-28 19:03:21,504 INFO org.apache.zookeeper.ClientCnxn: Opening
> socket connection to server localhost/192.168.2.106:2181
> 2011-11-28 19:03:21,505 INFO org.apache.zookeeper.ClientCnxn: Socket
> connection established to localhost/192.168.2.106:2181, initiating
> session
> 2011-11-28 19:03:21,505 INFO
> org.apache.zookeeper.server.NIOServerCnxn: Accepted socket connection
> from /192.168.2.106:58265
> 2011-11-28 19:03:21,505 INFO
> org.apache.zookeeper.server.NIOServerCnxn: Client attempting to
> establish new session at /192.168.2.106:58265
> 2011-11-28 19:03:21,539 INFO
> org.apache.zookeeper.server.NIOServerCnxn: Established session
> 0x133ea613d340001 with negotiated timeout 40000 for client
> /192.168.2.106:58265
> 2011-11-28 19:03:21,539 INFO org.apache.zookeeper.ClientCnxn: Session
> establishment complete on server localhost/192.168.2.106:2181,
> sessionid = 0x133ea613d340001, negotiated timeout = 40000
> 2011-11-28 19:03:21,557 INFO
> org.apache.hadoop.hbase.ipc.HBaseRpcMetrics: Initializing RPC Metrics
> with hostName=HRegionServer, port=50557
> 2011-11-28 19:03:21,574 INFO org.apache.hadoop.hbase.security.User:
> Skipping login, not running on secure Hadoop
> 2011-11-28 19:03:21,575 INFO org.apache.zookeeper.ZooKeeper:
> Initiating client connection, connectString=localhost:2181
> sessionTimeout=180000 watcher=regionserver:50557
> 2011-11-28 19:03:21,576 INFO org.apache.zookeeper.ClientCnxn: Opening
> socket connection to server localhost/192.168.2.106:2181
> 2011-11-28 19:03:21,576 INFO org.apache.zookeeper.ClientCnxn: Socket
> connection established to localhost/192.168.2.106:2181, initiating
> session
> 2011-11-28 19:03:21,577 INFO
> org.apache.zookeeper.server.NIOServerCnxn: Accepted socket connection
> from /192.168.2.106:58266
> 2011-11-28 19:03:21,577 INFO
> org.apache.zookeeper.server.NIOServerCnxn: Client attempting to
> establish new session at /192.168.2.106:58266
> 2011-11-28 19:03:21,603 INFO
> org.apache.hadoop.hbase.master.ActiveMasterManager:
> Master=solr@ubuntu:40697
> 2011-11-28 19:03:21,631 INFO
> org.apache.zookeeper.server.NIOServerCnxn: Established session
> 0x133ea613d340002 with negotiated timeout 40000 for client
> /192.168.2.106:58266
> 2011-11-28 19:03:21,631 INFO org.apache.zookeeper.ClientCnxn: Session
> establishment complete on server localhost/192.168.2.106:2181,
> sessionid = 0x133ea613d340002, negotiated timeout = 40000
> 2011-11-28 19:03:21,793 FATAL org.apache.hadoop.hbase.master.HMaster:
> Unhandled exception. Starting shutdown.
> java.io.IOException: Call to localhost/192.168.2.106:9000 failed on
> local exception: java.io.EOFException
>        at org.apache.hadoop.ipc.Client.wrapException(Client.java:775)
>        at org.apache.hadoop.ipc.Client.call(Client.java:743)
>        at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:220)
>        at $Proxy6.getProtocolVersion(Unknown Source)
>        at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:359)
>        at
> org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:113)
>        at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:215)
>        at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:177)
>        at
> org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:82)
>        at
> org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1378)
>        at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66)
>        at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1390)
>        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:196)
>        at org.apache.hadoop.fs.Path.getFileSystem(Path.java:175)
>        at org.apache.hadoop.hbase.util.FSUtils.getRootDir(FSUtils.java:364)
>        at
> org.apache.hadoop.hbase.master.MasterFileSystem.<init>(MasterFileSystem.java:81)
>        at
> org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:346)
>        at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:282)
>        at
> org.apache.hadoop.hbase.master.HMasterCommandLine$LocalHMaster.run(HMasterCommandLine.java:193)
>        at java.lang.Thread.run(Thread.java:662)
> Caused by: java.io.EOFException
>        at java.io.DataInputStream.readInt(DataInputStream.java:375)
>        at
> org.apache.hadoop.ipc.Client$Connection.receiveResponse(Client.java:501)
>        at org.apache.hadoop.ipc.Client$Connection.run(Client.java:446)
> 2011-11-28 19:03:21,795 INFO org.apache.hadoop.hbase.master.HMaster:
> Aborting
> 2011-11-28 19:03:21,795 DEBUG org.apache.hadoop.hbase.master.HMaster:
> Stopping service threads
> 2011-11-28 19:03:21,795 INFO org.apache.hadoop.ipc.HBaseServer:
> Stopping server on 40697
> 2011-11-28 19:03:21,795 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> Server handler 0 on 40697: exiting
> 2011-11-28 19:03:21,795 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> Server handler 3 on 40697: exiting
> 2011-11-28 19:03:21,795 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> Server handler 2 on 40697: exiting
> 2011-11-28 19:03:21,795 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> Server handler 7 on 40697: exiting
> 2011-11-28 19:03:21,795 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> Server handler 6 on 40697: exiting
> 2011-11-28 19:03:21,795 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> Server handler 8 on 40697: exiting
> 2011-11-28 19:03:21,795 INFO org.apache.hadoop.ipc.HBaseServer:
> Stopping IPC Server listener on 40697
> 2011-11-28 19:03:21,795 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> Server handler 1 on 40697: exiting
> 2011-11-28 19:03:21,795 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> Server handler 9 on 40697: exiting
> 2011-11-28 19:03:21,795 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> Server handler 5 on 40697: exiting
> 2011-11-28 19:03:21,795 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> Server handler 4 on 40697: exiting
> 2011-11-28 19:03:21,795 INFO org.apache.hadoop.ipc.HBaseServer:
> Stopping IPC Server Responder
> 2011-11-28 19:03:21,826 INFO
> org.apache.zookeeper.server.PrepRequestProcessor: Processed session
> termination for sessionid: 0x133ea613d340000
> 2011-11-28 19:03:21,855 INFO org.apache.zookeeper.ZooKeeper: Session:
> 0x133ea613d340000 closed
> 2011-11-28 19:03:21,856 INFO org.apache.zookeeper.ClientCnxn:
> EventThread shut down
> 2011-11-28 19:03:21,856 INFO org.apache.hadoop.hbase.master.HMaster:
> HMaster main thread exiting
> 2011-11-28 19:03:21,856 INFO
> org.apache.zookeeper.server.NIOServerCnxn: Closed socket connection
> for client /192.168.2.106:58264 which had sessionid 0x133ea613d340000
> 2011-11-28 19:03:21,857 INFO
> org.apache.zookeeper.server.NIOServerCnxn: Closed socket connection
> for client /192.168.2.106:58265 which had sessionid 0x133ea613d340001
> 2011-11-28 19:03:21,858 INFO org.apache.zookeeper.ClientCnxn: Unable
> to read additional data from server sessionid 0x133ea613d340001,
> likely server has closed socket, closing socket connection and
> attempting reconnect
> 2011-11-28 19:03:21,858 INFO
> org.apache.zookeeper.server.NIOServerCnxn: Closed socket connection
> for client /192.168.2.106:58266 which had sessionid 0x133ea613d340002
> 2011-11-28 19:03:21,859 INFO org.apache.zookeeper.ClientCnxn: Unable
> to read additional data from server sessionid 0x133ea613d340002,
> likely server has closed socket, closing socket connection and
> attempting reconnect
> 2011-11-28 19:03:21,859 INFO
> org.apache.zookeeper.server.NIOServerCnxn: NIOServerCnxn factory
> exited run method
> 2011-11-28 19:03:21,859 INFO
> org.apache.zookeeper.server.PrepRequestProcessor: PrepRequestProcessor
> exited loop!
> 2011-11-28 19:03:21,859 INFO
> org.apache.zookeeper.server.SyncRequestProcessor: SyncRequestProcessor
> exited!
> 2011-11-28 19:03:21,859 INFO
> org.apache.zookeeper.server.FinalRequestProcessor: shutdown of request
> processor complete
> 2011-11-28 19:03:22,000 INFO
> org.apache.zookeeper.server.SessionTrackerImpl: SessionTrackerImpl
> exited loop!
> 2011-11-28 19:03:23,149 INFO org.apache.zookeeper.ClientCnxn: Opening
> socket connection to server localhost/192.168.2.106:2181
> 2011-11-28 19:03:23,150 WARN org.apache.zookeeper.ClientCnxn: Session
> 0x133ea613d340001 for server null, unexpected error, closing socket
> connection and attempting reconnect
> java.net.ConnectException: Connection refused
>        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>        at
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
>        at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)
> 2011-11-28 19:03:23,775 INFO org.apache.zookeeper.ClientCnxn: Opening
> socket connection to server localhost/192.168.2.106:2181
> 2011-11-28 19:03:23,776 WARN org.apache.zookeeper.ClientCnxn: Session
> 0x133ea613d340002 for server null, unexpected error, closing socket
> connection and attempting reconnect
> java.net.ConnectException: Connection refused
>        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>        at
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
>        at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)
> 2011-11-28 19:03:24,462 INFO org.apache.zookeeper.ClientCnxn: Opening
> socket connection to server localhost/192.168.2.106:2181
> 2011-11-28 19:03:24,463 WARN org.apache.zookeeper.ClientCnxn: Session
> 0x133ea613d340001 for server null, unexpected error, closing socket
> connection and attempting reconnect
> java.net.ConnectException: Connection refused
>        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>        at
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
>        at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)
> 2011-11-28 19:03:25,369 INFO org.apache.zookeeper.ClientCnxn: Opening
> socket connection to server localhost/192.168.2.106:2181
> 2011-11-28 19:03:25,370 WARN org.apache.zookeeper.ClientCnxn: Session
> 0x133ea613d340002 for server null, unexpected error, closing socket
> connection and attempting reconnect
> java.net.ConnectException: Connection refused
>        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>        at
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
>        at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)
> 2011-11-28 19:03:25,910 INFO org.apache.zookeeper.ClientCnxn: Opening
> socket connection to server localhost/192.168.2.106:2181
> 2011-11-28 19:03:25,911 WARN org.apache.zookeeper.ClientCnxn: Session
> 0x133ea613d340001 for server null, unexpected error, closing socket
> connection and attempting reconnect
> java.net.ConnectException: Connection refused
>        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>        at
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
>        at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)
> 2011-11-28 19:03:27,036 INFO org.apache.zookeeper.ClientCnxn: Opening
> socket connection to server localhost/192.168.2.106:2181
> 2011-11-28 19:03:27,036 WARN org.apache.zookeeper.ClientCnxn: Session
> 0x133ea613d340001 for server null, unexpected error, closing socket
> connection and attempting reconnect
> java.net.ConnectException: Connection refused
>        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>        at
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
>        at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)
> 2011-11-28 19:03:27,386 INFO org.apache.zookeeper.ClientCnxn: Opening
> socket connection to server localhost/192.168.2.106:2181
> 2011-11-28 19:03:27,386 WARN org.apache.zookeeper.ClientCnxn: Session
> 0x133ea613d340002 for server null, unexpected error, closing socket
> connection and attempting reconnect
> java.net.ConnectException: Connection refused
>        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>        at
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
>        at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)
> 2011-11-28 19:03:28,212 INFO org.apache.zookeeper.ClientCnxn: Opening
> socket connection to server localhost/192.168.2.106:2181
> 2011-11-28 19:03:28,213 WARN org.apache.zookeeper.ClientCnxn: Session
> 0x133ea613d340001 for server null, unexpected error, closing socket
> connection and attempting reconnect
> java.net.ConnectException: Connection refused
>        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>        at
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
>        at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)
> 2011-11-28 19:03:29,039 INFO org.apache.zookeeper.ClientCnxn: Opening
> socket connection to server localhost/192.168.2.106:2181
> 2011-11-28 19:03:29,039 WARN org.apache.zookeeper.ClientCnxn: Session
> 0x133ea613d340002 for server null, unexpected error, closing socket
> connection and attempting reconnect
> java.net.ConnectException: Connection refused
>        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>        at
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
>        at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)
> 2011-11-28 19:03:29,780 INFO org.apache.zookeeper.ClientCnxn: Opening
> socket connection to server localhost/192.168.2.106:2181
> 2011-11-28 19:03:29,781 WARN org.apache.zookeeper.ClientCnxn: Session
> 0x133ea613d340001 for server null, unexpected error, closing socket
> connection and attempting reconnect
> java.net.ConnectException: Connection refused
>        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>        at
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
>        at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)
> 2011-11-28 19:03:30,671 INFO org.apache.zookeeper.ClientCnxn: Opening
> socket connection to server localhost/192.168.2.106:2181
> 2011-11-28 19:03:30,672 WARN org.apache.zookeeper.ClientCnxn: Session
> 0x133ea613d340002 for server null, unexpected error, closing socket
> connection and attempting reconnect
> java.net.ConnectException: Connection refused
>        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>        at
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
>        at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)
> 2011-11-28 19:03:30,991 INFO org.apache.zookeeper.ClientCnxn: Opening
> socket connection to server localhost/192.168.2.106:2181
> 2011-11-28 19:03:30,992 WARN org.apache.zookeeper.ClientCnxn: Session
> 0x133ea613d340001 for server null, unexpected error, closing socket
> connection and attempting reconnect
> java.net.ConnectException: Connection refused
>        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>        at
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
>        at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)
> 2011-11-28 19:03:31,955 INFO org.apache.zookeeper.ClientCnxn: Opening
> socket connection to server localhost/192.168.2.106:2181
> 2011-11-28 19:03:31,956 WARN org.apache.zookeeper.ClientCnxn: Session
> 0x133ea613d340002 for server null, unexpected error, closing socket
> connection and attempting reconnect
> java.net.ConnectException: Connection refused
>        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>        at
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
>        at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)
> 2011-11-28 19:03:32,604 INFO org.apache.zookeeper.ClientCnxn: Opening
> socket connection to server localhost/192.168.2.106:2181
> 2011-11-28 19:03:32,604 WARN org.apache.zookeeper.ClientCnxn: Session
> 0x133ea613d340001 for server null, unexpected error, closing socket
> connection and attempting reconnect
> java.net.ConnectException: Connection refused
>        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>        at
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
>        at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)
> 2011-11-28 19:03:33,715 INFO org.apache.zookeeper.ClientCnxn: Opening
> socket connection to server localhost/192.168.2.106:2181
> 2011-11-28 19:03:33,716 WARN org.apache.zookeeper.ClientCnxn: Session
> 0x133ea613d340001 for server null, unexpected error, closing socket
> connection and attempting reconnect
> java.net.ConnectException: Connection refused
>        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>        at
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
>        at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)
> 2011-11-28 19:03:33,765 INFO org.apache.zookeeper.ClientCnxn: Opening
> socket connection to server localhost/192.168.2.106:2181
> 2011-11-28 19:03:33,765 WARN org.apache.zookeeper.ClientCnxn: Session
> 0x133ea613d340002 for server null, unexpected error, closing socket
> connection and attempting reconnect
> java.net.ConnectException: Connection refused
>        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>        at
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
>        at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)
>
> Many thanks in advance
>
> Regards,
>     Mohammad Tariq
>

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