[c++ client] temporary fix for KUDU-1688 KUDU-1688 Impala 'INSERT IGNORE' is slow due to VLOG(1) logging in client
Increased level for verbose log messages on per-row errors output by batcher. Change-Id: I61f039e94df130c225e0bb6a07f86200426c470a Reviewed-on: http://gerrit.cloudera.org:8080/5067 Reviewed-by: Todd Lipcon <[email protected]> Tested-by: Kudu Jenkins Project: http://git-wip-us.apache.org/repos/asf/kudu/repo Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/08fb45fb Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/08fb45fb Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/08fb45fb Branch: refs/heads/master Commit: 08fb45fb37b0d991b1090d82b4e7b574088b5472 Parents: ff0bbbc Author: Alexey Serbin <[email protected]> Authored: Mon Nov 14 08:58:29 2016 -0800 Committer: Alexey Serbin <[email protected]> Committed: Mon Nov 14 18:21:24 2016 +0000 ---------------------------------------------------------------------- src/kudu/client/batcher.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kudu/blob/08fb45fb/src/kudu/client/batcher.cc ---------------------------------------------------------------------- diff --git a/src/kudu/client/batcher.cc b/src/kudu/client/batcher.cc index 9b65984..61ff087 100644 --- a/src/kudu/client/batcher.cc +++ b/src/kudu/client/batcher.cc @@ -734,7 +734,7 @@ void Batcher::ProcessWriteResponse(const WriteRpc& rpc, continue; } gscoped_ptr<KuduWriteOperation> op = std::move(rpc.ops()[err_pb.row_index()]->write_op); - VLOG(1) << "Error on op " << op->ToString() << ": " + VLOG(2) << "Error on op " << op->ToString() << ": " << err_pb.error().ShortDebugString(); Status op_status = StatusFromPB(err_pb.error()); gscoped_ptr<KuduError> error(new KuduError(op.release(), op_status));
