4613 NodeManager
4064 DataNode
4301 SecondaryNameNode
5229 HQuorumPeer
5561 Jps
3937 NameNode
4479 ResourceManager
启动hadoop和hbase后,就是这样,Hmaster和Hregionserver进程消失了,
hbase-site.xml的配置:
<configuration>
<property>
<name>hbase.rootdir</name>
<value>hdfs://localhost:54310/hbase</value>
</property>
<property>
<name>hbase.zookeeper.quorum</name>
<value>127.0.0.1</value>
</property>
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>/var/zookeeper</value>
</property>
<property>
<name>hbase.master.port</name>
<value>60000</value>
<description>The port the HBase Master should bind to.</description>
</property>
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>/usr/local/hbase/data/zookeeper</value>
</property>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
</configuration>
启动后,Hmaster的日志信息:
XX:MaxPermSize=128m, -Dhbase.log.dir=/usr/local/hbase/logs, -Dhbase.log.file=hbase-hduser_-master-jie-ubantu.log, -Dhbase.home.dir=/usr/local/hbase, -Dhbase.id.str=hduser_, -Dhbase.root.logger=INFO,RFA, -Djava.library.path=/usr/local/hadoop/lib/native, -Dhbase.security.logger=INFO,RFAS]
2016-12-08 17:36:31,703 INFO [main] regionserver.RSRpcServices: master/ppc124.cc.jl.cn/202.98.24.124:60000 server-side HConnection retries=350
2016-12-08 17:36:31,829 INFO [main] ipc.SimpleRpcScheduler: Using deadline as user call queue, count=3
2016-12-08 17:36:31,837 ERROR [main] master.HMasterCommandLine: Master exiting
java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster.
at org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:2422)
at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:232)
at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:138)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:126)
at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2432)
Caused by: java.io.IOException: Problem binding to ppc124.cc.jl.cn/202.98.24.124:60000 : Cannot assign requested address. To switch ports use the 'hbase.master.port' configuration property.
at org.apache.hadoop.hbase.regionserver.RSRpcServices.<init>(RSRpcServices.java:934)
at org.apache.hadoop.hbase.master.MasterRpcServices.<init>(MasterRpcServices.java:230)
at org.apache.hadoop.hbase.master.HMaster.createRpcServices(HMaster.java:532)
at org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(HRegionServer.java:534)
at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:379)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:2415)
... 5 more
Caused by: java.net.BindException: Cannot assign requested address
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:444)
at sun.nio.ch.Net.bind(Net.java:436)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.apache.hadoop.hbase.ipc.RpcServer.bind(RpcServer.java:2581)
at org.apache.hadoop.hbase.ipc.RpcServer$Listener.<init>(RpcServer.java:575)
at org.apache.hadoop.hbase.ipc.RpcServer.<init>(RpcServer.java:2027)
at org.apache.hadoop.hbase.regionserver.RSRpcServices.<init>(RSRpcServices.java:927)
... 14 more
Hregionserver日志的信息:
2016-12-08 17:36:31,650 INFO [main] util.ServerCommandLine: env:HBASE_THRIFT_OPTS=
2016-12-08 17:36:31,650 INFO [main] util.ServerCommandLine: env:PIG_HOME=/usr/local/pig
2016-12-08 17:36:31,650 INFO [main] util.ServerCommandLine: env:INSTANCE=Unity
2016-12-08 17:36:31,650 INFO [main] util.ServerCommandLine: env:CLUTTER_IM_MODULE=xim
2016-12-08 17:36:31,650 INFO [main] util.ServerCommandLine: env:HOME=/home/hduser_
2016-12-08 17:36:31,650 INFO [main] util.ServerCommandLine: env:VTE_VERSION=4205
2016-12-08 17:36:31,650 INFO [main] util.ServerCommandLine: env:LESSOPEN=| /usr/bin/lesspipe %s
2016-12-08 17:36:31,650 INFO [main] util.ServerCommandLine: env:DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
2016-12-08 17:36:31,650 INFO [main] util.ServerCommandLine: env:XDG_SESSION_DESKTOP=ubuntu
2016-12-08 17:36:31,650 INFO [main] util.ServerCommandLine: env:HBASE_LOG_PREFIX=hbase-hduser_-1-regionserver-jie-ubantu
2016-12-08 17:36:31,650 INFO [main] util.ServerCommandLine: env:HBASE_IDENT_STRING=hduser_-1
2016-12-08 17:36:31,651 INFO [main] util.ServerCommandLine: vmName=Java HotSpot(TM) 64-Bit Server VM, vmVendor=Oracle Corporation, vmVersion=23.25-b01
2016-12-08 17:36:31,651 INFO [main] util.ServerCommandLine: vmInputArguments=[-Dproc_regionserver, -XX:OnOutOfMemoryError=kill -9 %p, -XX:+UseConcMarkSweepGC, -Dhbase.log.dir=/usr/local/hbase/logs, -Dhbase.log.file=hbase-hduser_-1-regionserver-jie-ubantu.log, -Dhbase.home.dir=/usr/local/hbase, -Dhbase.id.str=hduser_-1, -Dhbase.root.logger=INFO,RFA, -Djava.library.path=/usr/local/hadoop/lib/native, -Dhbase.security.logger=INFO,RFAS]
2016-12-08 17:36:32,180 INFO [main] regionserver.RSRpcServices: regionserver/ppc125.cc.jl.cn/202.98.24.125:16201 server-side HConnection retries=350
2016-12-08 17:36:32,269 INFO [main] ipc.SimpleRpcScheduler: Using deadline as user call queue, count=3
2016-12-08 17:36:32,275 ERROR [main] regionserver.HRegionServerCommandLine: Region server exiting
java.lang.RuntimeException: Failed construction of Regionserver: class org.apache.hadoop.hbase.regionserver.HRegionServer
at org.apache.hadoop.hbase.regionserver.HRegionServer.constructRegionServer(HRegionServer.java:2650)
at org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.start(HRegionServerCommandLine.java:64)
at org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.run(HRegionServerCommandLine.java:87)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:126)
at org.apache.hadoop.hbase.regionserver.HRegionServer.main(HRegionServer.java:2665)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.apache.hadoop.hbase.regionserver.HRegionServer.constructRegionServer(HRegionServer.java:2648)
... 5 more
Caused by: java.io.IOException: Problem binding to ppc125.cc.jl.cn/202.98.24.125:16201 : Cannot assign requested address. To switch ports use the 'hbase.regionserver.port' configuration property.
at org.apache.hadoop.hbase.regionserver.RSRpcServices.<init>(RSRpcServices.java:934)
at org.apache.hadoop.hbase.regionserver.HRegionServer.createRpcServices(HRegionServer.java:646)
at org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(HRegionServer.java:534)
... 10 more
Caused by: java.net.BindException: Cannot assign requested address
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:444)
at sun.nio.ch.Net.bind(Net.java:436)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.apache.hadoop.hbase.ipc.RpcServer.bind(RpcServer.java:2581)
at org.apache.hadoop.hbase.ipc.RpcServer$Listener.<init>(RpcServer.java:575)
at org.apache.hadoop.hbase.ipc.RpcServer.<init>(RpcServer.java:2027)
at org.apache.hadoop.hbase.regionserver.RSRpcServices.<init>(RSRpcServices.java:927)
... 12 more
zookeeper的日志信息:
2016-12-08 17:36:29,946 INFO [main] server.ZooKeeperServer: Server environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
2016-12-08 17:36:29,946 INFO [main] server.ZooKeeperServer: Server environment:java.io.tmpdir=/tmp
2016-12-08 17:36:29,946 INFO [main] server.ZooKeeperServer: Server environment:java.compiler=<NA>
2016-12-08 17:36:29,946 INFO [main] server.ZooKeeperServer: Server environment:os.name=Linux
2016-12-08 17:36:29,946 INFO [main] server.ZooKeeperServer: Server environment:os.arch=amd64
2016-12-08 17:36:29,946 INFO [main] server.ZooKeeperServer: Server environment:os.version=4.4.0-53-generic
2016-12-08 17:36:29,946 INFO [main] server.ZooKeeperServer: Server environment:user.name=hduser_
2016-12-08 17:36:29,946 INFO [main] server.ZooKeeperServer: Server environment:user.home=/home/hduser_
2016-12-08 17:36:29,946 INFO [main] server.ZooKeeperServer: Server environment:user.dir=/usr/local/hbase
2016-12-08 17:36:29,950 INFO [main] server.ZooKeeperServer: tickTime set to 3000
2016-12-08 17:36:29,950 INFO [main] server.ZooKeeperServer: minSessionTimeout set to -1
2016-12-08 17:36:29,950 INFO [main] server.ZooKeeperServer: maxSessionTimeout set to 90000
2016-12-08 17:36:29,962 INFO [main] server.NIOServerCnxnFactory: binding to port 0.0.0.0/0.0.0.0:2181
2016-12-08 17:38:03,000 INFO [SessionTracker] server.ZooKeeperServer: Expiring session 0x158d8dc58f10000, timeout of 90000ms exceeded
2016-12-08 17:38:03,000 INFO [SessionTracker] server.ZooKeeperServer: Expiring session 0x158d8dc58f10001, timeout of 90000ms exceeded
2016-12-08 17:38:03,000 INFO [ProcessThread(sid:0 cport:-1):] server.PrepRequestProcessor: Processed session termination for sessionid: 0x158d8dc58f10000
2016-12-08 17:38:03,000 INFO [ProcessThread(sid:0 cport:-1):] server.PrepRequestProcessor: Processed session termination for sessionid: 0x158d8dc58f10001
2016-12-08 17:38:03,000 INFO [SyncThread:0] persistence.FileTxnLog: Creating new log file: log.33
我把我感觉和这问题的有关的信息都粘出来了,,,,大神请过目。。。。。。。 |