【问题标题】:Cassandra Reaper startup issue after first install in Centos在 Centos 中首次安装后 Cassandra Reaper 启动问题
【发布时间】:2020-03-02 13:06:51
【问题描述】:

在 Centos 中首次安装后 Cassandra Reaper 启动问题

yml 文件中的配置是正确的。

卡桑德拉: 集群名称:“测试” 接触点:[“127.0.0.1”] 键空间:reaper_db

cassandra-reaper.err

find: './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) 在 io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:336) 在 io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86) 在 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) 在 io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:343) 在 io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911) 在 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个活着)

【问题讨论】:

    标签: database cassandra reaper


    【解决方案1】:

    从上面的错误:-

    com.datastax.driver.core.exceptions.UnavailableException:没有足够的副本可用于一致性 LOCAL_ONE 的查询(需要 1 个,但只有 0 个存活)

    您需要检查您的 Cassandra 节点是否都已启动并运行,因为它必须满足一致性级别。

    【讨论】:

    • 我已通过更新密钥空间中的数据中心名称来解决此问题。但现在看到以下错误。
    • org.cognitor.cassandra.migration.MigrationException:在执行“ALTER TABLE repair_unit_v1 ADD nodes set;”时迁移脚本 005_repair_specific_nodes.cql 时出错原因:com.datastax.driver.core.exceptions.InvalidQueryException:列名节点无效,因为它与现有列冲突
    • @user3262968 我很困惑你为什么评论别人的帖子,但你看到的问题是因为架构不匹配。您是否也更新了cassandra-reaper? Reaper 抱怨 cassandra-reaper 键空间中的一张表缺少所需的列。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-12-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多