database - 在 Centos 中首次安装后 Cassandra Reaper 启动问题
问题描述
在 Centos 中首次安装后 Cassandra Reaper 启动问题
yml 文件中的配置是正确的。
cassandra:clusterName:“test”contactPoints:[“127.0.0.1”]键空间:reaper_db
cassandra-reaper.err
查找:'./boot/efi':权限被拒绝查找:'./boot/grub2':权限被拒绝查找:'./proc/tty/driver':权限被拒绝查找:'./proc/1/task/1 /fd':权限被拒绝查找:'./proc/1/task/1/fdinfo':权限被拒绝查找:'./proc/1/task/1/ns':权限被拒绝查找:'./proc/1 /fd':权限被拒绝查找:'./proc/1/map_files':权限被拒绝查找:'./proc/1/fdinfo':权限被拒绝查找:'./proc/1/ns':权限被拒绝查找: './proc/2/task/2/fd':权限被拒绝查找:'./proc/2/task/2/fdinfo':权限被拒绝查找:'./proc/2/task/2/ns':权限被拒绝查找:'./proc/2/fd':权限被拒绝查找:'./proc/2/map_files':权限被拒绝查找:'./proc/2/fdinfo':权限被拒绝查找:'./proc /2/ns':权限被拒绝查找:'./proc/3/task/3/fd':权限被拒绝查找:'./proc/3/task/3/fdinfo':权限被拒绝查找:'./proc/3/task/3 /ns':权限被拒绝查找:'./proc/3/fd':权限被拒绝查找:'./proc/3/map_files':权限被拒绝查找:'./proc/3/fdinfo':权限被拒绝查找: './proc/3/ns':权限被拒绝查找:'./proc/5/task/5/fd':权限被拒绝查找:'./proc/5/task/5/fdinfo':权限被拒绝查找: './proc/5/task/5/ns':权限被拒绝找到:'./proc/5/fd':在 io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267) 处的权限被拒绝io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:357) 在 io.netty.channel.AbstractChannelHandlerContext。invokeChannelRead(AbstractChannelHandlerContext.java:343) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:336) at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86) at com.datastax.driver.core .InboundTrafficMeter.channelRead(InboundTrafficMeter.java:38) 在 io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:357) 在 io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:343) 在 io.netty。 channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:336) 在 io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294) 在 io.netty.channel.AbstractChannelHandlerContext。invokeChannelRead(AbstractChannelHandlerContext.java:357) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:343) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911) at io.netty.channel.epoll .AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:934) 在 io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:397) 在 io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:302) ) 在 io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:131) 在 io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144) 在 java.lang.Thread.run (Thread.java:748) 引起:com.datastax.driver.core.exceptions.UnavailableException:没有足够的副本可用于一致性 LOCAL_ONE 的查询(需要 1 个但只有 0 个存活)
解决方案
从上面的错误: -
com.datastax.driver.core.exceptions.UnavailableException:没有足够的副本可用于一致性 LOCAL_ONE 的查询(需要 1,但只有 0 活着)
您需要检查您的 Cassandra 节点是否都已启动并正在运行,因为它必须满足一致性级别。
推荐阅读
- javascript - SyntaxError:意外的令牌/在 JSON 中的位置 132
- uml - 课程注册类图
- regex - 检查行是否包含其他行范围内的任何文本
- php - 在 Laravel 中加入 3 个表
- java - Corda 节点未启动并给出错误 初始化失败 errorCode 1gariof
- asp.net-mvc - Pass TempData between Contollers for Modal return Null?
- javascript - 箭头功能不适用于模块?
- c# - 如何在 C# 中读取大文本文件?
- c++ - 运算符范围->
- php - 错误:在 null 上调用成员函数 funcName