HBASE-22522 The integration test in master branch's nightly job has error "ERROR: Only found 1050 rows."

This commit is contained in:
Guanghao Zhang 2019-06-02 12:00:58 +08:00
parent b64fdd956c
commit 7be313978e
1 changed files with 1 additions and 1 deletions

View File

@ -518,7 +518,7 @@ EOF
echo "Verifying row count from example." echo "Verifying row count from example."
example_rowcount=$(echo 'count "test:example"' | "${hbase_client}/bin/hbase" --config "${working_dir}/hbase-conf/" shell --noninteractive 2>/dev/null | tail -n 1) example_rowcount=$(echo 'count "test:example"' | "${hbase_client}/bin/hbase" --config "${working_dir}/hbase-conf/" shell --noninteractive 2>/dev/null | tail -n 1)
if [ "${example_rowcount}" -gt "1050" ]; then 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/root regions, and 1 for example's count record" 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"
else else
echo "ERROR: Only found ${example_rowcount} rows." echo "ERROR: Only found ${example_rowcount} rows."
fi fi