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 11:58:34 +08:00
parent 04e5bf96d8
commit ab99e2486e
1 changed files with 2 additions and 2 deletions

View File

@ -518,8 +518,8 @@ EOF
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)
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"
if [ "${example_rowcount}" -gt "1049" ]; then
echo "Found ${example_rowcount} rows, which is enough to cover 48 for import, 1000 example's use of user table regions, 1 for example's use of meta region, and 1 for example's count record"
else
echo "ERROR: Only found ${example_rowcount} rows."
fi