Hao Hao has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/9163


Change subject: [spark] enable scan locality by default
......................................................................

[spark] enable scan locality by default

Commit 3abca98c5 introduced support to take advantage of scan locality
in Spark integration, however this feature is not enabled by default.
This patch defaults scan locality to use closest replica. And if the
client configures to not to use the default, then only list leader
replica as the perferred location to schedule a task.

Change-Id: Ifc94e9ce52877a88f96a06599a8657da929b6126
---
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/KuduRDD.scala
2 files changed, 12 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/63/9163/1
--
To view, visit http://gerrit.cloudera.org:8080/9163
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifc94e9ce52877a88f96a06599a8657da929b6126
Gerrit-Change-Number: 9163
Gerrit-PatchSet: 1
Gerrit-Owner: Hao Hao <[email protected]>

Reply via email to