2015-06-11 28 views
2

使用Riak客戶端(erlang),我可以列出默認存儲桶類型的所有存儲桶。但是我怎樣才能列出所有的桶類型?或者如果我不能由客戶做到這一點,我怎麼能找到這個?如何列出riak中的所有存儲桶類型?

回答

3

對於v2.1.4,riak-admin bucket-type list是你在找什麼。爲riak-admin bucket-type(在先前的版本從文檔了Riak截取)

其他子命令包括:​​

Command Action         Form 
create  create or modify a bucket type   create <type> <json> 
      before activation 

activate activate a bucket type     activate <type> 

list  list all currently available bucket 
      types and their activation status  list 

status  display the status and properties  status <type> 
      of a specific bucket type 

update  update a bucket type after activation update <type> <json> 
相關問題