Cassandra:如何从 CLI 中删除 UUID?
目前,我正在使用客户端(Pelops)将 UUID(词汇和时间)插入到卡桑德拉。我还没有实现用 Pelops 删除它们的工具;我正在测试和完善插入机制。
因此,我想使用 CLI 删除测试 UUID 值。但是,我似乎无法使用 del
命令删除 UUID 行键和列。我有什么遗漏的吗?我必须使用 assume as
来列出具有 UUID 行键的列族中的行,但删除显示的行键不会删除条目。
我可以查看具有 UUID 值的列,而无需 assume as
(前提是它们不包含在具有 UUID 键的行中),但我也无法从 CLI 中删除它们。是否无法从 CLI 执行此操作,或者是否有什么我忽略的事情?
Currently I'm using a client (Pelops) to insert UUIDs (both lexical and time) in to Cassandra. I haven't yet implemented a facility to remove them with Pelops; i'm testing and refining the insertion mechanism.
As such, I would like to use the CLI to delete test UUID values. It seems, however, that I'm unable to delete UUID rowkeys and columns with the del
command. Is there something I'm missing? I have to use assume as
to list the rows in column families with UUID row keys, but deleting the displayed row keys does not delete the entries.
I can view columns with UUID values without assume as
(provided they're not contained in rows with UUID keys), but I am unable to delete them from the CLI as well. Is it not possible to do this from the CLI, or is there something I'm overlooking?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
正如我在邮件列表中回答的那样,您需要升级到 0.8 才能使用 CLI 处理非字符串密钥。
As I answered on the mailing list, you need to upgrade to 0.8 to deal with non-string keys using the CLI.