cassadra db docker群集失败

eqfvzcg8  于 2021-06-13  发布在  Cassandra
关注(0)|答案(0)|浏览(210)

我正在创建swarm服务,使用以下内容:

docker service create --name some-cassandra -d -p target=7000 -p target=9042 cassandra:latest

但是,我的服务每隔几秒钟就会失败

ubuntu@ip-172-31-25-90:~$ docker service ls

id name mode replicas映像端口7t0nurasar5一些cassandra复制0/1cassandra:latest :30002->7000/tcp,:30003->9042/tcp

ubuntu@ip-172-31-25-90:~$ docker service ps 7t

id name image node desired state current state error ports xo10xhi8khn9 some cassandra.1cassandra:latest ip-172-31-25-90 4秒前准备好了68y0k1f2f90d一些Cassandra。1cassandra:latest ip-172-31-25-90 shutdown failed 4 seconds ago“任务:非零退出(1)”x2o6bmix0x8e \uusome cassandra.1cassandra:latest ip-172-31-25-90 关闭失败14秒前“任务:非零退出(1)”lr6v50lumdlo\usome cassandra.1cassandra:latest ip-172-31-25-90 关机失败24秒前“任务:非零退出(1)”n0o38mkfack9 \uuusome cassandra.1cassandra:latest ip-172-31-25-90 关机失败34秒前“任务:非零退出(1)”
当我查看最新的日志时。

ubuntu@ip-172-31-25-90:~$ docker service logs ut

