Skip to content
Snippets Groups Projects
Commit b3fca37a authored by Jean-Daniel Cryans's avatar Jean-Daniel Cryans
Browse files

[kudu] Bump the default admin timeout

The default 10s timeout can be too low when creating large tables on
slow devices. This patch just uses the already-defined default of
60s for that operation.
parent e21b87f9
No related branches found
No related tags found
No related merge requests found
......@@ -134,7 +134,8 @@ public class KuduYCSBClient extends com.yahoo.ycsb.DB {
client = new KuduClient.KuduClientBuilder(masterAddresses)
.defaultSocketReadTimeoutMs(DEFAULT_SLEEP)
.defaultOperationTimeoutMs(DEFAULT_SLEEP).build();
.defaultOperationTimeoutMs(DEFAULT_SLEEP)
.defaultAdminOperationTimeoutMs(DEFAULT_SLEEP).build();
if (debug) {
System.out.println("Connecting to the masters at " + masterAddresses);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment