java - Installation issues in hadoop,hbase,zookerper in single node in debian -


i trying install hadoop,habse,zookeeper in local machine. facing problem in zookeeper connection.

below hbase master log:

2013-07-21 22:01:24,603 info org.apache.zookeeper.zookeeper: client environment:java.io.tmpdir=/tmp 2013-07-21 22:01:24,603 info org.apache.zookeeper.zookeeper: client environment:java.compiler=<na> 2013-07-21 22:01:24,603 info org.apache.zookeeper.zookeeper: client environment:os.name=linux 2013-07-21 22:01:24,603 info org.apache.zookeeper.zookeeper: client environment:os.arch=amd64 2013-07-21 22:01:24,603 info org.apache.zookeeper.zookeeper: client environment:os.version=3.2.0-4-amd64 2013-07-21 22:01:24,603 info org.apache.zookeeper.zookeeper: client environment:user.name=gaurav 2013-07-21 22:01:24,604 info org.apache.zookeeper.zookeeper: client environment:user.home=/home/gaurav 2013-07-21 22:01:24,604 info org.apache.zookeeper.zookeeper: client environment:user.dir=/home/hbase/hbase-0.94.6.1/bin 2013-07-21 22:01:24,605 info org.apache.zookeeper.zookeeper: initiating client connection, connectstring=localhost:2181 sessiontimeout=180000 watcher=master:60000 2013-07-21 22:01:24,636 info org.apache.zookeeper.clientcnxn: opening socket connection server localhost/127.0.0.1:2181. not attempt authenticate using sasl (unknown error) 2013-07-21 22:01:24,637 info org.apache.hadoop.hbase.zookeeper.recoverablezookeeper: identifier of process 22559@gaurav 2013-07-21 22:01:24,643 warn org.apache.zookeeper.clientcnxn: session 0x0 server null, unexpected error, closing socket connection , attempting reconnect java.net.connectexception: connection refused     @ sun.nio.ch.socketchannelimpl.checkconnect(native method)     @ sun.nio.ch.socketchannelimpl.finishconnect(socketchannelimpl.java:708)     @ org.apache.zookeeper.clientcnxnsocketnio.dotransport(clientcnxnsocketnio.java:350)     @ org.apache.zookeeper.clientcnxn$sendthread.run(clientcnxn.java:1068) 

can please me out this?

i configure hadoop link http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/?

hbase configuration hbase-site.xml

<?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> <!-- /**  * copyright 2010 apache software foundation  *  * licensed apache software foundation (asf) under 1  * or more contributor license agreements.  see notice file  * distributed work additional information  * regarding copyright ownership.  asf licenses file  * under apache license, version 2.0 (the  * "license"); may not use file except in compliance  * license.  may obtain copy of license @  *  *     http://www.apache.org/licenses/license-2.0  *  * unless required applicable law or agreed in writing, software  * distributed under license distributed on "as is" basis,  * without warranties or conditions of kind, either express or implied.  * see license specific language governing permissions ,  * limitations under license.  */ --> <configuration> <property> <name>hbase.rootdir</name> <value>hdfs://localhost:9000/hbase</value> <description>the directory shared regionservers</description> </property> <property> <name>hbase.zookeeper.quorum</name> <value>localhost</value> <description>comma separated list of servers in zookeeper quorum. example, "host1.mydomain.com,host2.mydomain.com,host3.mydomain.com". default set localhost local , pseudo-distributed modes of operation. fully-distributed setup, should set full list of zookeeper quorum servers. if hbase_manages_zk set in hbase-env.shthis list of servers start/stop zookeeper on. </description> </property> <property> <name>hbase.cluster.distributed</name> <value>true</value> </property> <property> <name>hbase.zookeeper.quorum</name> <value>localhost</value> </property> <property> <name>dfs.replication</name> <value>1</value> </property> <property> <name>hbase.master.port</name> <value>60000</value> </property> <property> <name>hbase.zookeeper.property.clientport</name> <value>2222</value> </property> <property> <name>hbase.zookeeper.property.datadir</name> <value>/home/hbase/zookeeper</value> </property>  <property> <name>zookeeper.znode.parent</name> <value>/home/hbase/hbase-0.94.6.1</value> </property> <property> <name>hbase.zookeeper.property.maxclientcnxns</name> <value>1000</value> </property> </configuration> 

hbase-env.sh

export java_home=/usr/local/jdk1.7.0_25 export hbase_manages_zk=true set in file

and have 2 folder hadoop , hbase , 1 hadoop package , there hbase package

hbase master log http://pastebin.com/tuvx4bgx?

your hbase master not starting properly,that why unable connect 60000 port.check following in hadoop , hbase conf.

  1. in hbase/conf/hbase-site.xml.check value of hbase.master property.it should 60000.
  2. check if port in hbase conf configured hadoop port.
  3. check if zookeeper conf having same port of hbase master.

also netstat , check whether hadoop , hbase port available.

if can attach conf file,i able give more details


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -