Hao Hao has uploaded this change for review. ( http://gerrit.cloudera.org:8080/8382
Change subject: [java client] imporve AsyncKuduScanner logging ...................................................................... [java client] imporve AsyncKuduScanner logging As filed in KUDU-2199, in a jenkin's job build, ITClient test failed even with fault tolerant scanner. The test log demonstrates that the issue may cause by re-scan of scanned data. However, loop ITClient 10000 times and did not discover any issues: http://dist-test.cloudera.org/job?job_id=hao.hao.1508869382.32617 This patch improves test coverage of ITClient so that error will be reported if row count of each scan ever unexpectedly decrease. It also improves logging of AsyncKuduScanner to give more information for diagnosis if the same issue occur again. Another 2000 runs of ITClient with current patch passed: http://dist-test.cloudera.org/job?job_id=hao.hao.1508955740.12232 Change-Id: I90ffcd01e7f99f3090fa118092fc303e06fb92dc --- M java/kudu-client/src/main/java/org/apache/kudu/client/AsyncKuduScanner.java M java/kudu-client/src/test/java/org/apache/kudu/client/ITClient.java 2 files changed, 22 insertions(+), 8 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/82/8382/1 -- To view, visit http://gerrit.cloudera.org:8080/8382 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I90ffcd01e7f99f3090fa118092fc303e06fb92dc Gerrit-Change-Number: 8382 Gerrit-PatchSet: 1 Gerrit-Owner: Hao Hao <[email protected]>
