[
https://issues.apache.org/jira/browse/HBASE-15611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16947150#comment-16947150
]
Sean Busbey commented on HBASE-15611:
-------------------------------------
"roll wals on all the region servers" awkward due to how you get all the rs.
{code}
hbase(main):027:0> @hbase.admin(@formatter).instance_eval do
hbase(main):028:1* @admin.cluster_status.servers.each do |server|
hbase(main):029:2* @admin.roll_wal_writer server
hbase(main):030:2> end
hbase(main):031:1> end
hbase(main):032:0>
{code}
trying to use the shell {{wal_roll}} command requires taking each "server" that
comes back and turning it from {{ServerName}} into a {{String}} so that it can
be converted back inside the shell impl? no good.
> add examples to shell docs
> ---------------------------
>
> Key: HBASE-15611
> URL: https://issues.apache.org/jira/browse/HBASE-15611
> Project: HBase
> Issue Type: Improvement
> Components: documentation, shell
> Reporter: Sean Busbey
> Priority: Major
> Labels: beginner
>
> It would be nice if our shell documentation included some additional examples
> of operational tasks one can perform.
> things to include to come in comments. when we have a patch to submit we can
> update the jira summary to better reflect what scope we end up with.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)