Hello Dan Burkert, Kudu Jenkins,

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

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

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

Change subject: KUDU-2254: Detect and warn about misusage of KuduContext
......................................................................

KUDU-2254: Detect and warn about misusage of KuduContext

Since KuduContext carries a bunch of information for client connection,
such as authentication token, KuduContext should be created in the
driver and shared with executors. It would be great to provide a way
to warn users (e.g Logging) about such behavior since this kind of
issues are very subtle to detect.

This patch adds logic to detect and warn about this kind of misusage of
KuduContecx based on TaskContext information. A corresponding unit test
is also added.

Change-Id: I65a7cd11a14fa8a668079b0d1fcf6ed3a34fb652
---
M java/kudu-spark/src/main/scala/org/apache/kudu/spark/kudu/KuduContext.scala
M 
java/kudu-spark/src/test/scala/org/apache/kudu/spark/kudu/KuduContextTest.scala
2 files changed, 42 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/04/9004/2
--
To view, visit http://gerrit.cloudera.org:8080/9004
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I65a7cd11a14fa8a668079b0d1fcf6ed3a34fb652
Gerrit-Change-Number: 9004
Gerrit-PatchSet: 2
Gerrit-Owner: Hao Hao <hao....@cloudera.com>
Gerrit-Reviewer: Dan Burkert <danburk...@apache.org>
Gerrit-Reviewer: Kudu Jenkins

Reply via email to