缺少druid数据存储的命令行界面。
项目描述
Druid 数据存储可以完成一些令人难以置信的事情,同时它也是可能成为你最黑暗噩梦的一部分的软件。
与druid一起工作确实很困难:从部署集群到使用最简单的任务。
druid-cli 是一个旨在帮助处理在druid中非常繁琐的一些任务的工具,例如
删除您的数据
检查是否一切正常
检查集群
该项目仍在开发中,因此您应该知道:* 一些功能不可用(任务、删除段等。)* 很可能错误信息(甚至堆栈跟踪)不会告诉您您做错了什么
安装
从源安装或使用pip从PyPI获取最新版本
pip install druid-cli
用法
Usage: druid-cli [OPTIONS] COMMAND [ARGS]... Options: --overlord LOCATION Hostname and port of overlord node --coordinator LOCATION Hostname and port of coordinator node --broker LOCATION Hostname and port of broker node --help Show this message and exit. Commands: datasource note: requires druid broker node rule note: requires druid coordinator node server note: requires druid coordinator node task note: requires druid overlord node
druid-cli假设每种类型的druid节点都监听在 localhost:8080。这显然是不正确的,因此您需要向 druid-cli 提供所需druid节点的显式位置,例如
druid-cli --coordinator localhost:8082 datasource details
这显然很糟糕,但您可以使用以下环境变量提供这些位置
DRUID_OVERLORD
DRUID_COORDINATOR
DRUID_BROKER
有关命令的更详细用法,请使用 druid-cli <command> --help
贡献
欢迎贡献。
变更列表
0.3.1 (2014-12-10)
修复了项目需求(添加了python-dateutil)
0.3.0 (2014-12-09)
现在提交任务需要指定间隔
0.2.0 (2014-12-05)
支持提交删除任务
0.1.0 (2014-12-03)
druid API端点的错误现在格式化得很好
某些错误可以提供有关什么不正确的提示(目前只有http 404错误)
html2text已添加到需求中
初始任务支持(终止和空操作)
许可证
druid-cli采用LGPL许可证,版本3。
项目详情
关闭
druid-cli-0.3.1.tar.gz的散列值
算法 | 散列摘要 | |
---|---|---|
SHA256 | 37b76f57dce09fe89000c4f0c37b0910babd69f44c1e66c47604793d63a60855 |
|
MD5 | 1c2cdfe8ec54d6eb85cecf333ac48a56 |
|
BLAKE2b-256 | ab28d5e16a0d4d030962b9d7424f41f464a4a62c4ac36c8396137bb61cc7bb16 |