一些Cassandra。ut5h9dlr8w6g@ip-172-31-25-90 |编译程序:dontinline org/apache/cassandra/db/columns$serializer.deserializelargesubset(lorg/apache/cassandra/io/util/datainputplus;lorg/apache/cassandra/db/列;i) lorg/apache/cassandra/db/列;一些Cassandra。ut5h9dlr8w6g@ip-172-31-25-90 |compileroracle:dontinline org/apache/cassandra/db/columns$serializer.serializelargesubset(ljava/util/collection;ilorg/apache/cassandra/db/列;ilorg/apache/cassandra/io/util/dataoutputplus;)一些Cassandra。ut5h9dlr8w6g@ip-172-31-25-90 |compileroracle:dontinline org/apache/cassandra/db/columns$serializer.serializelargesubsetsize(ljava/util/collection;ilorg/apache/cassandra/db/列;i) 我要一些Cassandra。ut5h9dlr8w6g@ip-172-31-25-90 |编译程序:dontinline org/apache/cassandra/db/commitlog/abstractcommitlogsegmentmanager.advanceallocationfrom(lorg/apache/cassandra/db/commitlog/commitlogsegment;)一些Cassandra。ut5h9dlr8w6g@ip-172-31-25-90 |compileroracle:dontinline org/apache/cassandra/db/transform/baseiterator.trygetmorecontents()一些cassandra.1。ut5h9dlr8w6g@ip-172-31-25-90 |compileroracle:dontinline org/apache/cassandra/db/transform/stoppingtransformation.stop()v一些cassandra.1。ut5h9dlr8w6g@ip-172-31-25-90 | 编译程序:dontinline org/apache/cassandra/db/transform/stoppingtransformation.stopinpartition()v一些cassandra.1。ut5h9dlr8w6g@ip-172-31-25-90 |编译程序:dontinline org/apache/cassandra/io/util/buffereddataoutputstreamplus.doflush(i)v some cassandra.1。ut5h9dlr8w6g@ip-172-31-25-90 |编译器角色:dontinlineorg/apache/cassandra/io/util/buffereddataoutputstreamplus.writeexcessslow()v一些cassandra.1。ut5h9dlr8w6g@ip-172-31-25-90 |编译程序:dontinline org/apache/cassandra/io/util/buffereddataoutputstreamplus.writeslow(ji)v some cassandra.1。ut5h9dlr8w6g@ip-172-31-25-90 |编译器角色:dontinlineorg/apache/cassandra/io/util/rebufferinginputstream.readprimitiveslowly(i)j一些cassandra.1。ut5h9dlr8w6g@ip-172-31-25-90 |compileroracle:inline org/apache/cassandra/db/rows/unfiltedserializer.serializerowbody(lorg/apache/cassandra/db/rows/row;ilorg/apache/cassandra/db/serializationheader;lorg/apache/cassandra/io/util/dataoutputplus;)一些Cassandra。ut5h9dlr8w6g@ip-172-31-25-90 |compileroracle:inline org/apache/cassandra/io/util/memory.checkbounds(jj)v some cassandra.1。ut5h9dlr8w6g@ip-172-31-25-90 |compileroracle:inline org/apache/cassandra/io/util/safememory.checkbounds(jj)v some cassandra.1。ut5h9dlr8w6g@ip-172-31-25-90 |编译器角色:内联org/apache/cassandra/utils/asymmetricordering.selectboundary(lorg/apache/cassandra/utils/asymmetricordering/op;ii)我有一些Cassandra。ut5h9dlr8w6g@ip-172-31-25-90 |compileroracle:inline org/apache/cassandra/utils/asymmetricordering.strictnessoflessthan(lorg/apache/cassandra/utils/asymmetricordering/op;)我要一些Cassandra。ut5h9dlr8w6g@ip-172-31-25-90 |compileroracle:inline org/apache/cassandra/utils/bloomfilter.index(lorg/apache/cassandra/utils/ifilter/filterkey;)[一些Cassandra。ut5h9dlr8w6g@ip-172-31-25-90 |compileroracle:inline org/apache/cassandra/utils/bloomfilter.setindexes(jjij[j)v some cassandra.1。ut5h9dlr8w6g@ip-172-31-25-90 |compileroracle:inline org/apache/cassandra/utils/bytebufferutil.compare(ljava/nio/bytebuffer[b) 我要一些Cassandra。ut5h9dlr8w6g@ip-172-31-25-90 |compileroracle:inline org/apache/cassandra/utils/bytebufferutil.compare([bljava/nio/bytebuffer;)我要一些Cassandra。ut5h9dlr8w6g@ip-172-31-25-90 |compileroracle:inline org/apache/cassandra/utils/bytebufferutil.compareunsigned(ljava/nio/bytebuffer;ljava/nio/bytebuffer;)我要一些Cassandra。ut5h9dlr8w6g@ip-172-31-25-90 |compileroracle:inline org/apache/cassandra/utils/fastbyeteoperations$unsafeoperations.compareto(ljava/lang/object;jiljava/lang/object;ji)我有一些Cassandra。ut5h9dlr8w6g@ip-172-31-25-90 |compileroracle:inline org/apache/cassandra/utils/fastbyeteoperations$unsafeoperations.compareto(ljava/lang/object;jiljava/nio/bytebuffer;)我要一些Cassandra。ut5h9dlr8w6g@ip-172-31-25-90 |compileroracle:inline org/apache/cassandra/utils/fastbyeteoperations$unsafeoperations.compareto(ljava/nio/bytebuffer;ljava/nio/bytebuffer;)我要一些Cassandra。ut5h9dlr8w6g@ip-172-31-25-90 |compileroracle:inline org/apache/cassandra/utils/vint/vintcoding.encodevint(ji)[b一些cassandra.1。ut5h9dlr8w6g@ip-172-31-25-90 |信息[主要]2020-05-21 11:54:50,311 YamlConfiguration加载器。java:89 - 配置位置:file:/etc/cassandra/cassandra.yaml some cassandra.1。ut5h9dlr8w6g@ip-172-31-25-90 |信息[main]2020-05-21 11:54:50531配置。java:516 - 节点配置:[为\u keyspace分配\u令牌\u=null;authenticator=allowallauthenticator;授权人=allowallauthorizer;自动引导=真;auto\u snapshot=true;背压启用=假;背压\u strategy=org.apache.cassandra.net.ratebasedbackpressure{高比率=0.9,系数=5,流量=fast};批量大小\u失败\u阈值\u kb=50;批量大小\u警告\u阈值\u(kb)=5;batchlog\u replay\u throttle\u in\u kb=1024;广播地址=10.0.0.121;广播地址=10.0.0.121;缓冲区\u池\u使用\u堆\u如果\u耗尽=真;cas\u争用\u超时\u in \u ms=1000;cdc\ U enabled=假;cdc\可用\空间\检查\间隔\ ms=250;cdc\u raw\u directory=null;cdc\u total\u space\u in\u mb=0;客户端加密选项=;cluster_name=测试集群;列索引缓存大小,单位为kb=2;列索引大小,单位为kb=64;commit\u failure\u policy=停止;commitlog\u compression=null;commitlog\u directory=null;commitlog\u max\u compression\u buffers\u in \u pool=3;commitlog\u periodic\u queue\u size=-1;commitlog\u segment\u size\u in\u mb=32;commitlog\u sync=定期;commitlog\u sync\u batch\u window\u in\u ms=nan;commitlog\u sync\u period\u in\u ms=10000;commitlog \u total \u space \u in \u mb=空;压缩\u大分区\u警告\u阈值\u mb=100;每秒压缩量=16 mb;concurrent\u compactors=null;并发\u计数器\u写入=32;并发\u物化\u视图\u写入=32;并发读取=32;并发\u replicates=null;并发写入=32;计数器\u cache \u keys \u to \u save=2147483647;计数器\u缓存\u保存\u周期=7200;计数器\u cache \u size \u in \u mb=null;计数器\写入\请求\超时\毫秒=5000;凭证\u缓存\u最大\u条目数=1000;凭据\u更新\u间隔\u in \u ms=-1;凭证\有效性\单位为\ ms=2000;交叉节点超时=假;data\u file\u directories=[ljava.lang.string@5ef60048型;磁盘访问模式=自动;disk\u failure\u policy=停止;磁盘优化估计百分比=0.95;磁盘\u优化\u页面\u交叉\u机会=0.1;磁盘\优化\策略=ssd;dynamic\u snitch=真;动态\u告密\u不良\u阈值=0.1;动态\u飞贼\u重置\u间隔\u毫秒=600000;动态\u-snitch \u-update \u-interval \u in \u ms=100;enable\u materialized\u views=true;enable\u sasi\u index=true;enable\ scripted\ user\ defined\ functions=false;enable\u user\u defined\u functions=false;启用\用户定义\函数\线程=真;加密\u options=null;端点\u snitch=simplesnitch;file\u cache\u round\u up=null;文件\u缓存\u大小\u以\u mb为单位=null;gc\u log\u threshold\u in\u ms=200;gc\u warn\u threshold\u in\u ms=1000;暗示的切换被禁用的数据中心=;hinted\u handover\u enabled=真;暗示的\u切换\u油门\u in \u kb=1024;hints\u compression=null;hints\u directory=null;提示\u刷新\u周期\u单位为\u ms=10000;增量备份=假;索引间隔=空;索引\u summary \u capacity \u in \u mb=空;索引\u摘要\u调整大小\u间隔\u分钟=60;初始令牌=空;帧间数据流吞吐量出站兆比特每秒=200;inter\u dc\u tcp\u nodelay=false;节间认证器=空;节间压缩=dc;节间接收buff大小字节=0;节间发送buff size字节=0;key\u cache\u keys\u to\u save=2147483647;key\u cache\u save\u period=14400;key\u cache\u size\u in\u mb=null;监听地址=10.0.0.121;listen\u interface=null;listen\u interface\u preference\u ipv6=false;listen\u on\u broadcast\u address=false;最大\u提示\u窗口\u(单位:ms)=10800000;最大\u提示\u传递\u线程数=2;最大\u提示\u文件大小\u mb=128;最大大小(kb)为空;最大\u流\u重试次数=3;最大\u值\u大小\u(mb)=256;memtable\分配\类型=堆\缓冲区;memtable\u cleanup\u threshold=null;memtable\u flush\u writers=0;memtable\u heap\u space\u in\u mb=null;memtable\u offheap\u space\u in\u mb=null;每个驱动器的最小可用空间(mb)=50;native\u transport\u flush\u in\u batches\u legacy=true;本机\u传输\u最大\u并发\u连接=-1;本地\u传输\u最大\u并发\u连接\u每个\u ip=-1;本机\u传输\u最大\u并发\u请求\u字节=-1;本机\u传输\u最大\u并发\u请求\u字节\u每\u ip=-1;本机\u传输\u最大\u帧大小\u单位\u mb=256;本机\u传输\u最大\u协议\u版本=-2147483648;本机\u传输\u最大\u线程数=128;本地\u传输\u端口=9042;本机\u传输\u端口\u ssl=null;令牌数=256;otc\u积压\u过期\u间隔\u ms=200;otc\合并\足够\合并\消息=8;otc\u coalescing\u strategy=禁用;otc\U凝聚\U窗口\U us=200;partitioner=org.apache.cassandra.dht.3partitioner;权限\缓存\最大\项=1000;权限\u更新\u间隔\u in \u ms=-1;权限\u有效性\u in \u ms=2000;phièu罪犯èu阈值=8.0;准备的\u语句\u缓存\u大小\u mb=null;范围\u请求\u超时\u(毫秒)=10000;读取请求\u超时\u毫秒=5000;修复\u会话\u最大\u树\u深度=18;请求调度程序=org.apache.cassandra.scheduler.noscheduler;请求\u调度程序\u id=null;请求\u调度程序\u选项=空;请求\u超时\u in \u ms=10000;角色经理=cassandrarolem

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题