Hi Anil, thank you very much for ur help. It worked out well to resolve the
problem. I changed the port in /etc/zookeeper/zoo.cfg . Later i got client
protocol mismatch, so i replaced the hadoop jar in HBase_Home/lib. Now its
fine. Hbase is perfectly running over hadoop in my 2 nodes cluster. i think
now i am all set to work on hbase. I want to create and load hbase tables
and work with that tables like querying and etc.how i shud start that ?
like writing code in eclipse for that, and what are the exact things i need
to add in eclipse to work with hbase? please help..

On Fri, Nov 11, 2011 at 4:20 PM, AnilKumar B <[email protected]> wrote:

> Hi Vamshi,
>
> Can you verify the port in zoo.cfg?
>
> Is it same as hbase-site.xml?
> </property>
>         <name>hbase.zookeeper.property.clientPort</name>
>        <value>2222</value>
>  </property>
>
> In zoo.cfg, It shld be like:
>  clientPort=2222
>  server.0=${Host name}:2888:3888
>
> Make sure that in zookeeper home directory contains server1 folder with
> "myid" file and value as "0"
>
>
> Thanks & Regards,
> B Anil Kumar.
>
>
> On Fri, Nov 11, 2011 at 3:39 PM, Vamshi Krishna <[email protected]
> >wrote:
>
> > I am using 2machines. 10.0.1.54 (namenode,datanode, masternode, region
> > server)
> >                                  10.0.1.55 (datanode, region server)
> > i ensured that hadoop is successfully running and hdfs is accessible.
> >
> > My conf's hbase-site.xml is
> > <configuration>
> > <property>
> >                                <name>hbase.master</name>
> >                                <value>hbase-master:60000</value>
> >                                <description>The host and port that the
> > HBase master runs at.
> >                                                     A value of 'local'
> > runs the master and a regionserver
> >                                                     in a single process.
> >                                </description>
> >                </property>
> >
> >                <property>
> >                                <name>hbase.rootdir</name>
> >
> > <value>hdfs://hadoop-namenode:9000/hbase</value>
> >                                <description>The directory shared by
> region
> > servers.</description>
> >                </property>
> >
> >
> >                <property>
> >                                <name>hbase.cluster.distributed</name>
> >                                <value>true</value>
> >                                <description>The mode the cluster will be
> > in. Possible values are
> >                                false: standalone and pseudo-distributed
> > setups with managed
> >                                Zookeeper true: fully-distributed with
> > unmanaged Zookeeper
> >                                Quorum (see hbase-env.sh)
> >                                </description>
> >                </property>
> >                <property>
> >
> > <name>hbase.zookeeper.property.clientPort</name>
> >                                <value>2222</value>
> >                                <description>Property from ZooKeeper's
> > config zoo.cfg.
> >                                The port at which the clients will
> connect.
> >                                </description>
> >                </property>
> >
> >                <property>
> >                <name>hbase.zookeeper.quorum</name>
> >                <value>hbase-master</value>
> >                <description>Comma separated list of servers in the
> > ZooKeeper Quorum.
> >                                     For example,      "
> host1.mydomain.com,
> > host2.mydomain.com".
> >                                     By default this is set to localhost
> > for local and
> >                                     pseudo-distributed modes of
> operation.
> > For a
> >                                     fully-distributed setup, this should
> > be set to a full
> >                                     list of ZooKeeper quorum servers. If
> >                                     HBASE_MANAGES_ZK is set in
> hbase-env.sh
> >                                     this is the list of servers which we
> > will start/stop
> >                                     ZooKeeper on.
> >                </description>
> >                </property>
> > </configuration>
> >
> > i ran bin/star-hbase.sh in 2 cases.
> > 1)If i ran with  hbase.cluster.distributed property set to "true", i ran
> > jps,it showed
> >    8757 HRegionServer
> >    8069 JobTracker
> >    8227 TaskTracker
> >    8529 HQuorumPeer
> >    7607 NameNode
> >    8857 Jps
> >    7777 DataNode
> >    7971 SecondaryNameNode
> > 2) If i set hbase.cluster.distributed property set to "false", i ran
> jps,it
> > showed
> >    10227 JobTracker
> >    10652 Jps
> >    10129 SecondaryNameNode
> >    9765 NameNode
> >    10573 HMaster
> >    10385 TaskTracker
> >    9935 DataNode
> >
> > In both the cases HRegionserver daemon is not seen on the regionserver
> > machine.
> >
> > In case 1:  if i try to create a table its throwing following error.
> >    hbase(main):001:0> create 't1', 'f1'
> >
> >    ERROR: org.apache.hadoop.hbase.MasterNotRunningException: null
> >
> >    Moreover, if i exit and ran $ bin/stop-hbase.sh , the result is
> >    stopping hbase
> >    hduser@hbase-master's password:
> >    hbase-master: stopping zookeeper.      And HRegionserver daemon is
> > still working.
> >
> >
> >
> > And, In case 2, if i try to create a table its throwing following error.
> >
> >    hbase(main):001:0> create 't1', 'f1'
> >
> >    ERROR: org.apache.hadoop.hbase.ZooKeeperConnectionException: HBase is
> > able to connect to ZooKeeper but the connection closes immediately. This
> > could be a     sign that the server has too many connections (30 is the
> > default). Consider inspecting your ZK server logs for that error and then
> > make sure you are reusing     HBaseConfiguration as often as you can. See
> > HTable's javadoc for more information.
> >
> >    Moreover,if i stop hbase using bin/stop-hbase, its putting never
> ending
> > dots(.............)
> >
> > Please help what could be the problem? and how i need to set right the
> > situation?
> >
> >
> >
> > On Thu, Nov 10, 2011 at 3:56 PM, Harsh J <[email protected]> wrote:
> >
> > > Your HDFS isn't accessible, and your HMaster is running in distributed
> > > mode. Bring up your HDFS and you should be all set!
> > >
> > > (Or, tweak your hbase-site.xml to not be in distributed mode if that
> was
> > > the real need.)
> > >
> > > On 10-Nov-2011, at 3:52 PM, Vamshi Krishna wrote:
> > >
> > > > Hi all,
> > > > i am running both hadoop and hbase  with 2 machines. hadoop-0.20.2
> and
> > > > hbase-0.90.4.  In one machine i am running hadoopnamenode and hbase
> > > master,
> > > > in the other machine  datanode ,regionserver. Evrything is fine, but
> > > when i
> > > > ran bin/start-hbase.sh
> > > > i found the following after executing jps command
> > > > 12989 HMaster
> > > > 12937 HQuorumPeer
> > > > 13222 Jps
> > > > 13160 HRegionServer
> > > >
> > > > but immidietly HMaster is disappearing i.e after i ran jps command
> > > >
> > > > 12937 HQuorumPeer
> > > > 13160 HRegionServer
> > > > 13235 Jps
> > > >
> > > > can anybody help why it is happening?
> > > >
> > > > i checked the master log, i found
> > > >
> > > > Thu Nov 10 15:31:16 IST 2011 Starting master on vamshikrishna-desktop
> > > > ulimit -n 1024
> > > > 2011-11-10 15:31:17,171 INFO
> > org.apache.hadoop.hbase.ipc.HBaseRpcMetrics:
> > > > Initializing RPC Metrics with hostName=HMaster, port=60000
> > > > 2011-11-10 15:31:17,258 INFO org.apache.hadoop.hbase.security.User:
> > > > Skipping login, not running on secure Hadoop
> > > > 2011-11-10 15:31:17,260 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> > > Server
> > > > Responder: starting
> > > > 2011-11-10 15:31:17,261 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> > > Server
> > > > listener on 60000: starting
> > > > 2011-11-10 15:31:17,263 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> > > Server
> > > > handler 0 on 60000: starting
> > > > 2011-11-10 15:31:17,263 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> > > Server
> > > > handler 1 on 60000: starting
> > > > 2011-11-10 15:31:17,263 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> > > Server
> > > > handler 2 on 60000: starting
> > > > 2011-11-10 15:31:17,264 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> > > Server
> > > > handler 3 on 60000: starting
> > > > 2011-11-10 15:31:17,264 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> > > Server
> > > > handler 4 on 60000: starting
> > > > 2011-11-10 15:31:17,264 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> > > Server
> > > > handler 5 on 60000: starting
> > > > 2011-11-10 15:31:17,278 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> > > Server
> > > > handler 6 on 60000: starting
> > > > 2011-11-10 15:31:17,278 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> > > Server
> > > > handler 8 on 60000: starting
> > > > 2011-11-10 15:31:17,278 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> > > Server
> > > > handler 7 on 60000: starting
> > > > 2011-11-10 15:31:17,287 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> > > Server
> > > > handler 9 on 60000: starting
> > > > 2011-11-10 15:31:17,305 INFO org.apache.zookeeper.ZooKeeper: Client
> > > > environment:zookeeper.version=3.3.2-1031432, built on 11/05/2010
> 05:32
> > > GMT
> > > > 2011-11-10 15:31:17,305 INFO org.apache.zookeeper.ZooKeeper: Client
> > > > environment:host.name=vamshikrishna-desktop
> > > > 2011-11-10 15:31:17,305 INFO org.apache.zookeeper.ZooKeeper: Client
> > > > environment:java.version=1.6.0_26
> > > > 2011-11-10 15:31:17,305 INFO org.apache.zookeeper.ZooKeeper: Client
> > > > environment:java.vendor=Sun Microsystems Inc.
> > > > 2011-11-10 15:31:17,306 INFO org.apache.zookeeper.ZooKeeper: Client
> > > > environment:java.home=/usr/lib/jvm/java-6-sun-1.6.0.26/jre
> > > > 2011-11-10 15:31:17,306 INFO org.apache.zookeeper.ZooKeeper: Client
> > > >
> > >
> >
> environment:java.class.path=/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../conf:/usr/lib/jvm/java-6-sun/lib/tools.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/..:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../hbase-0.90.4.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../hbase-0.90.4-tests.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/activation-1.1.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/asm-3.1.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/avro-1.3.3.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/commons-cli-1.2.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/commons-codec-1.4.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/commons-el-1.0.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/commons-httpclient-3.1.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/commons-lang-2.5.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/commons-logging-1.1.1.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/commons-net-1.4.1.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/core-3.1.1.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/guava-r06.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/hadoop-core-0.20-append-r1056497.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/jackson-core-asl-1.5.5.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/jackson-jaxrs-1.5.5.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/jackson-mapper-asl-1.4.2.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/jackson-xc-1.5.5.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/jasper-compiler-5.5.23.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/jasper-runtime-5.5.23.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/jaxb-api-2.1.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/jaxb-impl-2.1.12.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/jersey-core-1.4.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/jersey-json-1.4.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/jersey-server-1.4.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/jettison-1.1.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/jetty-6.1.26.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/jetty-util-6.1.26.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/jruby-complete-1.6.0.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/jsp-2.1-6.1.14.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/jsp-api-2.1-6.1.14.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/jsr311-api-1.1.1.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/log4j-1.2.16.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/protobuf-java-2.3.0.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/servlet-api-2.5-6.1.14.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/slf4j-api-1.5.8.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/slf4j-log4j12-1.5.8.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/stax-api-1.0.1.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/thrift-0.2.0.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/xmlenc-0.52.jar:/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4/bin/../lib/zookeeper-3.3.2.jar
> > > > 2011-11-10 15:31:17,306 INFO org.apache.zookeeper.ZooKeeper: Client
> > > >
> > >
> >
> environment:java.library.path=/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/i386/server:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
> > > > 2011-11-10 15:31:17,306 INFO org.apache.zookeeper.ZooKeeper: Client
> > > > environment:java.io.tmpdir=/tmp
> > > > 2011-11-10 15:31:17,306 INFO org.apache.zookeeper.ZooKeeper: Client
> > > > environment:java.compiler=<NA>
> > > > 2011-11-10 15:31:17,306 INFO org.apache.zookeeper.ZooKeeper: Client
> > > > environment:os.name=Linux
> > > > 2011-11-10 15:31:17,306 INFO org.apache.zookeeper.ZooKeeper: Client
> > > > environment:os.arch=i386
> > > > 2011-11-10 15:31:17,306 INFO org.apache.zookeeper.ZooKeeper: Client
> > > > environment:os.version=2.6.32-33-generic
> > > > 2011-11-10 15:31:17,306 INFO org.apache.zookeeper.ZooKeeper: Client
> > > > environment:user.name=hduser
> > > > 2011-11-10 15:31:17,306 INFO org.apache.zookeeper.ZooKeeper: Client
> > > > environment:user.home=/home/hduser
> > > > 2011-11-10 15:31:17,306 INFO org.apache.zookeeper.ZooKeeper: Client
> > > >
> environment:user.dir=/home/hduser/Documents/HBASE_SOFTWRAE/hbase-0.90.4
> > > > 2011-11-10 15:31:17,307 INFO org.apache.zookeeper.ZooKeeper:
> Initiating
> > > > client connection, connectString=hbase-master:2222
> > sessionTimeout=180000
> > > > watcher=master:60000
> > > > 2011-11-10 15:31:17,329 INFO org.apache.zookeeper.ClientCnxn: Opening
> > > > socket connection to server hbase-master/10.0.1.54:2222
> > > > 2011-11-10 15:31:17,342 INFO org.apache.zookeeper.ClientCnxn: Socket
> > > > connection established to hbase-master/10.0.1.54:2222, initiating
> > > session
> > > > 2011-11-10 15:31:17,427 INFO org.apache.zookeeper.ClientCnxn: Session
> > > > establishment complete on server hbase-master/10.0.1.54:2222,
> > sessionid
> > > =
> > > > 0x1338cec9a820000, negotiated timeout = 180000
> > > > 2011-11-10 15:31:17,451 INFO
> org.apache.hadoop.metrics.jvm.JvmMetrics:
> > > > Initializing JVM Metrics with processName=Master,
> > > > sessionId=vamshikrishna-desktop:60000
> > > > 2011-11-10 15:31:17,460 INFO org.apache.hadoop.hbase.metrics:
> > > MetricsString
> > > > added: revision
> > > > 2011-11-10 15:31:17,460 INFO org.apache.hadoop.hbase.metrics:
> > > MetricsString
> > > > added: hdfsUser
> > > > 2011-11-10 15:31:17,460 INFO org.apache.hadoop.hbase.metrics:
> > > MetricsString
> > > > added: hdfsDate
> > > > 2011-11-10 15:31:17,460 INFO org.apache.hadoop.hbase.metrics:
> > > MetricsString
> > > > added: hdfsUrl
> > > > 2011-11-10 15:31:17,460 INFO org.apache.hadoop.hbase.metrics:
> > > MetricsString
> > > > added: date
> > > > 2011-11-10 15:31:17,460 INFO org.apache.hadoop.hbase.metrics:
> > > MetricsString
> > > > added: hdfsRevision
> > > > 2011-11-10 15:31:17,460 INFO org.apache.hadoop.hbase.metrics:
> > > MetricsString
> > > > added: user
> > > > 2011-11-10 15:31:17,460 INFO org.apache.hadoop.hbase.metrics:
> > > MetricsString
> > > > added: hdfsVersion
> > > > 2011-11-10 15:31:17,460 INFO org.apache.hadoop.hbase.metrics:
> > > MetricsString
> > > > added: url
> > > > 2011-11-10 15:31:17,460 INFO org.apache.hadoop.hbase.metrics:
> > > MetricsString
> > > > added: version
> > > > 2011-11-10 15:31:17,460 INFO org.apache.hadoop.hbase.metrics: new
> > > MBeanInfo
> > > > 2011-11-10 15:31:17,462 INFO org.apache.hadoop.hbase.metrics: new
> > > MBeanInfo
> > > > 2011-11-10 15:31:17,462 INFO
> > > > org.apache.hadoop.hbase.master.metrics.MasterMetrics: Initialized
> > > > 2011-11-10 15:31:17,508 INFO
> > > > org.apache.hadoop.hbase.master.ActiveMasterManager:
> > > > Master=vamshikrishna-desktop:60000
> > > > 2011-11-10 15:31:18,826 INFO org.apache.hadoop.ipc.Client: Retrying
> > > connect
> > > > to server: hadoop-namenode/10.0.1.54:9000. Already tried 0 time(s).
> > > > 2011-11-10 15:31:19,827 INFO org.apache.hadoop.ipc.Client: Retrying
> > > connect
> > > > to server: hadoop-namenode/10.0.1.54:9000. Already tried 1 time(s).
> > > > 2011-11-10 15:31:20,828 INFO org.apache.hadoop.ipc.Client: Retrying
> > > connect
> > > > to server: hadoop-namenode/10.0.1.54:9000. Already tried 2 time(s).
> > > > 2011-11-10 15:31:21,828 INFO org.apache.hadoop.ipc.Client: Retrying
> > > connect
> > > > to server: hadoop-namenode/10.0.1.54:9000. Already tried 3 time(s).
> > > > 2011-11-10 15:31:22,829 INFO org.apache.hadoop.ipc.Client: Retrying
> > > connect
> > > > to server: hadoop-namenode/10.0.1.54:9000. Already tried 4 time(s).
> > > > 2011-11-10 15:31:23,830 INFO org.apache.hadoop.ipc.Client: Retrying
> > > connect
> > > > to server: hadoop-namenode/10.0.1.54:9000. Already tried 5 time(s).
> > > > 2011-11-10 15:31:24,831 INFO org.apache.hadoop.ipc.Client: Retrying
> > > connect
> > > > to server: hadoop-namenode/10.0.1.54:9000. Already tried 6 time(s).
> > > > 2011-11-10 15:31:25,832 INFO org.apache.hadoop.ipc.Client: Retrying
> > > connect
> > > > to server: hadoop-namenode/10.0.1.54:9000. Already tried 7 time(s).
> > > > 2011-11-10 15:31:26,832 INFO org.apache.hadoop.ipc.Client: Retrying
> > > connect
> > > > to server: hadoop-namenode/10.0.1.54:9000. Already tried 8 time(s).
> > > > 2011-11-10 15:31:27,833 INFO org.apache.hadoop.ipc.Client: Retrying
> > > connect
> > > > to server: hadoop-namenode/10.0.1.54:9000. Already tried 9 time(s).
> > > > 2011-11-10 15:31:27,837 FATAL org.apache.hadoop.hbase.master.HMaster:
> > > > Unhandled exception. Starting shutdown.
> > > > java.net.ConnectException: Call to hadoop-namenode/10.0.1.54:9000
> failed
> > on
> > > > connection exception: java.net.ConnectException: Connection refused
> > > >    at org.apache.hadoop.ipc.Client.wrapException(Client.java:767)
> > > >    at org.apache.hadoop.ipc.Client.call(Client.java:743)
> > > >    at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:220)
> > > >    at $Proxy5.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)
> > > > Caused by: 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.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
> > > >    at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:404)
> > > >    at
> > > >
> org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:304)
> > > >    at
> > > org.apache.hadoop.ipc.Client$Connection.access$1700(Client.java:176)
> > > >    at org.apache.hadoop.ipc.Client.getConnection(Client.java:860)
> > > >    at org.apache.hadoop.ipc.Client.call(Client.java:720)
> > > >    ... 16 more
> > > > 2011-11-10 15:31:27,842 INFO org.apache.hadoop.hbase.master.HMaster:
> > > > Aborting
> > > > 2011-11-10 15:31:27,842 DEBUG org.apache.hadoop.hbase.master.HMaster:
> > > > Stopping service threads
> > > > 2011-11-10 15:31:27,842 INFO org.apache.hadoop.ipc.HBaseServer:
> > Stopping
> > > > server on 60000
> > > > 2011-11-10 15:31:27,843 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> > > Server
> > > > handler 0 on 60000: exiting
> > > > 2011-11-10 15:31:27,843 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> > > Server
> > > > handler 2 on 60000: exiting
> > > > 2011-11-10 15:31:27,843 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> > > Server
> > > > handler 3 on 60000: exiting
> > > > 2011-11-10 15:31:27,843 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> > > Server
> > > > handler 1 on 60000: exiting
> > > > 2011-11-10 15:31:27,843 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> > > Server
> > > > handler 5 on 60000: exiting
> > > > 2011-11-10 15:31:27,843 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> > > Server
> > > > handler 6 on 60000: exiting
> > > > 2011-11-10 15:31:27,843 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> > > Server
> > > > handler 7 on 60000: exiting
> > > > 2011-11-10 15:31:27,844 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> > > Server
> > > > handler 8 on 60000: exiting
> > > > 2011-11-10 15:31:27,844 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> > > Server
> > > > handler 9 on 60000: exiting
> > > > 2011-11-10 15:31:27,843 INFO org.apache.hadoop.ipc.HBaseServer: IPC
> > > Server
> > > > handler 4 on 60000: exiting
> > > > 2011-11-10 15:31:27,844 INFO org.apache.hadoop.ipc.HBaseServer:
> > Stopping
> > > > IPC Server listener on 60000
> > > > 2011-11-10 15:31:27,846 INFO org.apache.hadoop.ipc.HBaseServer:
> > Stopping
> > > > IPC Server Responder
> > > > 2011-11-10 15:31:27,895 INFO org.apache.zookeeper.ZooKeeper: Session:
> > > > 0x1338cec9a820000 closed
> > > > 2011-11-10 15:31:27,895 INFO org.apache.hadoop.hbase.master.HMaster:
> > > > HMaster main thread exiting
> > > > 2011-11-10 15:31:27,895 INFO org.apache.zookeeper.ClientCnxn:
> > EventThread
> > > > shut down
> > > >
> > > >
> > > > when i run bin/start-hbase.sh command HRegionserver daemon is
> supposed
> > to
> > > > run on regionserver machine also, but i couldnot find any such daemon
> > on
> > > > regionserver machine.
> > > >
> > > > can anybody please help.!
> > > >
> > > >
> > > > --
> > > > *Regards*
> > > > *
> > > > Vamshi Krishna
> > > > *
> > >
> > >
> >
> >
> > --
> > *Regards*
> > *
> > Vamshi Krishna
> > *
> >
>



-- 
*Regards*
*
Vamshi Krishna
*

Reply via email to