Provide Listen Address as Preferred Location in Spark 1.3

Description

This does NOT effect connector < 1.3.0

As we remove the thrift dependency we no longer have a direct avenue to attach information about the Listen Ip from Cassandra. This causes a problem for all C* clusters whose broadcast address is not the same as the listen address. The Spark Scheduler uses a direct string comparison to determine whether the preferredLocation string matches the bound spark interface. So if we don't know the correct bind address we will be unable to give data locality information to spark.

Pull Requests

None

Assignee

Jacek Lewandowski

Reporter

Russell Spitzer

Labels

None

Reviewer

None

Reviewer 2

None

Tester

None

Pull Request

None

Components

Affects versions

Priority

Critical
Configure