This is an automated email from the ASF dual-hosted git repository.

zhangduo pushed a commit to branch HBASE-29914
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/HBASE-29914 by this push:
     new 622ef34a5eb fix script
622ef34a5eb is described below

commit 622ef34a5eb1051693e86e6d9bf71627ba6fe092
Author: Duo Zhang <[email protected]>
AuthorDate: Thu Feb 26 18:08:47 2026 +0800

    fix script
---
 dev-support/hbase_nightly_pseudo-distributed-test.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-support/hbase_nightly_pseudo-distributed-test.sh 
b/dev-support/hbase_nightly_pseudo-distributed-test.sh
index 85d18192195..656b78d8f98 100755
--- a/dev-support/hbase_nightly_pseudo-distributed-test.sh
+++ b/dev-support/hbase_nightly_pseudo-distributed-test.sh
@@ -422,7 +422,7 @@ EOF
 
 echo "Verifying row count from import."
 echo 'count "test:example"' | "${hbase_client}/bin/hbase" --config 
"${working_dir}/hbase-conf/" shell --noninteractive
-import_rowcount=$(echo 'count "test:example"' | "${hbase_client}/bin/hbase" 
--config "${working_dir}/hbase-conf/" shell --noninteractive 2>/dev/null | grep 
"row\(s\)" | awk '{print $1}')
+import_rowcount=$(echo 'count "test:example"' | "${hbase_client}/bin/hbase" 
--config "${working_dir}/hbase-conf/" shell --noninteractive 2>/dev/null | grep 
"row(s)" | awk '{print $1}')
 echo "Result: ${import_rowcount} rows"
 if [ ! "${import_rowcount}" -eq 48 ]; then
   echo "ERROR: Instead of finding 48 rows, we found ${import_rowcount}."
@@ -537,7 +537,7 @@ EOF
 
 echo "Verifying row count from example."
 echo 'count "test:example"' | "${hbase_client}/bin/hbase" --config 
"${working_dir}/hbase-conf/" shell --noninteractive
-example_rowcount=$(echo 'count "test:example"' | "${hbase_client}/bin/hbase" 
--config "${working_dir}/hbase-conf/" shell --noninteractive 2>/dev/null | grep 
"row\(s\)" | awk '{print $1}')
+example_rowcount=$(echo 'count "test:example"' | "${hbase_client}/bin/hbase" 
--config "${working_dir}/hbase-conf/" shell --noninteractive 2>/dev/null | grep 
"row(s)" | awk '{print $1}')
 echo "Result: ${example_rowcount} rows"
 if [ "${example_rowcount}" -gt "1050" ]; then
   echo "Found ${example_rowcount} rows, which is enough to cover 48 for 
import, 1000 example's use of user table regions, 2 for example's use of 
meta/namespace regions, and 1 for example's count record"

Reply via email to