You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Clemens Valiente (Code Review)" <ge...@cloudera.org> on 2019/05/03 09:20:59 UTC

[kudu-CR] Throw exception on write error with kudu-mapreduce

Hello Kudu Jenkins, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/13228

to look at the new patch set (#4).

Change subject: Throw exception on write error with kudu-mapreduce
......................................................................

Throw exception on write error with kudu-mapreduce

The kudu-mapreduce package only logs write errors but doesn't act on them.
This can cause jobs appear to be successful despite not writing
a single successful row.
Since records are written asynchronously, we need to check for errors
during the write process, and once again when we close the kudu session.

Change-Id: I6db6a59104425c396fbbeb2105bf2c777cc348c7
---
M java/kudu-mapreduce/src/main/java/org/apache/kudu/mapreduce/KuduTableOutputFormat.java
M java/kudu-mapreduce/src/test/java/org/apache/kudu/mapreduce/ITKuduTableOutputFormat.java
2 files changed, 47 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/28/13228/4
-- 
To view, visit http://gerrit.cloudera.org:8080/13228
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I6db6a59104425c396fbbeb2105bf2c777cc348c7
Gerrit-Change-Number: 13228
Gerrit-PatchSet: 4
Gerrit-Owner: Clemens Valiente <cl...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins (120)