Dan Burkert has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/8560 )

Change subject: KUDU-1454 [part 2]: enable scan locality for Spark
......................................................................

KUDU-1454 [part 2]: enable scan locality for Spark

This patch provides support to take advantage of scan locality in Spark
integration, so that the scan will take place at the closet replica. It
also uses READ_AT_SNAPSHOT read mode without setting a timestamp to
ensure the consistency for these scans.

Change-Id: I5f0ea53c2c15ca05da141ff1763018854b84fcea
Reviewed-on: http://gerrit.cloudera.org:8080/8560
Tested-by: Kudu Jenkins
Reviewed-by: Dan Burkert <[email protected]>
---
M java/kudu-spark/src/main/scala/org/apache/kudu/spark/kudu/DefaultSource.scala
M java/kudu-spark/src/main/scala/org/apache/kudu/spark/kudu/KuduContext.scala
M java/kudu-spark/src/main/scala/org/apache/kudu/spark/kudu/KuduRDD.scala
M 
java/kudu-spark/src/test/scala/org/apache/kudu/spark/kudu/DefaultSourceTest.scala
4 files changed, 47 insertions(+), 6 deletions(-)

Approvals:
  Kudu Jenkins: Verified
  Dan Burkert: Looks good to me, approved

--
To view, visit http://gerrit.cloudera.org:8080/8560
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I5f0ea53c2c15ca05da141ff1763018854b84fcea
Gerrit-Change-Number: 8560
Gerrit-PatchSet: 3
Gerrit-Owner: Hao Hao <[email protected]>
Gerrit-Reviewer: Dan Burkert <[email protected]>
Gerrit-Reviewer: Hao Hao <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Todd Lipcon <[email protected]>

Reply via email to