From e94e9fb1095f9af22131478c848f1d4093a40ff8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacobo=20Coll=20Morag=C3=B3n?= Date: Thu, 4 Jun 2020 11:05:02 +0100 Subject: [PATCH] Update disable/enable/flush scripts to support HBase 2 --- scripts/disable_all_tables.sh | 2 +- scripts/enable_all_tables.sh | 2 +- scripts/flush_all_tables.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/disable_all_tables.sh b/scripts/disable_all_tables.sh index da6596e..698dc4e 100755 --- a/scripts/disable_all_tables.sh +++ b/scripts/disable_all_tables.sh @@ -98,7 +98,7 @@ do then START=true continue - elif [[ $LINE == *row*in*seconds ]] + elif [[ $LINE == *row*in*seconds || $LINE == *row\(s\)* ]] then break elif [[ $START == true ]] diff --git a/scripts/enable_all_tables.sh b/scripts/enable_all_tables.sh index 2a5bcc7..0454a23 100755 --- a/scripts/enable_all_tables.sh +++ b/scripts/enable_all_tables.sh @@ -97,7 +97,7 @@ do then START=true continue - elif [[ $LINE == *row*in*seconds ]] + elif [[ $LINE == *row*in*seconds || $LINE == *row\(s\)* ]] then break elif [[ $START == true ]] diff --git a/scripts/flush_all_tables.sh b/scripts/flush_all_tables.sh index c950522..bfeff0b 100755 --- a/scripts/flush_all_tables.sh +++ b/scripts/flush_all_tables.sh @@ -97,7 +97,7 @@ do then START=true continue - elif [[ $LINE == *row*in*seconds ]] + elif [[ $LINE == *row*in*seconds || $LINE == *row\(s\)* ]] then break elif [[ $START == true ]]