[nitpick] ReadExampleCallable use readConnection

This commit is contained in:
shopee-jin 2021-02-20 16:28:08 +08:00 committed by GitHub
parent ed90a14995
commit 55cd146a75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ public class MultiThreadedClientExample extends Configured implements Tool {
} else if (r < .50) {
f = internalPool.submit(new SingleWriteExampleCallable(writeConnection, tableName));
} else {
f = internalPool.submit(new ReadExampleCallable(writeConnection, tableName));
f = internalPool.submit(new ReadExampleCallable(readConnection, tableName));
}
futures.add(f);
}