Hi, BindException comes when two processes are using the same port. In your spark configuration just set ("spark.ui.port","xxxxx"), to some other port. xxxxx can be any number say 12345. BindException will not break your job in either case. Just to fix it change the port number.
Thanks. On Fri, Nov 28, 2014 at 1:30 PM, pamtang [via Apache Spark User List] < ml-node+s1001560n1999...@n3.nabble.com> wrote: > I'm seeing the same issue on CDH 5.2 with Spark 1.1. FlumeEventCount works > fine on a Standalone cluster but throw BindException on YARN mode. Is there > a solution to this problem or FlumeInputDStream will not be working in a > cluster environment? > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://apache-spark-user-list.1001560.n3.nabble.com/How-to-use-FlumeInputDStream-in-spark-cluster-tp1604p19997.html > To start a new topic under Apache Spark User List, email > ml-node+s1001560n1...@n3.nabble.com > To unsubscribe from Apache Spark User List, click here > <http://apache-spark-user-list.1001560.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=cHJhbm5veUBzaWdtb2lkYW5hbHl0aWNzLmNvbXwxfC0xNTI2NTg4NjQ2> > . > NAML > <http://apache-spark-user-list.1001560.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.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-user-list.1001560.n3.nabble.com/How-to-use-FlumeInputDStream-in-spark-cluster-tp1604p19999.html Sent from the Apache Spark User List mailing list archive at Nabble.com.