Github user mridulm commented on the pull request:
https://github.com/apache/spark/pull/1212#issuecomment-48776662
s/not/now/ :-)
As in, to test the expected change in behavior for a specific host before
rack_local host gets added the schedules should be to ANY; and after making
rack local host is added, it becomes rack_local (with allowed levels reflecting
this).
This is to ensure that we do not regress on this behavior in future. The
modified test case does check this in part and is equivalent based on current
state of code : but would be good to have something which verifies this
concretely to future-proof it.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---