Accumulo无法加载,删除或创建新表。我的默认用户是root。主人和平板电脑服务器和动物园管理员还活着 之前我尝试通过acculul init重新初始化accumulo来解决这个问题,但仍然存在错误。 我在accumulo日志中遇到异常:
Got loadTablet message from unauthenticatable user: !SYSTEM
2017/03/27 12:06:20,355 tserver:orkash2 11
ERROR
Got message from a service with a mismatched configuration. Please ensure a compatible configuration.
ThriftSecurityException(user:!SYSTEM, code:BAD_CREDENTIALS)
at org.apache.accumulo.server.security.SecurityOperation.authenticate(SecurityOperation.java:173)
at org.apache.accumulo.server.security.AuditedSecurityOperation.authenticate(AuditedSecurityOperation.java:663)
at org.apache.accumulo.server.security.SecurityOperation.canPerformSystemActions(SecurityOperation.java:452)
at org.apache.accumulo.server.security.AuditedSecurityOperation.canPerformSystemActions(AuditedSecurityOperation.java:298)
at org.apache.accumulo.tserver.TabletServer$ThriftClientHandler.checkPermission(TabletServer.java:1383)
at org.apache.accumulo.tserver.TabletServer$ThriftClientHandler.loadTablet(TabletServer.java:1433)
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.accumulo.core.trace.wrappers.RpcServerInvocationHandler.invoke(RpcServerInvocationHandler.java:46)
at org.apache.accumulo.server.rpc.RpcWrapper$1.invoke(RpcWrapper.java:74)
at com.sun.proxy.$Proxy19.loadTablet(Unknown Source)
at org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$loadTablet.getResult(TabletClientService.java:2633)
at org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$loadTablet.getResult(TabletClientService.java:2619)
at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
at org.apache.accumulo.server.rpc.TimedProcessor.process(TimedProcessor.java:63)
at org.apache.thrift.server.AbstractNonblockingServer$FrameBuffer.invoke(AbstractNonblockingServer.java:516)
at org.apache.accumulo.server.rpc.CustomNonBlockingServer$1.run(CustomNonBlockingServer.java:78)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.accumulo.fate.util.LoggingRunnable.run(LoggingRunnable.java:35)
at java.lang.Thread.run(Thread.java:745)
Caller doesn't have permission to load a tablet
ThriftSecurityException(user:!SYSTEM, code:BAD_CREDENTIALS)
at org.apache.accumulo.server.security.SecurityOperation.authenticate(SecurityOperation.java:173)
at org.apache.accumulo.server.security.AuditedSecurityOperation.authenticate(AuditedSecurityOperation.java:663)
at org.apache.accumulo.server.security.SecurityOperation.canPerformSystemActions(SecurityOperation.java:452)
at org.apache.accumulo.server.security.AuditedSecurityOperation.canPerformSystemActions(AuditedSecurityOperation.java:298)
at org.apache.accumulo.tserver.TabletServer$ThriftClientHandler.checkPermission(TabletServer.java:1383)
at org.apache.accumulo.tserver.TabletServer$ThriftClientHandler.loadTablet(TabletServer.java:1433)
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.accumulo.core.trace.wrappers.RpcServerInvocationHandler.invoke(RpcServerInvocationHandler.java:46)
at org.apache.accumulo.server.rpc.RpcWrapper$1.invoke(RpcWrapper.java:74)
at com.sun.proxy.$Proxy19.loadTablet(Unknown Source)
at org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$loadTablet.getResult(TabletClientService.java:2633)
at org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$loadTablet.getResult(TabletClientService.java:2619)
at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
at org.apache.accumulo.server.rpc.TimedProcessor.process(TimedProcessor.java:63)
at org.apache.thrift.server.AbstractNonblockingServer$FrameBuffer.invoke(AbstractNonblockingServer.java:516)
at org.apache.accumulo.server.rpc.CustomNonBlockingServer$1.run(CustomNonBlockingServer.java:78)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.accumulo.fate.util.LoggingRunnable.run(LoggingRunnable.java:35)
at java.lang.Thread.run(Thread.java:745)
尝试从shell创建表时,shell异常为:
[impl.ThriftTransportPool] WARN : Thread "shell" stuck on IO to host1:9999 (0) for at least 120061 ms
Accumulo仪表板日志是:
Thread "tracer" stuck on IO to host1:9999 (0) for at least 120062 ms
答案 0 :(得分:1)
检查您的配置。日志消息表明内部系统用户执行操作时出现问题。内部系统用户使用从配置派生的凭据(例如instance.secret
字段)。确保您的配置在群集中的所有节点上都相同。