Yanbo thank you for your reply. So you are saying that this is a bug in the Spark UI in general, and not in the local Spark UI of our cluster, where I work, right?
George On Mon, Aug 29, 2016 at 11:55 PM, Yanbo Liang-2 [via Apache Spark Developers List] <ml-node+s1001551n18768...@n3.nabble.com> wrote: > I run KMeans with probes and found that takeSample() was called only once > actually. It looks like this issue was caused by mistake display at Spark > UI. > > Thanks > Yanbo > > On Mon, Aug 29, 2016 at 2:34 PM, gsamaras <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=18768&i=0>> wrote: > >> After reading the internal code of Spark about it, I wasn't able to >> understand why it calls takeSample() twice? Can someone please explain? >> >> There is a relevant StackOverflow question >> <http://stackoverflow.com/questions/38986395/sparkkmeans- >> calls-takesample-twice> >> . >> >> >> >> -- >> View this message in context: http://apache-spark-developers >> -list.1001551.n3.nabble.com/KMeans-calls-takeSample-twice-tp18761.html >> Sent from the Apache Spark Developers List mailing list archive at >> Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe e-mail: [hidden email] >> <http:///user/SendEmail.jtp?type=node&node=18768&i=1> >> >> > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://apache-spark-developers-list.1001551.n3.nabble.com/KMeans-calls- > takeSample-twice-tp18761p18768.html > To unsubscribe from KMeans calls takeSample() twice?, click here > <http://apache-spark-developers-list.1001551.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=18761&code=Z2VvcmdlU2FtYXJhc0RJVEBnbWFpbC5jb218MTg3NjF8LTE1MTg1NDIwOQ==> > . > NAML > <http://apache-spark-developers-list.1001551.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://apache-spark-developers-list.1001551.n3.nabble.com/KMeans-calls-takeSample-twice-tp18761p18786.html Sent from the Apache Spark Developers List mailing list archive at Nabble.com.