Hello Dan Burkert, Alexey Serbin,
I'd like you to do a code review. Please visit
http://gerrit.cloudera.org:8080/6081
to review the following change.
Change subject: spark: support serializing authentication data to tasks
......................................................................
spark: support serializing authentication data to tasks
This changes the serialization of KuduContext to export the
authentication data and then re-import it upon deserialization.
I tested this in a secure cluster and was able to run Spark jobs after
the change.
Adding automated testing of this beyond the included unit test would be
a good idea, but I think doing it in a follow-on would be nice to
unblock cluster testing in the meantime.
Change-Id: I7be2c72eb801c3ee10e576ce8705c3b5997dffd9
---
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, 50 insertions(+), 2 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/81/6081/1
--
To view, visit http://gerrit.cloudera.org:8080/6081
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7be2c72eb801c3ee10e576ce8705c3b5997dffd9
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Dan Burkert <[email protected]>