I just installed HBase-0.90.3 with Hadoop-0.20.203.0 and I get some sort of
zookeeper hiccup followed by an End Of File error. Any suggestions on what I
am doing wrong?
Alan
MASTER LOG FILE
Thu Jun 2 10:29:25 EDT 2011 Starting master on hadoop1
ulimit -n 1024
2011-06-02 10:29:26,218 INFO org.apache.hadoop.hbase.ipc.HBaseRpcMetrics:
Initializing RPC Metrics with hostName=HMaster, port=60000
2011-06-02 10:29:26,276 INFO org.apache.hadoop.hbase.security.User: Skipping
login, not running on secure Hadoop
2011-06-02 10:29:26,278 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
Responder: starting
2011-06-02 10:29:26,278 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
listener on 60000: starting
2011-06-02 10:29:26,279 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
handler 0 on 60000: starting
2011-06-02 10:29:26,279 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
handler 1 on 60000: starting
2011-06-02 10:29:26,279 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
handler 2 on 60000: starting
2011-06-02 10:29:26,280 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
handler 3 on 60000: starting
2011-06-02 10:29:26,280 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
handler 4 on 60000: starting
2011-06-02 10:29:26,280 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
handler 5 on 60000: starting
2011-06-02 10:29:26,280 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
handler 6 on 60000: starting
2011-06-02 10:29:26,280 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
handler 7 on 60000: starting
2011-06-02 10:29:26,280 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
handler 8 on 60000: starting
2011-06-02 10:29:26,281 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
handler 9 on 60000: starting
2011-06-02 10:29:26,298 INFO org.apache.zookeeper.ZooKeeper: Client
environment:zookeeper.version=3.3.2-1031432, built on 11/05/2010 05:32 GMT
2011-06-02 10:29:26,298 INFO org.apache.zookeeper.ZooKeeper: Client
environment:host.name=hadoop1.aj.c2fse.northgrum.com
2011-06-02 10:29:26,298 INFO org.apache.zookeeper.ZooKeeper: Client
environment:java.version=1.6.0_25
2011-06-02 10:29:26,298 INFO org.apache.zookeeper.ZooKeeper: Client
environment:java.vendor=Sun Microsystems Inc.
2011-06-02 10:29:26,298 INFO org.apache.zookeeper.ZooKeeper: Client
environment:java.home=/home/ngc/jdk1.6.0_25/jre
2011-06-02 10:29:26,298 INFO org.apache.zookeeper.ZooKeeper: Client
environment:java.class.path=/home/ngc/hbase-0.90.3/conf:/home/ngc/jdk1.6.0_25/lib/tools.jar:/home/ngc/hbase-0.90.3/bin/..:/home/ngc/hbase-0.90.3/bin/../hbase-0.90.3.jar:/home/ngc/hbase-0.90.3/bin/../hbase-0.90.3-tests.jar:/home/ngc/hbase-0.90.3/bin/../lib/activation-1.1.jar:/home/ngc/hbase-0.90.3/bin/../lib/asm-3.1.jar:/home/ngc/hbase-0.90.3/bin/../lib/avro-1.3.3.jar:/home/ngc/hbase-0.90.3/bin/../lib/commons-cli-1.2.jar:/home/ngc/hbase-0.90.3/bin/../lib/commons-codec-1.4.jar:/home/ngc/hbase-0.90.3/bin/../lib/commons-el-1.0.jar:/home/ngc/hbase-0.90.3/bin/../lib/commons-httpclient-3.1.jar:/home/ngc/hbase-0.90.3/bin/../lib/commons-lang-2.5.jar:/home/ngc/hbase-0.90.3/bin/../lib/commons-logging-1.1.1.jar:/home/ngc/hbase-0.90.3/bin/../lib/commons-net-1.4.1.jar:/home/ngc/hbase-0.90.3/bin/../lib/core-3.1.1.jar:/home/ngc/hbase-0.90.3/bin/../lib/guava-r06.jar:/home/ngc/hbase-0.90.3/bin/../lib/hadoop-core-0.20-append-r1056497.jar:/home/ngc/hbase-0.90.3/bin/../lib/jackson-core-asl-1.5.5.jar:/home/ngc/hbase-0.90.3/bin/../lib/jackson-jaxrs-1.5.5.jar:/home/ngc/hbase-0.90.3/bin/../lib/jackson-mapper-asl-1.4.2.jar:/home/ngc/hbase-0.90.3/bin/../lib/jackson-xc-1.5.5.jar:/home/ngc/hbase-0.90.3/bin/../lib/jasper-compiler-5.5.23.jar:/home/ngc/hbase-0.90.3/bin/../lib/jasper-runtime-5.5.23.jar:/home/ngc/hbase-0.90.3/bin/../lib/jaxb-api-2.1.jar:/home/ngc/hbase-0.90.3/bin/../lib/jaxb-impl-2.1.12.jar:/home/ngc/hbase-0.90.3/bin/../lib/jersey-core-1.4.jar:/home/ngc/hbase-0.90.3/bin/../lib/jersey-json-1.4.jar:/home/ngc/hbase-0.90.3/bin/../lib/jersey-server-1.4.jar:/home/ngc/hbase-0.90.3/bin/../lib/jettison-1.1.jar:/home/ngc/hbase-0.90.3/bin/../lib/jetty-6.1.26.jar:/home/ngc/hbase-0.90.3/bin/../lib/jetty-util-6.1.26.jar:/home/ngc/hbase-0.90.3/bin/../lib/jruby-complete-1.6.0.jar:/home/ngc/hbase-0.90.3/bin/../lib/jsp-2.1-6.1.14.jar:/home/ngc/hbase-0.90.3/bin/../lib/jsp-api-2.1-6.1.14.jar:/home/ngc/hbase-0.90.3/bin/../lib/jsr311-api-1.1.1.jar:/home/ngc/hbase-0.90.3/bin/../lib/log4j-1.2.16.jar:/home/ngc/hbase-0.90.3/bin/../lib/protobuf-java-2.3.0.jar:/home/ngc/hbase-0.90.3/bin/../lib/servlet-api-2.5-6.1.14.jar:/home/ngc/hbase-0.90.3/bin/../lib/slf4j-api-1.5.8.jar:/home/ngc/hbase-0.90.3/bin/../lib/slf4j-log4j12-1.5.8.jar:/home/ngc/hbase-0.90.3/bin/../lib/stax-api-1.0.1.jar:/home/ngc/hbase-0.90.3/bin/../lib/thrift-0.2.0.jar:/home/ngc/hbase-0.90.3/bin/../lib/xmlenc-0.52.jar:/home/ngc/hbase-0.90.3/bin/../lib/zookeeper-3.3.2.jar
2011-06-02 10:29:26,298 INFO org.apache.zookeeper.ZooKeeper: Client
environment:java.library.path=/home/ngc/jdk1.6.0_25/jre/lib/amd64/server:/home/ngc/jdk1.6.0_25/jre/lib/amd64:/home/ngc/jdk1.6.0_25/jre/../lib/amd64:/home/ngc/OpenCV-2.2.0/OpenCV/library:/home/ngc/ffmpeg-0.6.1/:/home/ngc/OpenCV-2.2.0/lib:/usr/local/:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
2011-06-02 10:29:26,298 INFO org.apache.zookeeper.ZooKeeper: Client
environment:java.io.tmpdir=/tmp
2011-06-02 10:29:26,298 INFO org.apache.zookeeper.ZooKeeper: Client
environment:java.compiler=<NA>
2011-06-02 10:29:26,298 INFO org.apache.zookeeper.ZooKeeper: Client
environment:os.name=Linux
2011-06-02 10:29:26,298 INFO org.apache.zookeeper.ZooKeeper: Client
environment:os.arch=amd64
2011-06-02 10:29:26,298 INFO org.apache.zookeeper.ZooKeeper: Client
environment:os.version=2.6.32-24-server
2011-06-02 10:29:26,298 INFO org.apache.zookeeper.ZooKeeper: Client
environment:user.name=ngc
2011-06-02 10:29:26,298 INFO org.apache.zookeeper.ZooKeeper: Client
environment:user.home=/home/ngc
2011-06-02 10:29:26,298 INFO org.apache.zookeeper.ZooKeeper: Client
environment:user.dir=/home/ngc/hbase-0.90.3
2011-06-02 10:29:26,299 INFO org.apache.zookeeper.ZooKeeper: Initiating client
connection, connectString=hadoop3:2181,hadoop2:2181,hadoop1:2181
sessionTimeout=180000 watcher=master:60000
2011-06-02 10:29:26,317 INFO org.apache.zookeeper.ClientCnxn: Opening socket
connection to server hadoop1/10.64.155.52:2181
2011-06-02 10:29:26,325 WARN org.apache.zookeeper.ClientCnxn: Session 0x0 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-06-02 10:29:27,416 INFO org.apache.zookeeper.ClientCnxn: Opening socket
connection to server hadoop2/10.64.155.53:2181
2011-06-02 10:29:27,417 INFO org.apache.zookeeper.ClientCnxn: Socket connection
established to hadoop2/10.64.155.53:2181, initiating session
2011-06-02 10:29:27,494 INFO org.apache.zookeeper.ClientCnxn: Session
establishment complete on server hadoop2/10.64.155.53:2181, sessionid =
0x13050c53f020000, negotiated timeout = 180000
2011-06-02 10:29:27,582 INFO org.apache.hadoop.metrics.jvm.JvmMetrics:
Initializing JVM Metrics with processName=Master,
sessionId=hadoop1.aj.c2fse.northgrum.com:60000
2011-06-02 10:29:27,591 INFO org.apache.hadoop.hbase.metrics: MetricsString
added: revision
2011-06-02 10:29:27,591 INFO org.apache.hadoop.hbase.metrics: MetricsString
added: hdfsUser
2011-06-02 10:29:27,591 INFO org.apache.hadoop.hbase.metrics: MetricsString
added: hdfsDate
2011-06-02 10:29:27,591 INFO org.apache.hadoop.hbase.metrics: MetricsString
added: hdfsUrl
2011-06-02 10:29:27,591 INFO org.apache.hadoop.hbase.metrics: MetricsString
added: date
2011-06-02 10:29:27,591 INFO org.apache.hadoop.hbase.metrics: MetricsString
added: hdfsRevision
2011-06-02 10:29:27,591 INFO org.apache.hadoop.hbase.metrics: MetricsString
added: user
2011-06-02 10:29:27,591 INFO org.apache.hadoop.hbase.metrics: MetricsString
added: hdfsVersion
2011-06-02 10:29:27,591 INFO org.apache.hadoop.hbase.metrics: MetricsString
added: url
2011-06-02 10:29:27,591 INFO org.apache.hadoop.hbase.metrics: MetricsString
added: version
2011-06-02 10:29:27,591 INFO org.apache.hadoop.hbase.metrics: new MBeanInfo
2011-06-02 10:29:27,592 INFO org.apache.hadoop.hbase.metrics: new MBeanInfo
2011-06-02 10:29:27,592 INFO
org.apache.hadoop.hbase.master.metrics.MasterMetrics: Initialized
2011-06-02 10:29:27,603 INFO
org.apache.hadoop.hbase.master.ActiveMasterManager:
Master=hadoop1.aj.c2fse.northgrum.com:60000
2011-06-02 10:29:27,751 FATAL org.apache.hadoop.hbase.master.HMaster: Unhandled
exception. Starting shutdown.
java.io.IOException: Call to hadoop1/10.64.155.52: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 $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:344)
at
org.apache.hadoop.hbase.master.MasterFileSystem.<init>(MasterFileSystem.java:81)
at
org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:347)
at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:283)
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-06-02 10:29:27,752 INFO org.apache.hadoop.hbase.master.HMaster: Aborting
2011-06-02 10:29:27,752 DEBUG org.apache.hadoop.hbase.master.HMaster: Stopping
service threads
2011-06-02 10:29:27,752 INFO org.apache.hadoop.ipc.HBaseServer: Stopping server
on 60000
2011-06-02 10:29:27,752 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
handler 1 on 60000: exiting
2011-06-02 10:29:27,752 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
handler 0 on 60000: exiting
2011-06-02 10:29:27,752 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
handler 9 on 60000: exiting
2011-06-02 10:29:27,752 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
handler 4 on 60000: exiting
2011-06-02 10:29:27,752 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
handler 2 on 60000: exiting
2011-06-02 10:29:27,752 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
handler 7 on 60000: exiting
2011-06-02 10:29:27,753 INFO org.apache.hadoop.ipc.HBaseServer: Stopping IPC
Server listener on 60000
2011-06-02 10:29:27,753 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
handler 5 on 60000: exiting
2011-06-02 10:29:27,753 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
handler 3 on 60000: exiting
2011-06-02 10:29:27,761 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
handler 6 on 60000: exiting
2011-06-02 10:29:27,761 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
handler 8 on 60000: exiting
2011-06-02 10:29:27,763 INFO org.apache.hadoop.ipc.HBaseServer: Stopping IPC
Server Responder
2011-06-02 10:29:27,794 INFO org.apache.zookeeper.ClientCnxn: EventThread shut
down
2011-06-02 10:29:27,794 INFO org.apache.zookeeper.ZooKeeper: Session:
0x13050c53f020000 closed
2011-06-02 10:29:27,794 INFO org.apache.hadoop.hbase.master.HMaster: HMaster
main thread exiting
ZOOKEEPER LOG FILE
Thu Jun 2 10:29:24 EDT 2011 Starting zookeeper on hadoop1
ulimit -n 1024
2011-06-02 10:29:34,953 INFO
org.apache.zookeeper.server.quorum.QuorumPeerConfig: Defaulting to majority
quorums
2011-06-02 10:29:35,006 DEBUG org.apache.hadoop.hbase.zookeeper.ZKConfig:
preRegister called. Server=com.sun.jmx.mbeanserver.JmxMBeanServer@5328f6ee,
name=log4j:logger=org.apache.hadoop.hbase.zookeeper.ZKConfig
2011-06-02 10:29:35,007 DEBUG org.apache.hadoop.hbase.HBaseConfiguration:
preRegister called. Server=com.sun.jmx.mbeanserver.JmxMBeanServer@5328f6ee,
name=log4j:logger=org.apache.hadoop.hbase.HBaseConfiguration
2011-06-02 10:29:35,007 DEBUG org.apache.hadoop.hbase: preRegister called.
Server=com.sun.jmx.mbeanserver.JmxMBeanServer@5328f6ee,
name=log4j:logger=org.apache.hadoop.hbase
2011-06-02 10:29:35,007 INFO org.apache.zookeeper.server.quorum.QuorumPeerMain:
Starting quorum peer
2011-06-02 10:29:35,030 INFO org.apache.zookeeper.server.NIOServerCnxn: binding
to port 0.0.0.0/0.0.0.0:2181
2011-06-02 10:29:35,047 INFO org.apache.zookeeper.server.quorum.QuorumPeer:
tickTime set to 3000
2011-06-02 10:29:35,047 INFO org.apache.zookeeper.server.quorum.QuorumPeer:
minSessionTimeout set to -1
2011-06-02 10:29:35,047 INFO org.apache.zookeeper.server.quorum.QuorumPeer:
maxSessionTimeout set to 180000
2011-06-02 10:29:35,047 INFO org.apache.zookeeper.server.quorum.QuorumPeer:
initLimit set to 10
2011-06-02 10:29:35,065 INFO
org.apache.zookeeper.server.quorum.QuorumCnxManager: My election bind port: 3888
2011-06-02 10:29:35,077 INFO org.apache.zookeeper.server.quorum.QuorumPeer:
LOOKING
2011-06-02 10:29:35,079 INFO
org.apache.zookeeper.server.quorum.FastLeaderElection: New election. My id =
0, Proposed zxid = 0
2011-06-02 10:29:35,083 INFO
org.apache.zookeeper.server.quorum.FastLeaderElection: Notification: 0
(n.leader), 0 (n.zxid), 1 (n.round), LOOKING (n.state), 0 (n.sid), LOOKING (my
state)
2011-06-02 10:29:35,086 INFO
org.apache.zookeeper.server.quorum.QuorumCnxManager: Have smaller server
identifier, so dropping the connection: (1, 0)
2011-06-02 10:29:35,087 INFO
org.apache.zookeeper.server.quorum.QuorumCnxManager: Have smaller server
identifier, so dropping the connection: (2, 0)
2011-06-02 10:29:35,091 INFO
org.apache.zookeeper.server.quorum.FastLeaderElection: Notification: 1
(n.leader), 0 (n.zxid), 1 (n.round), LOOKING (n.state), 1 (n.sid), LOOKING (my
state)
2011-06-02 10:29:35,091 INFO
org.apache.zookeeper.server.quorum.FastLeaderElection: Updating proposal
2011-06-02 10:29:35,093 INFO
org.apache.zookeeper.server.quorum.FastLeaderElection: Notification: 1
(n.leader), 0 (n.zxid), 1 (n.round), LOOKING (n.state), 0 (n.sid), LOOKING (my
state)
2011-06-02 10:29:35,093 INFO
org.apache.zookeeper.server.quorum.FastLeaderElection: Notification: 2
(n.leader), 0 (n.zxid), 1 (n.round), LOOKING (n.state), 1 (n.sid), LOOKING (my
state)
2011-06-02 10:29:35,093 INFO
org.apache.zookeeper.server.quorum.FastLeaderElection: Notification: 2
(n.leader), 0 (n.zxid), 1 (n.round), FOLLOWING (n.state), 1 (n.sid), LOOKING
(my state)
2011-06-02 10:29:35,093 INFO
org.apache.zookeeper.server.quorum.FastLeaderElection: Updating proposal
2011-06-02 10:29:35,093 INFO
org.apache.zookeeper.server.quorum.FastLeaderElection: Notification: 2
(n.leader), 0 (n.zxid), 1 (n.round), LOOKING (n.state), 2 (n.sid), LOOKING (my
state)
2011-06-02 10:29:35,093 INFO
org.apache.zookeeper.server.quorum.FastLeaderElection: Notification: 2
(n.leader), 0 (n.zxid), 1 (n.round), LEADING (n.state), 2 (n.sid), LOOKING (my
state)
2011-06-02 10:29:35,093 INFO
org.apache.zookeeper.server.quorum.FastLeaderElection: Notification: 2
(n.leader), 0 (n.zxid), 1 (n.round), LOOKING (n.state), 0 (n.sid), LOOKING (my
state)
2011-06-02 10:29:35,094 INFO org.apache.zookeeper.server.quorum.QuorumPeer:
FOLLOWING
2011-06-02 10:29:35,094 INFO
org.apache.zookeeper.server.quorum.FastLeaderElection: Notification: 2
(n.leader), 0 (n.zxid), 1 (n.round), FOLLOWING (n.state), 1 (n.sid), FOLLOWING
(my state)
2011-06-02 10:29:35,094 INFO
org.apache.zookeeper.server.quorum.FastLeaderElection: Notification: 2
(n.leader), 0 (n.zxid), 1 (n.round), LEADING (n.state), 2 (n.sid), FOLLOWING
(my state)
2011-06-02 10:29:35,094 INFO
org.apache.zookeeper.server.quorum.FastLeaderElection: Notification: 0
(n.leader), 0 (n.zxid), 1 (n.round), FOLLOWING (n.state), 0 (n.sid), FOLLOWING
(my state)
2011-06-02 10:29:35,094 INFO
org.apache.zookeeper.server.quorum.FastLeaderElection: Notification: 2
(n.leader), 0 (n.zxid), 1 (n.round), LEADING (n.state), 2 (n.sid), FOLLOWING
(my state)
2011-06-02 10:29:35,094 INFO
org.apache.zookeeper.server.quorum.FastLeaderElection: Notification: 2
(n.leader), 0 (n.zxid), 1 (n.round), FOLLOWING (n.state), 1 (n.sid), FOLLOWING
(my state)
2011-06-02 10:29:35,100 INFO org.apache.zookeeper.server.quorum.Learner: TCP
NoDelay set to: true
2011-06-02 10:29:35,107 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:zookeeper.version=3.3.2-1031432, built on 11/05/2010 05:32
GMT
2011-06-02 10:29:35,107 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:host.name=hadoop1.aj.c2fse.northgrum.com
2011-06-02 10:29:35,108 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:java.version=1.6.0_25
2011-06-02 10:29:35,108 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:java.vendor=Sun Microsystems Inc.
2011-06-02 10:29:35,108 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:java.home=/home/ngc/jdk1.6.0_25/jre
2011-06-02 10:29:35,108 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server
environment:java.class.path=/home/ngc/hbase-0.90.3/conf:/home/ngc/jdk1.6.0_25/lib/tools.jar:/home/ngc/hbase-0.90.3/bin/..:/home/ngc/hbase-0.90.3/bin/../hbase-0.90.3.jar:/home/ngc/hbase-0.90.3/bin/../hbase-0.90.3-tests.jar:/home/ngc/hbase-0.90.3/bin/../lib/activation-1.1.jar:/home/ngc/hbase-0.90.3/bin/../lib/asm-3.1.jar:/home/ngc/hbase-0.90.3/bin/../lib/avro-1.3.3.jar:/home/ngc/hbase-0.90.3/bin/../lib/commons-cli-1.2.jar:/home/ngc/hbase-0.90.3/bin/../lib/commons-codec-1.4.jar:/home/ngc/hbase-0.90.3/bin/../lib/commons-el-1.0.jar:/home/ngc/hbase-0.90.3/bin/../lib/commons-httpclient-3.1.jar:/home/ngc/hbase-0.90.3/bin/../lib/commons-lang-2.5.jar:/home/ngc/hbase-0.90.3/bin/../lib/commons-logging-1.1.1.jar:/home/ngc/hbase-0.90.3/bin/../lib/commons-net-1.4.1.jar:/home/ngc/hbase-0.90.3/bin/../lib/core-3.1.1.jar:/home/ngc/hbase-0.90.3/bin/../lib/guava-r06.jar:/home/ngc/hbase-0.90.3/bin/../lib/hadoop-core-0.20-append-r1056497.jar:/home/ngc/hbase-0.90.3/bin/../lib/jackson-core-asl-1.5.5.jar:/home/ngc/hbase-0.90.3/bin/../lib/jackson-jaxrs-1.5.5.jar:/home/ngc/hbase-0.90.3/bin/../lib/jackson-mapper-asl-1.4.2.jar:/home/ngc/hbase-0.90.3/bin/../lib/jackson-xc-1.5.5.jar:/home/ngc/hbase-0.90.3/bin/../lib/jasper-compiler-5.5.23.jar:/home/ngc/hbase-0.90.3/bin/../lib/jasper-runtime-5.5.23.jar:/home/ngc/hbase-0.90.3/bin/../lib/jaxb-api-2.1.jar:/home/ngc/hbase-0.90.3/bin/../lib/jaxb-impl-2.1.12.jar:/home/ngc/hbase-0.90.3/bin/../lib/jersey-core-1.4.jar:/home/ngc/hbase-0.90.3/bin/../lib/jersey-json-1.4.jar:/home/ngc/hbase-0.90.3/bin/../lib/jersey-server-1.4.jar:/home/ngc/hbase-0.90.3/bin/../lib/jettison-1.1.jar:/home/ngc/hbase-0.90.3/bin/../lib/jetty-6.1.26.jar:/home/ngc/hbase-0.90.3/bin/../lib/jetty-util-6.1.26.jar:/home/ngc/hbase-0.90.3/bin/../lib/jruby-complete-1.6.0.jar:/home/ngc/hbase-0.90.3/bin/../lib/jsp-2.1-6.1.14.jar:/home/ngc/hbase-0.90.3/bin/../lib/jsp-api-2.1-6.1.14.jar:/home/ngc/hbase-0.90.3/bin/../lib/jsr311-api-1.1.1.jar:/home/ngc/hbase-0.90.3/bin/../lib/log4j-1.2.16.jar:/home/ngc/hbase-0.90.3/bin/../lib/protobuf-java-2.3.0.jar:/home/ngc/hbase-0.90.3/bin/../lib/servlet-api-2.5-6.1.14.jar:/home/ngc/hbase-0.90.3/bin/../lib/slf4j-api-1.5.8.jar:/home/ngc/hbase-0.90.3/bin/../lib/slf4j-log4j12-1.5.8.jar:/home/ngc/hbase-0.90.3/bin/../lib/stax-api-1.0.1.jar:/home/ngc/hbase-0.90.3/bin/../lib/thrift-0.2.0.jar:/home/ngc/hbase-0.90.3/bin/../lib/xmlenc-0.52.jar:/home/ngc/hbase-0.90.3/bin/../lib/zookeeper-3.3.2.jar
2011-06-02 10:29:35,108 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server
environment:java.library.path=/home/ngc/jdk1.6.0_25/jre/lib/amd64/server:/home/ngc/jdk1.6.0_25/jre/lib/amd64:/home/ngc/jdk1.6.0_25/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
2011-06-02 10:29:35,108 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:java.io.tmpdir=/tmp
2011-06-02 10:29:35,108 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:java.compiler=<NA>
2011-06-02 10:29:35,108 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:os.name=Linux
2011-06-02 10:29:35,108 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:os.arch=amd64
2011-06-02 10:29:35,108 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:os.version=2.6.32-24-server
2011-06-02 10:29:35,108 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:user.name=ngc
2011-06-02 10:29:35,108 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:user.home=/home/ngc
2011-06-02 10:29:35,108 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:user.dir=/home/ngc/hbase-0.90.3
2011-06-02 10:29:35,109 INFO org.apache.zookeeper.server.ZooKeeperServer:
Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout
180000 datadir /tmp/hbase-ngc/zookeeper/version-2 snapdir
/tmp/hbase-ngc/zookeeper/version-2
2011-06-02 10:29:35,121 INFO org.apache.zookeeper.server.quorum.Learner:
Getting a snapshot from leader
2011-06-02 10:29:35,127 INFO org.apache.zookeeper.server.quorum.Learner:
Setting leader epoch 1
2011-06-02 10:29:35,141 INFO
org.apache.zookeeper.server.persistence.FileTxnSnapLog: Snapshotting: 100000012
2011-06-02 10:41:39,392 WARN org.apache.zookeeper.server.quorum.Learner: Got
zxid 0x100000013 expected 0x1
2011-06-02 10:41:39,392 INFO
org.apache.zookeeper.server.persistence.FileTxnLog: Creating new log file:
log.100000013
HBASE-SITE.XML
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
/**
* Copyright 2010 The Apache Software Foundation
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<configuration>
<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.master</name>
<value>hadoop1: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://hadoop1:9000/hbase</value>
</property>
<property>
<name>hbase.zookeeper.quorum</name>
<value>hadoop1,hadoop2,hadoop3</value>
</property>
</configuration>
HBASE-ENV.SH
#
#/**
# * Copyright 2007 The Apache Software Foundation
# *
# * Licensed to the Apache Software Foundation (ASF) under one
# * or more contributor license agreements. See the NOTICE file
# * distributed with this work for additional information
# * regarding copyright ownership. The ASF licenses this file
# * to you under the Apache License, Version 2.0 (the
# * "License"); you may not use this file except in compliance
# * with the License. You may obtain a copy of the License at
# *
# * http://www.apache.org/licenses/LICENSE-2.0
# *
# * Unless required by applicable law or agreed to in writing, software
# * distributed under the License is distributed on an "AS IS" BASIS,
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# * See the License for the specific language governing permissions and
# * limitations under the License.
# */
# Set environment variables here.
# The java implementation to use. Java 1.6 required.
export JAVA_HOME=/home/ngc/jdk1.6.0_25
# Extra Java CLASSPATH elements. Optional.
# export HBASE_CLASSPATH=
# The maximum amount of heap to use, in MB. Default is 1000.
export HBASE_HEAPSIZE=8000
# Extra Java runtime options.
# Below are what we set by default. May only work with SUN JVM.
# For more on why as well as other possible settings,
# see http://wiki.apache.org/hadoop/PerformanceTuning
export HBASE_OPTS="-ea -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode"
# Uncomment below to enable java garbage collection logging.
# export HBASE_OPTS="$HBASE_OPTS -verbose:gc -XX:+PrintGCDetails
-XX:+PrintGCDateStamps -Xloggc:$HBASE_HOME/logs/gc-hbase.log"
# Uncomment and adjust to enable JMX exporting
# See jmxremote.password and jmxremote.access in $JRE_HOME/lib/management to
configure remote password access.
# More details at:
http://java.sun.com/javase/6/docs/technotes/guides/management/agent.html
#
# export HBASE_JMX_BASE="-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false"
# export HBASE_MASTER_OPTS="$HBASE_JMX_BASE
-Dcom.sun.management.jmxremote.port=10101 -javaagent:lib/HelloWorldAgent.jar"
# export HBASE_REGIONSERVER_OPTS="$HBASE_JMX_BASE
-Dcom.sun.management.jmxremote.port=10102"
# export HBASE_THRIFT_OPTS="$HBASE_JMX_BASE
-Dcom.sun.management.jmxremote.port=10103"
# export HBASE_ZOOKEEPER_OPTS="$HBASE_JMX_BASE
-Dcom.sun.management.jmxremote.port=10104"
# File naming hosts on which HRegionServers will run.
$HBASE_HOME/conf/regionservers by default.
# export HBASE_REGIONSERVERS=${HBASE_HOME}/conf/regionservers
# Extra ssh options. Empty by default.
# export HBASE_SSH_OPTS="-o ConnectTimeout=1 -o SendEnv=HBASE_CONF_DIR"
# Where log files are stored. $HBASE_HOME/logs by default.
# export HBASE_LOG_DIR=${HBASE_HOME}/logs
export HBASE_LOG_DIR=/tmp/hbase-ngc/logs
# A string representing this instance of hbase. $USER by default.
# export HBASE_IDENT_STRING=$USER
# The scheduling priority for daemon processes. See 'man nice'.
# export HBASE_NICENESS=10
# The directory where pid files are stored. /tmp by default.
# export HBASE_PID_DIR=/var/hadoop/pids
# Seconds to sleep between slave commands. Unset by default. This
# can be useful in large clusters, where, e.g., slave rsyncs can
# otherwise arrive faster than the master can service them.
# export HBASE_SLAVE_SLEEP=0.1
# Tell HBase whether it should manage it's own instance of Zookeeper or not.
export HBASE_MANAGES_ZK=true