Re: SPARK-18689: A proposal for priority based app scheduling utilizing linux cgroups.

2016-12-05 Thread Michal Šenkýř
Hello Travis, I am just a short-time member of this list but I can definitely see the benefit of using built-in OS resource management facilities to dynamically manage cluster resources on the node level in this manner. At our company we often fight for resources on our development cluster

Re: Can I add a new method to RDD class?

2016-12-05 Thread Michal Šenkýř
A simple Scala example of implicit classes: implicit class EnhancedString(str:String) { def prefix(prefix:String)= prefix+ str } println("World".prefix("Hello ")) As Tarun said, you have to import it if it's not in the same class where you use it. Hope this makes it clearer, Michal