Jean-Daniel Cryans has posted comments on this change.

Change subject: kudu client tools for hadoop and spark 
import/export(csv,parquet,avro)
......................................................................


Patch Set 3:

(3 comments)

http://gerrit.cloudera.org:8080/#/c/7421/3/java/kudu-client-tools/src/main/java/org/apache/kudu/mapreduce/tools/ImportParquet.java
File 
java/kudu-client-tools/src/main/java/org/apache/kudu/mapreduce/tools/ImportParquet.java:

Line 56:   private static final Log LOG = Log.getLog(ImportParquet.class);
I just noticed, you shouldn't use this Log that comes from Parquet. It's best 
to use System.err.println like ImportCsv does.


Line 101:         System.exit(0);
> what should I use instead of system.exit(0). just LOG.error("") enough??
I'd suggestion throwing an exception and catching it in run() below.


http://gerrit.cloudera.org:8080/#/c/7421/3/java/kudu-client-tools/src/test/java/org/apache/kudu/mapreduce/tools/ITImportParquet.java
File 
java/kudu-client-tools/src/test/java/org/apache/kudu/mapreduce/tools/ITImportParquet.java:

Line 50: public class ITImportParquet extends BaseKuduTest {
> separate test-case for pre-flight checks? and what should be the expected r
The goal is to test all the major code paths, right now your patch isn't 
testing error cases.


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

Gerrit-MessageType: comment
Gerrit-Change-Id: If462af948651f3869b444e82151c3559fde19142
Gerrit-PatchSet: 3
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Sandish Kumar HN <[email protected]>
Gerrit-Reviewer: Jean-Daniel Cryans <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Sandish Kumar HN <[email protected]>
Gerrit-HasComments: Yes

Reply via email to