How to get current kudu master or tserver flag value?

时光毁灭记忆、已成空白 提交于 2019-12-12 04:21:32

问题


Master and tserver flags can be accessed from kudu web interfaces (by defult http://127.0.0.1:8051/varz and http://127.0.0.1:8050/varz).

But I couldn't find a way to get it from command line.

For example, how to get tserver_master_addrs from a running kudu-tserver instance?

Something like :

kudu-tserver show tserver_master_addrs 

回答1:


The command kudu master list will show you the master addresses however you still need to know of one master addresses (I know, seems strange to me too).

$ kudu master list MASTER_HOST:RPC_PORT

https://kudu.apache.org/docs/command_line_tools_reference.html#master



来源:https://stackoverflow.com/questions/45109355/how-to-get-current-kudu-master-or-tserver-flag-value

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!