David Ribeiro Alves has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/8921 )

Change subject: KUDU-2249 give the TableRecordReader their own KuduClient to 
use.
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/8921/1/java/kudu-mapreduce/src/main/java/org/apache/kudu/mapreduce/KuduTableInputFormat.java
File 
java/kudu-mapreduce/src/main/java/org/apache/kudu/mapreduce/KuduTableInputFormat.java:

http://gerrit.cloudera.org:8080/#/c/8921/1/java/kudu-mapreduce/src/main/java/org/apache/kudu/mapreduce/KuduTableInputFormat.java@253
PS1, Line 253:   private KuduClient getKuduClient() {
             :
             :     String masterAddresses = conf.get(MASTER_ADDRESSES_KEY);
             :     this.operationTimeoutMs = 
conf.getLong(OPERATION_TIMEOUT_MS_KEY,
             :         AsyncKuduClient.DEFAULT_OPERATION_TIMEOUT_MS);
             :     KuduClient kuduClient = new 
KuduClient.KuduClientBuilder(masterAddresses)
             :         .defaultOperationTimeoutMs(operationTimeoutMs)
             :         .build();
             :     
KuduTableMapReduceUtil.importCredentialsFromCurrentSubject(kuduClient);
             :     return kuduClient;
             :   }
> Hi David,
Thanks for pointing out the discussion.
I'd still like to, at the very least, have a comment, on the commit message 
and/or on the code explaining: i) the rationale, in terms of how many new 
clients we can expect; ii) how this is not going to cause 10s or 100s of new 
clients to spawn, increasing the load on the master iii) or if it is, how there 
is no way to avoid it.



--
To view, visit http://gerrit.cloudera.org:8080/8921
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I24f45ee9253790c5348cabd0afe6c6a4b6d3f3d4
Gerrit-Change-Number: 8921
Gerrit-PatchSet: 1
Gerrit-Owner: Clemens Valiente <clemens.valie...@gmail.com>
Gerrit-Reviewer: Clemens Valiente <clemens.valie...@gmail.com>
Gerrit-Reviewer: David Ribeiro Alves <davidral...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Comment-Date: Thu, 04 Jan 2018 04:16:09 +0000
Gerrit-HasComments: Yes

Reply via email to