Hi All, Does rdd.collect() call works for Client mode but not for cluster mode? If so, is there way for the Application to know which mode it is running in? It looks like for cluster mode we don't need to call rdd.collect() instead we can just call rdd.first() or whatever
Thanks!