Hao Hao has submitted this change and it was merged. ( 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 Reviewed-on: http://gerrit.cloudera.org:8080/9163 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/KuduRDD.scala 2 files changed, 12 insertions(+), 4 deletions(-) Approvals: Kudu Jenkins: Verified Dan Burkert: Looks good to me, approved -- 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: merged Gerrit-Change-Id: Ifc94e9ce52877a88f96a06599a8657da929b6126 Gerrit-Change-Number: 9163 Gerrit-PatchSet: 2 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]>
