title: what is the difference between spark javardd methods collect() & collectAsync()?
body: <p>I am exploring the spark 2.0 java api and have a doubt regarding <code>collect()</code> &amp; <code>collectAsync()</code> available for javardd.</p>