Skip to content

Commit 6b6c380

Browse files
author
Andrei Zavada
committed
clean up after dropping yokozuna
1 parent 9b97a9c commit 6b6c380

File tree

3 files changed

+4
-45
lines changed

3 files changed

+4
-45
lines changed

rel/files/riak-admin

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ usage() {
2222
echo " aae-status | diag | stat | status | transfer-limit | reformat-indexes |"
2323
echo " top [-interval N] [-sort reductions|memory|msg_q] [-lines N] |"
2424
echo " downgrade-objects | security | bucket-type | repair-2i |"
25-
echo " search | services | ensemble-status | handoff | set |"
25+
echo " services | ensemble-status | handoff | set |"
2626
echo " show | describe }"
2727
}
2828

@@ -522,43 +522,6 @@ The following commands modify users and security ACLs for Riak:
522522
esac
523523
}
524524

525-
search_admin()
526-
{
527-
case "$1" in
528-
aae[_-]status)
529-
if [ $# -ne 1 ]; then
530-
echo "Usage: $SCRIPT search $1"
531-
exit 1
532-
fi
533-
shift
534-
535-
# Make sure the local node is running
536-
537-
$RPC_HOP yz_console aae_status "$@"
538-
;;
539-
switch[_-]to[_-]new[_-]search)
540-
if [ $# -ne 1 ]; then
541-
echo "Usage: $SCRIPT search $1"
542-
exit 1
543-
fi
544-
shift
545-
546-
# Make sure the local node is running
547-
548-
$RPC_HOP yz_console switch_to_new_search "$@"
549-
;;
550-
*)
551-
echo "\
552-
Usage: $SCRIPT search <command>
553-
554-
Available commands:
555-
556-
aae-status
557-
switch-to-new-search
558-
"
559-
esac
560-
}
561-
562525
btype_admin()
563526
{
564527
case "$1" in

rel/files/riak-debug

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ Usage: riak-debug [-c] [-l] [-r] [-s] [-e] [-v] [FILENAME | -]
108108
-l, --logs Gather Riak logs.
109109
-p, --patches Gather the contents of the basho-patches directory.
110110
-r, --riakcmds Gather Riak information and command output.
111-
-y, --yzmcmds Gather yokozuna information and logs.
112111
-s, --syscmds Gather general system commands.
113112
-v, --verbose Print verbose failure messages to stdout
114113
-e, --extracmds Gather extra command output. These commands are too intense to
@@ -248,7 +247,7 @@ if [ 0 -eq $(( $get_cfgs + $get_logs + $get_patches + $get_riakcmds + $get_yzcmd
248247
get_logs=1
249248
get_patches=1
250249
get_riakcmds=1
251-
get_yzcmds=1
250+
get_yzcmds=0
252251
get_syscmds=1
253252
get_extracmds=0
254253
fi

rel/vars.config

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,5 @@
5656
{cuttlefish, "on"}.
5757
{cuttlefish_conf, "riak.conf"}.
5858

59-
%%
60-
%% yokozuna
61-
%%
62-
{yz_solr_port, 8093}.
63-
{yz_solr_jmx_port, 8985}.
59+
%% {yz_solr_port, 8093}.
60+
%% {yz_solr_jmx_port, 8985}.

0 commit comments

Comments
 (0)