diff options
Diffstat (limited to 'core/src/main/scala/spark/deploy/ApplicationDescription.scala')
-rw-r--r-- | core/src/main/scala/spark/deploy/ApplicationDescription.scala | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/core/src/main/scala/spark/deploy/ApplicationDescription.scala b/core/src/main/scala/spark/deploy/ApplicationDescription.scala new file mode 100644 index 0000000000..6659e53b25 --- /dev/null +++ b/core/src/main/scala/spark/deploy/ApplicationDescription.scala @@ -0,0 +1,14 @@ +package spark.deploy + +private[spark] class ApplicationDescription( + val name: String, + val cores: Int, + val memoryPerSlave: Int, + val command: Command, + val sparkHome: String) + extends Serializable { + + val user = System.getProperty("user.name", "<unknown>") + + override def toString: String = "ApplicationDescription(" + name + ")" +} |