Merge pull request #34 from kayousterhout/rename

Renamed StandaloneX to CoarseGrainedX.

(as suggested by @rxin here https://github.com/apache/incubator-spark/pull/14)

The previous names were confusing because the components weren't just
used in Standalone mode.  The scheduler used for Standalone
mode is called SparkDeploySchedulerBackend, so referring to the base class
as StandaloneSchedulerBackend was misleading.

(cherry picked from commit 6dbd2208ffe1df0b2a871f7f18b08bd825f61001)
Signed-off-by: Reynold Xin <rxin@apache.org>
Merge pull request #65 from tgravescs/fixYarn

Fix yarn build

Fix the yarn build after renaming StandAloneX to CoarseGrainedX from pull request 34.

(cherry picked from commit f9973cae3aff39c29a2cdad5b54b7674d1126132)
Signed-off-by: Reynold Xin <rxin@apache.org>
Merge pull request #59 from rxin/warning

Bump up logging level to warning for failed tasks.

(cherry picked from commit 3249e0e90dd9a7b422f561c42407b6a2b3feab17)
Signed-off-by: Reynold Xin <rxin@apache.org>
Merge pull request #61 from kayousterhout/daemon_thread

Unified daemon thread pools

As requested by @mateiz in an earlier pull request, this refactors various daemon thread pools to use a set of methods in utils.scala, and also changes the thread-pool-creation methods in utils.scala to use named thread pools for improved debugging.

(cherry picked from commit 983b83f24da9f7f0251833b409cdcd37acae3d39)
Signed-off-by: Reynold Xin <rxin@apache.org>
Merge pull request #62 from harveyfeng/master

Make TaskContext's stageId publicly accessible.

(cherry picked from commit 4e46fde818a9b94960ab83fa6390952e2d5dd3e6)
Signed-off-by: Reynold Xin <rxin@apache.org>
Merge pull request #67 from kayousterhout/remove_tsl

Removed TaskSchedulerListener interface.

The interface was used only by the DAG scheduler (so it wasn't necessary
to define the additional interface), and the naming makes it very
confusing when reading the code (because "listener" was used
to describe the DAG scheduler, rather than SparkListeners, which
implement a nearly-identical interface but serve a different
function).

@mateiz - is there a reason for this interface that I'm missing?

(cherry picked from commit cf64f63f8a3b54dec37e991856260ac63f7e222e)
Signed-off-by: Reynold Xin <rxin@apache.org>
Merge pull request #69 from KarthikTunga/master

Fix for issue SPARK-627. Implementing --config argument in the scripts.

This code fix is for issue SPARK-627. I added code to consider --config arguments in the scripts. In case the  <conf-dir> is not a directory the scripts exit. I removed the --hosts argument. It can be achieved by giving a different config directory. Let me know if an explicit --hosts argument is required.

(cherry picked from commit fc26e5b8320556b9edb93741391b759813b4079b)
Signed-off-by: Reynold Xin <rxin@apache.org>