hbase 启动后自动退出

日志 如下
2017-11-22 15:59:03,632 INFO [main] util.ServerCommandLine: env:CVS_RSH=ssh
2017-11-22 15:59:03,632 INFO [main] util.ServerCommandLine: env:HBASE_MANAGES_ZK=false
2017-11-22 15:59:03,632 INFO [main] util.ServerCommandLine: env:G_BROKEN_FILENAMES=1
2017-11-22 15:59:03,632 INFO [main] util.ServerCommandLine: env:HBASE_NICENESS=0
2017-11-22 15:59:03,632 INFO [main] util.ServerCommandLine: env:HBASE_REST_OPTS=
2017-11-22 15:59:03,632 INFO [main] util.ServerCommandLine: env:NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:187)
at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102)
at com.sun.proxy.$Proxy15.getFileInfo(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.hadoop.hbase.fs.HFileSystem$1.invoke(HFileSystem.java:279)
at com.sun.proxy.$Proxy16.getFileInfo(Unknown Source)
at org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:1977)
at org.apache.hadoop.hdfs.DistributedFileSystem$18.doCall(DistributedFileSystem.java:1118)
at org.apache.hadoop.hdfs.DistributedFileSystem$18.doCall(DistributedFileSystem.java:1114)
at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1114)
at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1400)
at org.apache.hadoop.hbase.master.MasterFileSystem.checkRootDir(MasterFileSystem.java:436)
at org.apache.hadoop.hbase.master.MasterFileSystem.createInitialFileSystemLayout(MasterFileSystem.java:153)
at org.apache.hadoop.hbase.master.MasterFileSystem.(MasterFileSystem.java:128)
at org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:693)
at org.apache.hadoop.hbase.master.HMaster.access$600(HMaster.java:189)
at org.apache.hadoop.hbase.master.HMaster$2.run(HMaster.java:1803)
at java.lang.Thread.run(Thread.java:745)
2017-11-30 15:30:29,684 INFO [master1:16000.activeMasterManager] regionserver.HRegionServer: STOPPED: Unhandled exception. Starting shutdown.
2017-11-30 15:30:32,555 INFO [master/master1/172.17.153.117:16000] ipc.RpcServer: Stopping server on 16000
2017-11-30 15:30:32,555 INFO [RpcServer.listener,port=16000] ipc.RpcServer: RpcServer.listener,port=16000: stopping
2017-11-30 15:30:32,556 INFO [master/master1/172.17.153.117:16000] regionserver.HRegionServer: Stopping infoServer
2017-11-30 15:30:32,557 INFO [RpcServer.responder] ipc.RpcServer: RpcServer.responder: stopped
2017-11-30 15:30:32,557 INFO [RpcServer.responder] ipc.RpcServer: RpcServer.responder: stopping
2017-11-30 15:30:32,565 INFO [master/master1/172.17.153.117:16000] mortbay.log: Stopped SelectChannelConnector@0.0.0.0:6123
2017-11-30 15:30:32,565 INFO [master/master1/172.17.153.117:16000] regionserver.HRegionServer: stopping server master1,16000,1512027026091
2017-11-30 15:30:32,565 INFO [master/master1/172.17.153.117:16000] client.ConnectionManager$HConnectionImplementation: Closing zookeeper sessionid=0x15fe8b9c7df000a
2017-11-30 15:30:32,570 INFO [master/master1/172.17.153.117:16000-EventThread] zookeeper.ClientCnxn: EventThread shut down
2017-11-30 15:30:32,570 INFO [master/master1/172.17.153.117:16000] zookeeper.ZooKeeper: Session: 0x15fe8b9c7df000a closed
2017-11-30 15:30:32,572 INFO [master/master1/172.17.153.117:16000] regionserver.HRegionServer: stopping server master1,16000,1512027026091; all regions closed.
2017-11-30 15:30:32,573 INFO [master/master1/172.17.153.117:16000] hbase.ChoreService: Chore service for: master1,16000,1512027026091 had [] on shutdown
2017-11-30 15:30:32,578 INFO [master/master1/172.17.153.117:16000] ipc.RpcServer: Stopping server on 16000
2017-11-30 15:30:32,587 INFO [main-EventThread] zookeeper.ClientCnxn: EventThread shut down
2017-11-30 15:30:32,587 INFO [master/master1/172.17.153.117:16000] zookeeper.ZooKeeper: Session: 0x45fe8b9c7260005 closed
2017-11-30 15:30:32,587 INFO [master/master1/172.17.153.117:16000] regionserver.HRegionServer: stopping server master1,16000,1512027026091; zookeeper connection closed.

配置文件



hbase.rootdir
hdfs://172.17.153.117:8020/hbase


hbase.tmp.dir
file:/root/app/hbase-1.0.0/tmp


hbase.cluster.distributed
true


hbase.zookeeper.quorum
172.17.153.117,master2,slave1,slave2,slave3


hbase.zookeeper.property.clientPort
2181


hbase.zookeeper.property.dataDir
/root/app/zookeeper-3.4.5/var/data


