服务器 Gind.cn

服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器

HBase Kerberos SaslException:GSS启动失败(机制级别:无法find任何Kerberos tgt)

我正在尝试使用这个http://hbase.apache.org/0.94/book/security.html文档为HBase设置Kerberos身份validation,并且迄今为止进展甚微。 来自Apache的HBase 1.1.1没有任何Cloudera的影响。 主机在Centos 6.5下运行。 我已经build立了Kerberos KDC和客户端后,下面的指令https://gist.github.com/ashrithr/4767927948eca70845db KDC位于HBase我试图保护同一台机器上。 总而言之,这里是当前的环境状态:keytab文件在这里是/opt/hbase.keytab hbase-site.xml内容 <?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> <configuration> <property> <name>hbase.rootdir</name> <value>file:///opt/hbase-data/hbase</value> </property> <property> <name>hbase.zookeeper.property.dataDir</name> <value>/opt/hbase-data/zookeeper</value> </property> <property> <name>hbase.cluster.distributed</name> <value>true</value> </property> <property> <name>hbase.security.authentication</name> <value>kerberos</value> </property> <property> <name>hbase.security.authorization</name> <value>true</value> </property> <property> <name>hbase.coprocessor.region.classes</name> <value>org.apache.hadoop.hbase.security.token.TokenProvider</value> </property> <property> <name>hbase.master.keytab.file</name> <value>/opt/hbase.keytab</value> </property> <property> <name>hbase.master.kerberos.principal</name> <value>hbase/[email protected]</value> </property> <property> <name>hbase.regionserver.kerberos.principal</name> <value>hbase/[email protected]</value> </property> <property> <name>hbase.regionserver.keytab.file</name> <value>/opt/hbase.keytab</value> […]

在节点崩溃之后,Glusterd不会启动

我们有一个运行GlusterFS的2节点集群。 这是一个4卷群集,副本2,每个服务器一个砖块。 死服务器:nnfs02 带有所有数据的实时服务器:nnfs03 新服务器:nnfs01 在nnfs02死后,我们添加了nnfs01,并且能够为4个卷中的2个删除砖块,在nnfs01上使用replica 2创build新砖块,并且修复卷以使两个服务器上的数据都达到100%。 卷名称:源,头像。 我们有两卷,我们不能修复,这两个是防止从头开始。 电子书/封面。 在服务重新启动之前,我分离了死亡节点(nnfs02)并尝试删除它的砖块。 没有运气。 debugging日志: https : //gist.github.com/anonymous/d8c412bda8754b4b67a1 [2015-10-21 08:07:35.029300]我[glusterfsd.c:1959:main] 0-glusterd:开始运行glusterd版本3.5.5(glusterd –debug) [2015-10-21 08:07:35.029548] D [glusterfsd.c:596:get_volfp] 0-glusterfsd:加载卷文件/etc/glusterfs/glusterd.vol [2015-10-21 08:07:35.032568]我[glusterd.c:1122:init] 0-management:使用/ var / lib / glusterd作为工作目录 [2015-10-21 08:07:35.032614] D [glusterd.c:345:glusterd_rpcsvc_options_build] 0-:listen-backlog值:128 [2015-10-21 08:07:35.032784] D [rpcsvc.c:2183:rpcsvc_init] 0-rpc-service:RPC服务被inited。 [2015-10-21 08:07:35.032802] D [rpcsvc.c:1812:rpcsvc_program_register] 0-rpc-service:注册的新程序:GF-DUMP,编号:123451501,版本:1,端口:0 [2015-10-21 08:07:35.032831] D [rpc-transport.c:262:rpc_transport_load] 0-rpc-transport:尝试加载文件/usr/lib64/glusterfs/3.5.5/rpc-transport/socket 。所以 [2015-10-21 […]