I was wondering how Spark deal with Java program calling some machine learing algorithm provided by MLlib. Do I need to download Spark Project ML Library? What's more, where is the source code of MLlib for Java API ? I can't find it in it's repository
Spark MLlib is written in Scala, you could directly use it. In repository it's here.
You could also check some examples here