spark-instrumented-optimizer/core/src/test
erenavsarogullari 73e64f7d50 [SPARK-19662][SCHEDULER][TEST] Add Fair Scheduler Unit Test coverage for different build cases
## What changes were proposed in this pull request?
Fair Scheduler can be built via one of the following options:
- By setting a `spark.scheduler.allocation.file` property,
- By setting `fairscheduler.xml` into classpath.

These options are checked **in order** and fair-scheduler is built via first found option. If invalid path is found, `FileNotFoundException` will be expected.

This PR aims unit test coverage of these use cases and a minor documentation change has been added for second option(`fairscheduler.xml` into classpath) to inform the users.

Also, this PR was related with #16813 and has been created separately to keep patch content as isolated and to help the reviewers.

## How was this patch tested?
Added new Unit Tests.

Author: erenavsarogullari <erenavsarogullari@gmail.com>

Closes #16992 from erenavsarogullari/SPARK-19662.
2017-08-28 14:54:00 -05:00
..
java [MINOR][BUILD] Fix build warnings and Java lint errors 2017-08-25 16:07:13 +01:00
resources [SPARK-19662][SCHEDULER][TEST] Add Fair Scheduler Unit Test coverage for different build cases 2017-08-28 14:54:00 -05:00
scala/org/apache [SPARK-19662][SCHEDULER][TEST] Add Fair Scheduler Unit Test coverage for different build cases 2017-08-28 14:54:00 -05:00