gpt4 book ai didi

Couchbase cbdocloader 错误

转载 作者:行者123 更新时间:2023-12-04 16:55:49 24 4
gpt4 key购买 nike

我正在尝试使用 cbdocloader tool 将多个 JSON 文档从 zip 文件添加到我的 couchbase 服务器(每个 JSON 文档都在它自己的文件中,并且该文件以 id.json 命名)。 .使用以下命令语法

./cbdocloader -n localhost:8091 -u Administrator -p xxx -b ships -s 100 ~/json-docs.zip

但是,我收到以下回复
[2015-08-21 21:08:35,522] - [rest_client] [140411799267072] - INFO - existing buckets : [u'beer-sample', u'default']
[2015-08-21 21:08:35,530] - [rest_client] [140411799267072] - INFO - http://localhost:8091//pools/default/buckets with param: proxyPort=11211&bucketType=membase&authType=sasl&name=ships&replicaNumber=1&saslPassword=&ramQuotaMB=100
[2015-08-21 21:08:35,543] - [rest_client] [140411799267072] - ERROR - http://localhost:8091//pools/default/buckets error 400 reason: Warning: you do not have enough servers to support this number of replicas., RAM quota specified is too large to be provisioned into this cluster. {"errors":{"ramQuotaMB":"RAM quota specified is too large to be provisioned into this cluster.","replicaNumber":"Warning: you do not have enough servers to support this number of replicas."},"summaries":{"ramSummary":{"total":2486173696,"otherBuckets":2486173696,"nodesCount":1,"perNodeMegs":100,"thisAlloc":104857600,"thisUsed":0,"free":-104857600},"hddSummary":{"total":6206062592,"otherData":5063150332,"otherBuckets":25820993,"thisUsed":0,"free":1117091267}}}

作为沙发基地的新手,我不确定我做错了什么?我试过用 -s 指定一个较低的配额但它不允许少于 100?在 couchbase 控制台中,它说我有 2.3GB 分配给集群。

最佳答案

问题是示例数据存储桶(啤酒和默认存储桶)占用了服务器的所有分配空间,如果我从控制台删除它们,那么我就可以运行该命令。现在弄清楚为什么没有加载 zip 中的所有文档。

关于Couchbase cbdocloader 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32148762/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com