hbase.master.info.port
6123
The port the HBase Master should bind to.

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
HBase启动失败,启动后自动退出
2017-07-23 08:12:50,325 ERROR [main] master.HMasterCommandLine: Master exiting java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster at org.ap
Hbase自带Zookeeper启动后,hmaster退出
启动Hbase:start-hbase.sh starting master, logging to /root/training/hbase-1.3.1/logs/hbase-root-master-bigdata111.out Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m; support ...
HBase 启动后HMaster进程自动消失
原因分析 1、hadoop 与 hbase 版本不兼容,导致的异常。 2、log日志信息显示 org.apache.hadoop.hbase.TableExistsException: hbase:namespace 异常,可能是更换了hbase的版本后zookeeper还保留着上一次的hbase设置,造成了冲突。 解决方案 1、进入zookeeper的bin目录; 2、执行客户端脚本:...
docker-compose启动容器后自动退出
List item
epoc/eshell启动后自动退出
在symbian开发时,遇到epoc和eshell启动时有时会自动退出。有的时候是epoc能正常启动,eshell自动退出。rn求高手赐教。
hbase启动后hmaster一会自动挂掉,hregionserver启动不了
背景是这样 hbase单机伪分布式 zookeeper采用的虚拟机的单节点zookeeper 执行 start-hbase.sh 后 问题一 启动了hmaster 一会自己又挂掉了 解决: zookeeper问题 没启动好 检查zoo.cfg发现里面配置的server ip 不对 问题二 hregionserver无法启动: 查看日志 显示16020端口占用 和hmaster冲突 解决: 使...
重启Storm时,启动Supervisor 启动后自动退出
重启Storm时,启动Supervisor 启动后自动退出在启动storm集群时,某个节点启动Supervisor 进程后后自动退出
金山毒霸启动会自动退出
rnrn金山毒霸启动会自动退出,请高手指点,分可以再加
启动weblogic时候 自动退出
现象:(weblogic version 10.3.2) 在停止weblogic 的时候,手动删掉放在autodeploy下面的war 然后启动的时候 出现 java.lang.NullPointerException     at weblogic.deploy.internal.adminserver.DeploymentManager.getPendingDeploymentsForE...
hbase启动后HMaster自动关闭
现象描述:搭建好hbase集群并启动集群后发现,HMaster在启动后几秒内自动关闭,HRegionServer运行正常。错误日志:2016-11-16 17:12:02,061 FATAL [hadoop1:16000.activeMasterManager] master.HMaster: Failed to become active master java.net.ConnectExcept
Hbase启动后没启动Hmaster
查看显示的错误信息 hbase-site.xml:2:6: The processing instruction target matching "[xX][mM][lL]" is not allowed. 2019-05-21 16:38:33,696 FATAL [main] conf.Configuration: error parsing conf hbase-site.xml h...
急!用户登录后自动退出
基于ASP的网站,用户登录时常出现下列情况,是哪里出了问题?rn1.用户登录后,发表文章时会自动退出;rn2.用户登录多次后会偶尔进入后台
windows2000d登录后自动退出
我用瑞星删除感染文件的方式杀毒后,windows2000登录后提示正在加载个人设置,马上又变成保存设置退到录入口令状态,无法成功登录。我将别的机器的c:\Documents and Settings的用户配置文件复制过来也没用,也检查了根目录的系统文件并不缺,我估计是被瑞星删除了一个系统文件,导致所有的用户都无法登录,但不知是那一个目录下的文件,请高手指教。
Hbase启动后Hmaster自动消失,求大神教导
日志报错 2018年 05月 11日 星期五 10:47:03 CST Starting master on Hbase.Testcore file size          (blocks, -c) 0data seg size           (kbytes, -d) unlimitedscheduling priority             (-e) 0file size    ...
HBase启动后RegionServer自动挂原因及解决办法【ntp】
前天重新在集群配置了一遍Hbase,./start-hbase.sh后各个节点都运行正常,进入hbase shell之后也能正常的增删查改,高兴了一番。今天再启动发现进行普通的status\list\create操作都会报出Master is initializing的错。然后在各个节点jps后发现所有从点的RegionServer都挂了,主节点的Hmaster还正常运行着。      在从
HBASE中Hmaster启动后自动挂掉的问题
log文件报错java.lang.IllegalStateException: The procedure WAL relies on the ability to hsync for proper operation during component failures, but the underlying filesystem does not support doing so. Please...
为什么我的WIN2000启动后马上自动退出????急
我的WIN2000在出现用户登陆界面,输入密码后,可以听到WINDOWS的开机音乐,之后又退回到了WIN2000的登陆界面,这是为什么,怎么才能解决?????????????
HBase启动
# HBase中组件及启动流程记录   ## 1.服务组件 - Client     -包含访问HBase的接口,并维护cache来加快对HBase的访问,比如region的位置信息     - Master     - 为Region server分配region     - 负责Region server的负载均衡     - 发现失效的Region server并重新分配
start-hbase.sh
[wangshumin@centoshostnameKL1 conf]$ ll总用量 56-rw-rw-r--. 1 wangshumin wangshumin   18 1月  23 13:10 backup-masters-rw-r--r--. 1 wangshumin wangshumin  974 1月  23 13:02 core-site.xml-rw-r--r--. 1 wangsh...
eclipse防止自动退出的优化启动的批处理
众所周知,eclipse有bug,不使用优化启动的话经常会耗尽内存自动退出。<br><br>优化的方法有建立快捷方式然后跟参数-vmargs -Xms128m -Xmx512m -XX:PermSize=128m -XX:PermSize=256m,比较麻烦。所以用现成的配置好的批处理方便一些。<br><br>使用方式:拷贝到eclipse文件夹里面执行就行了。这样就不会自动退出了
docker 启动容器自动退出问题
sudo docker run -d --name cs3 -p 9001:9001 -p 9002:9002 --privileged 1e1148e4cc2c /bin/bash -c &quot;while true; do echo hello world; sleep 1; done&quot; 可用以上命令执行     centos 没有service命令 yum install initsc...
如何自动获取进程的启动与退出?
本人用Process类来监控进程的运行,但没法自动得知什么进程刚启动和刚退出,总要遍历所有的已在运行的进程并进行判断.有没有方法像事件那样当有进程启动或退出时可以得知那个进程?恳请各位高手指点一下!!!!
xcode 6.4 启动虚拟机自动退出
xcode 6.4 启动虚拟机自动退出 vmware 10 安装 mac os 10.9,之后更新到10.10,安转xcode 6.4。xcode 6.4能编译程序,但是当打开虚拟机进行调试时,xcode就会异常自动退出,重装了几遍xcode但还是不行,后来发现xcode 6.4对应系统版本是mac os 10.10.4。 更新了操作系统之后,xcode终于能正常运行了。
hbase集群部分节点HRegionServer启动后自动关闭的问题【Hbase】
报错日志信息 FATAL [regionserver60020] regionserver.HRegionServer: Master rejected startup because clock is out of sync org.apache.hadoop.hbase.ClockOutOfSyncException: org.apache.hadoop.hbase.ClockOutOfS...
hbase启动后hmaster闪挂
hbase启动之后,hmaster几秒钟后挂掉,rs和zk在各个节点的进程均正常 查看hmaster日志显示拒绝连接 2017-08-07 09:59:15,131 FATAL [master:16000.activeMasterManager] master.HMaster: Unhandled exception. Starting shutdown. java.net.ConnectE
hbase启动十几秒后,HMaster和HRegionserver自动关闭
hbase按照如下配置,搭建完成后执行start-dfs.sh、start-yarn.sh启动HDFS成功,但是执行start-hbase.sh后,HMaster和HRegionServer启动十几秒后自动关闭,master.log出现如下错误:rnrn[b]logs/hbase-root-master-master部分内容如下:[/b]rn[code=html]rn2017-01-06 14:35:21,969 INFO [main] zookeeper.ZooKeeper: Client environment:java.library.path=/root/Hadoop/hadoop-2.7.3/lib/nativern2017-01-06 14:35:21,969 INFO [main] zookeeper.ZooKeeper: Client environment:java.io.tmpdir=/tmprn2017-01-06 14:35:21,969 INFO [main] zookeeper.ZooKeeper: Client environment:java.compiler=rn2017-01-06 14:35:21,969 INFO [main] zookeeper.ZooKeeper: Client environment:os.name=Linuxrn2017-01-06 14:35:21,969 INFO [main] zookeeper.ZooKeeper: Client environment:os.arch=amd64rn2017-01-06 14:35:21,969 INFO [main] zookeeper.ZooKeeper: Client environment:os.version=3.10.0-514.el7.x86_64rn2017-01-06 14:35:21,969 INFO [main] zookeeper.ZooKeeper: Client environment:user.name=rootrn2017-01-06 14:35:21,969 INFO [main] zookeeper.ZooKeeper: Client environment:user.home=/rootrn2017-01-06 14:35:21,969 INFO [main] zookeeper.ZooKeeper: Client environment:user.dir=/root/Hbase/hbase-1.2.4/logsrn2017-01-06 14:35:21,971 INFO [main] zookeeper.ZooKeeper: Initiating client connection, connectString=slave1:2181,slave2:2181,slave3:2181 sessionTimeout=90000 watcher=master:160000x0, quorum=slave1:2181,slave2:2181,slave3:2181, baseZNode=/hbasern2017-01-06 14:35:22,048 INFO [main-SendThread(slave2:2181)] zookeeper.ClientCnxn: Opening socket connection to server slave2/192.168.241.237:2181. Will not attempt to authenticate using SASL (unknown error)rn2017-01-06 14:35:22,080 WARN [main-SendThread(slave2:2181)] zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnectrnjava.net.NoRouteToHostException: No route to hostrnat sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)rnat sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)rnat org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)rnat org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)rn2017-01-06 14:35:22,230 INFO [main-SendThread(slave1:2181)] zookeeper.ClientCnxn: Opening socket connection to server slave1/192.168.241.236:2181. Will not attempt to authenticate using SASL (unknown error)rn2017-01-06 14:35:23,239 WARN [main-SendThread(slave1:2181)] zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnectrnjava.net.NoRouteToHostException: No route to hostrnat sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)rnat sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)rnat org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)rnat org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)rn2017-01-06 14:35:23,341 INFO [main-SendThread(slave3:2181)] zookeeper.ClientCnxn: Opening socket connection to server slave3/192.168.241.238:2181. Will not attempt to authenticate using SASL (unknown error)rn2017-01-06 14:35:23,342 WARN [main-SendThread(slave3:2181)] zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnectrnjava.net.NoRouteToHostException: No route to hostrnat sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)rnat sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)rnat org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)rnat org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)rn......此处省略N次重复rnCaused by: org.apache.hadoop.hbase.ZooKeeperConnectionException: master:160000x0, quorum=slave1:2181,slave2:2181,slave3:2181, baseZNode=/hbase Unexpected KeeperException creating base nodernat org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.createBaseZNodes(ZooKeeperWatcher.java:206)rnat org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.(ZooKeeperWatcher.java:187)rnat org.apache.hadoop.hbase.regionserver.HRegionServer.(HRegionServer.java:585)rnat org.apache.hadoop.hbase.master.HMaster.(HMaster.java:381)rnat sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)rnat sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)rnat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)rnat java.lang.reflect.Constructor.newInstance(Constructor.java:423)rnat org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:2419)rn... 5 morernCaused by: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbasernat org.apache.zookeeper.KeeperException.create(KeeperException.java:99)rnat org.apache.zookeeper.KeeperException.create(KeeperException.java:51)rnat org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:783)rnat org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.createNonSequential(RecoverableZooKeeper.java:565)rnat org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.create(RecoverableZooKeeper.java:544)rnat org.apache.hadoop.hbase.zookeeper.ZKUtil.createWithParents(ZKUtil.java:1204)rnat org.apache.hadoop.hbase.zookeeper.ZKUtil.createWithParents(ZKUtil.java:1182)rnat org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.createBaseZNodes(ZooKeeperWatcher.java:194)rn... 13 morern2017-01-06 14:35:39,329 WARN [main-SendThread(slave1:2181)] zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnectrnjava.net.NoRouteToHostException: No route to hostrnat sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)rnat sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)rnat org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)rnat org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)rn[/code]rn[b]master的vim /etc/hostname配置如下[/b]rnmasterrn[b]master的vim /etc/sysconfig/network配置如下:[/b]rn# Created by anacondarnNETWORKING=yesrnHOSTNAME=masterrn[b]/etc/hosts配置如下:[/b]rn127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4rn::1 localhost localhost.localdomain localhost6 localhost6.localdomain6rn192.168.241.235 masterrn192.168.241.236 slave1rn192.168.241.237 slave2rn192.168.241.238 slave3rn[b]/etc/profile 增加的配置如下:[/b]rn78 export JAVA_HOME=/usr/java/jdk1.8.0_112rn79 export CLASSPATH=$CLASSPATH:$JAVA_HOME/lib:$JAVA_HOME/jre/librn80 export PATH=$PATH:$JAVA_HOME/bin:$JAVA_HOME/jre/binrn81 rn82 export HADOOP_HOME=/root/Hadoop/hadoop-2.7.3rn83 export PATH=$PATH:$HADOOP_HOME/bin:$HADOOP_HOME/sbinrn84 rn85 export HBASE_HOME=/root/Hbase/hbase-1.2.4rn86 export PATH=$PATH:$HBASE_HOME/binrn[b]regionserver配置如下:[/b]rnmasterrnslave1rnslave2rnslave3rn[b]hbase-env.sh配置**如下:[/b]rnexport JAVA_HOME=/usr/java/jdk1.8.0_112rnexport HBASE_CLASSPATH=/root/Hadoop/hadoop-2.7.3/etc/hadooprnexport HBASE_OPTS="-XX:+UseConcMarkSweepGC"rnexport HBASE_MANAGES_ZK=truern[b]hbase-site.xml配置如下:[/b]rnrn[code=html] rn rn hbase.rootdirrn hdfs://master:9000/hbasern hadoop集群地址rn rn rn hbase.cluster.distributedrn truern 是否启动集群模式rn rn rn hbase.tmp.dirrn /root/Hbase/hbase-1.2.4/tmprn rn rn hbase.master #指定hbase集群主控节点rn master:60000rn rn rn hbase.zookeeper.quorumrn slave1,slave2,slave3rn zookeeper集群主机名列表rn rn rn hbase.master.maxclockskewrn 180000rn Time difference of regionserver from masterrn rn rn hbase.zookeeper.property.dataDirrn /root/Hbase/hbase-1.2.4/zookeeper_datarn rn rn[/code]rn
启动hbase 后 hmaster 消失 怎么解决?
下面是日志报错信息rn[img=https://img-bbs.csdn.net/upload/201409/29/1411959009_635403.png][/img]rn[img=https://img-bbs.csdn.net/upload/201409/29/1411959021_809825.jpg][/img]rn[img=https://img-bbs.csdn.net/upload/201409/29/1411959032_975029.png][/img]rnrnrn
hbase启动几十秒后,HMaster和HRegionserver自动关闭
采用hbase自带的zookeeper。nhbase-site.xml配置如下:nn n hbase.rootdirn hdfs://master:9000/hbasen hadoop集群地址 n n n hbase.cluster.distributedn truen 是否启动集群模式 n n n hbase.tmp.dirn /root/hbase-1.2.4/tmpn n n hbase.master #指定hbase集群主控节点n master:60000n n n hbase.zookeeper.quorumn slave1,slave2,slave3n zookeeper集群主机名列表n nnhbase-root-master-master.log部分日志如下:n2016-12-26 09:23:53,703 INFO [main-SendThread(slave2:2181)] zookeeper.ClientCnxn: Socket connection established to slave2/192.168.241.237:2181, initiating sessionn2016-12-26 09:23:53,707 INFO [main-SendThread(slave2:2181)] zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnectn2016-12-26 09:23:54,117 INFO [main-SendThread(slave3:2181)] zookeeper.ClientCnxn: Opening socket connection to server slave3/192.168.241.238:2181. Will not attempt to authenticate using SASL (unknown error)n2016-12-26 09:23:54,123 INFO [main-SendThread(slave3:2181)] zookeeper.ClientCnxn: Socket connection established to slave3/192.168.241.238:2181, initiating sessionn2016-12-26 09:23:54,125 INFO [main-SendThread(slave3:2181)] zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnectn2016-12-26 09:23:56,025 INFO [main-SendThread(slave1:2181)] zookeeper.ClientCnxn: Opening socket connection to server slave1/192.168.241.236:2181. Will not attempt to authenticate using SASL (unknown error)n2016-12-26 09:23:56,027 INFO [main-SendThread(slave1:2181)] zookeeper.ClientCnxn: Socket connection established to slave1/192.168.241.236:2181, initiating sessionn2016-12-26 09:23:56,030 INFO [main-SendThread(slave1:2181)] zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnectn2016-12-26 09:23:56,133 ERROR [main] zookeeper.RecoverableZooKeeper: ZooKeeper create failed after 4 attemptsn2016-12-26 09:23:56,134 ERROR [main] master.HMasterCommandLine: Master exitingnjava.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster. n at org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:2426)n at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:231)n at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:137)n at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)n at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:126)n at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2436)nCaused by: org.apache.hadoop.hbase.ZooKeeperConnectionException: master:160000x0, quorum=slave1:2181,slave2:2181,slave3:2181, baseZNode=/hbase Unexpected KeeperException creating base noden at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.createBaseZNodes(ZooKeeperWatcher.java:206)n at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.(ZooKeeperWatcher.java:187)n at org.apache.hadoop.hbase.regionserver.HRegionServer.(HRegionServer.java:585)n at org.apache.hadoop.hbase.master.HMaster.(HMaster.java:381)n at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)n at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)n at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)n at java.lang.reflect.Constructor.newInstance(Constructor.java:422)n at org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:2419)n ... 5 morenCaused by: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbasen at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)n at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)n at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:783)n at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.createNonSequential(RecoverableZooKeeper.java:565)n at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.create(RecoverableZooKeeper.java:544)n at org.apache.hadoop.hbase.zookeeper.ZKUtil.createWithParents(ZKUtil.java:1204)n at org.apache.hadoop.hbase.zookeeper.ZKUtil.createWithParents(ZKUtil.java:1182)n at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.createBaseZNodes(ZooKeeperWatcher.java:194)n ... 13 moren
hbase中的master启动后自动关闭
问题描述: 原本非ha下,hbase正常启动。切换为hadoop-ha后,hbase启动无法启动master。 分析: hbase的数据存放在hdfs中,元数据存放在hdfs和zookeeper中。如果重新格式化hdfs则原来的hbase数据消失。但是元数据依旧存放在zookeeper中。此时启动hbase,zookeeper中有关hbase的元数据与hdfs进行验证...
HBase启动后总是自动关闭?大牛去哪儿
Hbase启动后HMaster总是自动关闭,查看日志提示 Caused by :java.net.BindException:地址已在使用rn没有给我到底是哪个端口地址被使用了,
HBase启动后HMaster会自动关闭
在开启HBase集群之后,就出现了HMaster在启动后几秒内自动关闭,HRegionServer运行正常。查看log日志发现这样的错误提示: java.net.ConnectException: Call From hadoop102/192.168.1.102 to hadoop102:8020 failed on connection exception: java.net.Connect...
hadoop2.2.0+hbase0.96.2启动hbase后无法启动hmaster和hregionserver
[code=java]2014年 08月 17日 星期日 23:02:19 CST Stopping hbase (via master)rn2014年 08月 17日 星期日 23:02:36 CST Starting master on ding1rncore file size (blocks, -c) 0rndata seg size (kbytes, -d) unlimitedrnscheduling priority (-e) 0rnfile size (blocks, -f) unlimitedrnpending signals (-i) 7889rnmax locked memory (kbytes, -l) 64rnmax memory size (kbytes, -m) unlimitedrnopen files (-n) 1024rnpipe size (512 bytes, -p) 8rnPOSIX message queues (bytes, -q) 819200rnreal-time priority (-r) 0rnstack size (kbytes, -s) 8192rncpu time (seconds, -t) unlimitedrnmax user processes (-u) 7889rnvirtual memory (kbytes, -v) unlimitedrnfile locks (-x) unlimitedrn2014-08-17 23:02:37,168 INFO [main] util.VersionInfo: HBase 0.96.2-hadoop2rn2014-08-17 23:02:37,168 INFO [main] util.VersionInfo: Subversion rnrnhttps://svn.apache.org/repos/asf/hbase/tags/0.96.2RC2 -r 1581096rn2014-08-17 23:02:37,168 INFO [main] util.VersionInfo: Compiled by stack on Mon Mar 24 rnrn16:03:18 PDT 2014rn2014-08-17 23:02:37,781 INFO [main] util.ServerCommandLine: env:TERM=xtermrn2014-08-17 23:02:37,781 INFO [main] util.ServerCommandLine: rnrnenv:XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0rn2014-08-17 23:02:37,781 INFO [main] util.ServerCommandLine: env:SSH_AGENT_PID=1608rn2014-08-17 23:02:37,781 INFO [main] util.ServerCommandLine: rnrnenv:JAVA_HOME=/usr/lib/jvm/jdk1.7.0_60rn2014-08-17 23:02:37,781 INFO [main] util.ServerCommandLine: rnrnenv:HBASE_HOME=/usr/hbase/hbase-0.96.2-hadoop2/bin/..rn2014-08-17 23:02:37,782 INFO [main] util.ServerCommandLine: rnrnenv:LESSCLOSE=/usr/bin/lesspipe %s %srn2014-08-17 23:02:37,782 INFO [main] util.ServerCommandLine: env:HBASE_ENV_INIT=truern2014-08-17 23:02:37,782 INFO [main] util.ServerCommandLine: rnrnenv:SESSION_MANAGER=local/ding1:@/tmp/.ICE-unix/1566,unix/ding1:/tmp/.ICE-unix/1566rn2014-08-17 23:02:37,782 INFO [main] util.ServerCommandLine: rnrnenv:GNOME_DESKTOP_SESSION_ID=this-is-deprecatedrn2014-08-17 23:02:37,782 INFO [main] util.ServerCommandLine: rnrnenv:XDG_SESSION_COOKIE=e3b84e567e391b4ddd09ab8500000003-1406115755.699810-719976913rn2014-08-17 23:02:37,782 INFO [main] util.ServerCommandLine: env:GDMSESSION=ubunturn2014-08-17 23:02:37,782 INFO [main] util.ServerCommandLine: rnrnenv:COMPIZ_CONFIG_PROFILE=ubunturn2014-08-17 23:02:37,789 INFO [main] util.ServerCommandLine: rnrnenv:MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.pathrn2014-08-17 23:02:37,789 INFO [main] util.ServerCommandLine: env:PWD=/usr/hbase/hbase-rnrn0.96.2-hadoop2rn2014-08-17 23:02:37,789 INFO [main] util.ServerCommandLine: rnrnenv:HBASE_ZNODE_FILE=/tmp/hbase-ding-master.znodern2014-08-17 23:02:37,789 INFO [main] util.ServerCommandLine: env:GTK_IM_MODULE=ibusrn2014-08-17 23:02:37,789 INFO [main] util.ServerCommandLine: env:HBASE_NICENESS=0rn2014-08-17 23:02:37,789 INFO [main] util.ServerCommandLine: rnrnenv:NLSPATH=/usr/dt/lib/nls/msg/%L/%N.catrn2014-08-17 23:02:37,790 INFO [main] util.ServerCommandLine: env:HBASE_REST_OPTS=rn2014-08-17 23:02:37,790 INFO [main] util.ServerCommandLine: rnrnenv:XDG_CURRENT_DESKTOP=Unityrn2014-08-17 23:02:37,790 INFO [main] util.ServerCommandLine: rnrnenv:PATH=/usr/lib/jvm/jdk1.7.0_60/bin:/usr/lib/jvm/jdk1.7.0_60/jre/bin:/usr/lib/lightdm/lrnrnightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/gamesrn2014-08-17 23:02:37,790 INFO [main] util.ServerCommandLine: rnrnenv:XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdgrn2014-08-17 23:02:37,790 INFO [main] util.ServerCommandLine: rnrnenv:HBASE_SECURITY_LOGGER=INFO,RFASrn2014-08-17 23:02:37,790 INFO [main] util.ServerCommandLine: rnrnenv:XAUTHORITY=/home/ding/.Xauthorityrn2014-08-17 23:02:37,790 INFO [main] util.ServerCommandLine: rnrnenv:HBASE_START_FILE=/tmp/hbase-ding-master.autorestartrn2014-08-17 23:02:37,790 INFO [main] util.ServerCommandLine: rnrnenv:XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0rn2014-08-17 23:02:37,790 INFO [main] util.ServerCommandLine: env:HBASE_LOGFILE=hbase-rnrnding-master-ding1.logrn2014-08-17 23:02:37,790 INFO [main] util.ServerCommandLine: rnrnenv:GNOME_KEYRING_CONTROL=/tmp/keyring-MiqDxFrn2014-08-17 23:02:37,790 INFO [main] util.ServerCommandLine: env:SHLVL=4rn2014-08-17 23:02:37,790 INFO [main] util.ServerCommandLine: rnrnenv:HBASE_LOG_DIR=/usr/hbase/hbase-0.96.2-hadoop2/bin/../logsrn2014-08-17 23:02:37,790 INFO [main] util.ServerCommandLine: env:HBASE_OPTS=-XX:rnrn+UseConcMarkSweepGC -Dhbase.log.dir=/usr/hbase/hbase-0.96.2-hadoop2/bin/../logs -rnrnDhbase.log.file=hbase-ding-master-ding1.log -Dhbase.home.dir=/usr/hbase/hbase-0.96.2-rnrnhadoop2/bin/.. -Dhbase.id.str=ding -Dhbase.root.logger=INFO,RFA -rnrnDhbase.security.logger=INFO,RFASrn2014-08-17 23:02:37,790 INFO [main] util.ServerCommandLine: rnrnenv:XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dtrn2014-08-17 23:02:37,790 INFO [main] util.ServerCommandLine: env:COLORTERM=gnome-terminalrn2014-08-17 23:02:37,790 INFO [main] util.ServerCommandLine: rnrnenv:XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/rn2014-08-17 23:02:37,790 INFO [main] util.ServerCommandLine: env:QT_IM_MODULE=ximrn2014-08-17 23:02:37,790 INFO [main] util.ServerCommandLine: env:WINDOWID=56623110rn2014-08-17 23:02:37,790 INFO [main] util.ServerCommandLine: env:LOGNAME=dingrn2014-08-17 23:02:37,791 INFO [main] util.ServerCommandLine: rnrnenv:GPG_AGENT_INFO=/tmp/keyring-MiqDxF/gpg:0:1rn2014-08-17 23:02:37,791 INFO [main] util.ServerCommandLine: env:XMODIFIERS=@im=ibusrn2014-08-17 23:02:37,791 INFO [main] util.ServerCommandLine: rnrnenv:SSH_AUTH_SOCK=/tmp/keyring-MiqDxF/sshrn2014-08-17 23:02:37,796 INFO [main] util.ServerCommandLine: rnrnenv:CLASSPATH=/usr/hbase/hbase-0.96.2-rnrnhadoop2/bin/../conf:/usr/lib/jvm/jdk1.7.0_60/lib/tools.jar:/usr/hbase/hbase-0.96.2-rnrnhadoop2/bin/..:/usr/hbase/hbase-0.96.2-hadoop2/bin/../lib/activation-rnrn1.1.jar:/usr/hbase/hbase-0.96.2-hadoop2/bin/../lib/aopalliance-1.0.jar:/usr/hbase/hbase-rnrn0.96.2-hadoop2/bin/../lib/asm-3.1.jar:/usr/hbase/hbase-0.96.2-hadoop2/bin/../lib/avro-rnrn1.7.4.jar:/usr/hbase/hbase-0.96.2-hadoop2/bin/../lib/commons-beanutils-rnrn1.7.0.jar:/usr/hbase/hbase-0.96.2-hadoop2/bin/../lib/commons-beanutils-core-rnrn1.8.0.jar:/usr/hbase/hbase-0.96.2-hadoop2/bin/../lib/commons-cli-rnrn1.2.jar:/usr/hbase/hbase-0.96.2-hadoop2/bin/../lib/commons-codec-rnrn1.7.jar:/usr/hbase/hbase-0.96.2-hadoop2/bin/../lib/commons-collections-rnrn3.2.1.jar:/usr/hbase/hbase-0.96.2-hadoop2/bin/../lib/commons-compress-rnrn1.4.1.jar:/usr/hbase/hbase-0.96.2-hadoop2/bin/../lib/commons-configuration-rnrn1.6.jar:/usr/hbase/hbase-0.96.2-hadoop2/bin/../lib/commons-daemon-rnrn1.0.13.jar:/usr/hbase/hbase-0.96.2-hadoop2/bin/../lib/commons-digester-rnrn1.8.jar:/usr/hbase/hbase-0.96.2-hadoop2/bin/../lib/commons-el-1.0.jar:/usr/hbase/hbase-rnrn0.96.2-hadoop2/bin/../lib/commons-httpclient-3.1.jar:/usr/hbase/hbase-0.96.2-rnrnhadoop2/bin/../lib/commons-io-2.4.jar:/usr/hbase/hbase-0.96.2-rnrnhadoop2/bin/../lib/commons-lang-2.6.jar:/usr/hbase/hbase-0.96.2-rnrnhadoop2/bin/../lib/commons-logging-1.1.1.jar:/usr/hbase/hbase-0.96.2-rnrnhadoop2/bin/../lib/commons-math-2.1.jar:/usr/hbase/hbase-0.96.2-rnrnhadoop2/bin/../lib/commons-net-3.1.jar:/usr/hbase/hbase-0.96.2-rnrnhadoop2/bin/../lib/findbugs-annotations-1.3.9-1.jar:/usr/hbase/hbase-0.96.2-rnrnhadoop2/bin/../lib/gmbal-api-only-3.0.0-b023.jar:/usr/hbase/hbase-0.96.2-rnrnhadoop2/bin/../lib/grizzly-framework-2.1.2.jar:/usr/hbase/hbase-0.96.2-rnrnhadoop2/bin/../lib/grizzly-http-2.1.2.jar:/usr/hbase/hbase-0.96.2-hadoop2/bin/.rn2014-08-17 23:02:37,796 INFO [main] util.ServerCommandLine: env:HBASE_THRIFT_OPTS=rn2014-08-17 23:02:37,796 INFO [main] util.ServerCommandLine: env:DESKTOP_SESSION=ubunturn2014-08-17 23:02:37,797 INFO [main] util.ServerCommandLine: env:DISPLAY=:0rn2014-08-17 23:02:37,797 INFO [main] util.ServerCommandLine: env:USER=dingrn2014-08-17 23:02:37,797 INFO [main] util.ServerCommandLine: rnrnenv:UBUNTU_MENUPROXY=libappmenu.sorn2014-08-17 23:02:37,797 INFO [main] util.ServerCommandLine: rnrnenv:HBASE_CLASSPATH=/usr/hadoop/hadoop-2.2.0/etc/hadooprn2014-08-17 23:02:37,797 INFO [main] util.ServerCommandLine: env:HOME=/home/dingrn2014-08-17 23:02:37,797 INFO [main] util.ServerCommandLine: env:LESSOPEN=| rnrn/usr/bin/lesspipe %srn2014-08-17 23:02:37,797 INFO [main] util.ServerCommandLine: rnrnenv:DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.pathrn2014-08-17 23:02:37,797 INFO [main] util.ServerCommandLine: rnrnenv:LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;3rnrn3;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;rnrn31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*rnrn.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.rnrnbz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01rnrn;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*rnrn.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=rnrn01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;3rnrn5:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*rnrn.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qtrnrn=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;3rnrn5:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgmrnrn=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36rnrn:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.rnrnra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:rn2014-08-17 23:02:37,797 INFO [main] util.ServerCommandLine: env:HBASE_LOG_PREFIX=hbase-rnrn[/code]
hbase环境搭建,hmaster启动后会掉解决办法
安装和验证过程中会出现大量的问题,本次主要解决了hbase启动中hmaster在启动后就会停掉错误日志:ERROR org.apache.hadoop.hbase.master.HMasterCommandLine: Failed to start master java.lang.RuntimeException: HMaster Aborted 问题产生原因:1. 未将hdfs中的core-s
hbase启动后,HRegionServer进程不存在解决方法
安装好hbase里面只有HQuorumPeer,没有 HRegionServer。这时我们在hbase/bin里启动./hbase shell 后输入status,list,create ‘tab1’,’fam1’等命令报错。hbase(main):002:0> statusERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is i
启动一个程序后,另一个程序异常退出
我现在有一个程序是用VC写的,他是一个前端抓拍程序,它将抓拍到的图片保存在一个文件中,在另一台机器上还有一个程序是用C#写的,它远程访问这个文件夹中的图片,想图片中叠加文字,并存在另一个文件夹中,现在当我启动后端的抓拍程序时,前端的程序就没有任何提示的退出了,我想问一下是怎么回事?
cocos2d-x android游戏启动后需要多次退出
前段时间出安卓包时遇到一个问题,游戏有监听android返回键,在回调中调用Director的endToLua结束游戏,但有时候需要按多次返回键多次退出方才有效 引擎版本:3.2 开发语言:lua 复现步骤: 1.安装apk后首次启动游戏 2.home键返回后台 3.点击游戏icon将游戏切回前台 4.返回键退出游戏(返回键监听,调用Directior的end)描述:2,3步骤重复了
docker容器启动后马上退出解决方案
最近在看docker如何让容器在启动时直接运行某些进程,后来发现Dockerfile可以在容器启动的时候指定容器运行命令。CMD指定,但是每个Dockerfile只能有一条CMD指令,如果指定了多条CMD指定,只有最后一条会被执行。于是就想了一个办法,在写了一个脚本,在脚本里面启动多个进程,在Dockerfile里运行这个脚本。最后证明这个方法是可行的,在实验过程中遇到一个问题,容器启动后会马上停...
Symfony 登陆后,限时自动退出!
       网站需要登陆后,一段时间后需要再次登陆,来保证安全。思路就是,监听登陆成功,然后保存此时时间,存入session,然后在监听响应,一旦时间超过,规定时间,直接跳转退出。 1、app/config/security.yml main: anonymous: ~ form_login: login_path: /login #登陆表单页 ...
MFC串口程序最小化后自动退出
如题,就是用MFC编的一个从串口读数,往外发送数据的小程序,启动后能运行一段期间,但是最小化后再打开直接自动退出,求问这个是什么引起的。rn之前还一运行就退出,后来改了一些顺序就好了,现在这问题不知道什么原因。求前辈们指导下。
调用动态链接库后程序自动退出问题?
请教一个问题,我利用LoadLibrary方式动态调用了一个DLL,但是每次调用后我的主程序就自动退出了(当然调用的功能实现了)。我想请问一下这种情况是由于DLL中强制关闭句柄造成的,还是我调用有问题呢?这个DLL不是自己写的,只给我提供了接口和功能描述,没有源代码。
相关热词 c#部署端口监听项目、 c#接口中的属性使用方法 c# 昨天 c#func链接匿名方法 c#怎么创建文件夹 c#从键盘接收空格 c#da/ad c#部门请假管理系统 c#服务器socket c# 默认的访问修饰符